API reference
API usage
Request volume, error rate and latency for your own API traffic.
BrowseAPI usage
Get API usage for your account or one key
GET/
- Access
- API key. Scoped keys need
account:read. - Rate limit
- 100 requests per second (the default)
Request volume, error rate, p95 latency, per-day counts and top endpoints over a trailing window (default 7 days, max 90). Pass keyId to see one API key; omit it for all traffic including dashboard sessions.
Parameters
daysquery · integer
Trailing window in days (1-90)Default 7keyIdquery · string (uuid)
Only requests made with this API key (one of yours)
Response 200
datarequiredobject
totalRequestsrequiredinteger · data.totalRequests
errorRaterequirednumber · data.errorRate
Fraction of requests answered 4xx/5xx, 0 to 1p95LatencyMsrequiredinteger · data.p95LatencyMs
byDayrequiredobject[] · data.byDay
daterequiredstring · data.byDay[].date
YYYY-MM-DD (UTC)countrequiredinteger · data.byDay[].count
errorsrequiredinteger · data.byDay[].errors
topEndpointsrequiredobject[] · data.topEndpoints
pathrequiredstring · data.topEndpoints[].path
Route pattern, e.g. /api/v1/routes/:idcountrequiredinteger · data.topEndpoints[].count
keyIdrequiredstring (uuid) | null · data.keyId
The key the figures are filtered to, or null for all traffic
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.