Skip to main content
GET
/
v1
/
usage
Get usage statistics
curl --request GET \
  --url https://api.compresto.app/v1/usage \
  --header 'X-API-Key: <api-key>'
{
  "plan": "free",
  "usage": {
    "current": 123,
    "limit": 123,
    "resetAt": "2023-11-07T05:31:56Z"
  },
  "totals": {
    "bytesIn": 123,
    "bytesOut": 123,
    "savedBytes": 123,
    "savedPercent": 123
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://compresto.app/dashboard

Response

Usage statistics

plan
enum<string>
required

Current subscription tier

Available options:
free,
pro,
business
usage
object
required
totals
object
required