Skip to main content

GET /v1/usage

Returns today's UTC request count and daily limit per endpoint bucket for the authenticated account.

Authentication

Accepts either header — no API key required if you have a JWT:

  • X-API-Key: scrf_your_key
  • Authorization: Bearer <jwt>

This endpoint does not consume any quota bucket.

Response

{
"date": "2026-04-15",
"tier": "pro",
"endpoints": {
"svg": { "used": 142, "limit": 2000 },
"png": { "used": 0, "limit": 2000 },
"webp": { "used": 0, "limit": 2000 },
"catalog": { "used": 89, "limit": 2000 },
"search": { "used": 12, "limit": 300 },
"domain": { "used": 3, "limit": 300 },
"batch": { "used": 1, "limit": 2000 }
}
}
FieldTypeDescription
datestringUTC date YYYY-MM-DD
tierstringfree, pro, enterprise, or internal
endpointsobjectBucket name → { used, limit }
usedintegerRequests made today on this bucket
limitinteger | nullDaily cap. null = unlimited

Endpoint buckets

BucketEndpoint
svgGET /v1/svg/{slug}
pngGET /v1/png/{slug}
webpGET /v1/webp/{slug}
catalogGET /v1/catalog/{slug}
searchGET /v1/search
domainGET /v1/brand
batchPOST /v1/catalog/batch

Errors

StatusCodeReason
401invalid_api_keyMissing or invalid credentials
500internal_errorValkey read failure