Inspect current API usage without spending primary request quota
Changed onReturns the authenticated caller sliding-window request budget, UTC-day usage and monthly quota. This control-plane endpoint remains available for a valid credential after paid data access lapses and does not increment the primary Redis rate-limit counter, monthly quota or API usage table; it shares a separate 100 reads/minute per-user inspection bucket with GET /api/v1/me. UTC-day totals use finalized quarter-hour rollups plus the disjoint raw interval through request time; unavailable rollup progress returns an error.
Request
- Base URLhttps://api.0xinsider.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://0xinsider.com/oauth/authorizeToken URLhttps://api.0xinsider.com/oauth/tokenScopesusage
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Opt into strict query-name validation. The default is compatible: unknown names are ignored and reported in X-Query-Ignored. With strict, an unknown name returns 400 bad_request with error.reason unknown_query_parameter before the handler runs, including when its percent escape is incomplete.
Response
Usage budget and counters for the authenticated API key owner.
Example response
{
"data": {
"rate_limit": {
"used": 7,
"limit": 100,
"remaining": 93,
"reset_at": 1710772860,
"window_seconds": 60
},
"daily_usage": {
"used": 42,
"reset_at": 1710806400,
"window_seconds": 86400
},
"monthly_quota": {
"used": 41230,
"limit": 250000,
"remaining": 208770,
"reset_at": 1793491200,
"enforced_from": 1790812800,
"ceiling": 250000
}
}
}Changes
- warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning
- warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status
- warning