GET /v1/usage
Returns current-period usage and quota for the authenticated tenant.
The period is the current calendar month (YYYY-MM). Counters reset at the start of each month.
Request
GET /v1/usage
x-api-key: YOUR_KEYNo request body.
Example request
curl https://api.superscraper.dev/v1/usage \
-H "x-api-key: ss_live_xxxxxxxxxxxxxxxxxxxx"Response
HTTP 200 on success.
Body
| Field | Type | Description |
|---|---|---|
plan | string | Current plan id. The stored ids are free, starter (Hobby), pro, business (Scale) and enterprise. |
pages_scraped | number | Pages scraped in the current period |
pages_quota | number | Monthly page scrape quota for this plan |
llm_extractions | number | LLM-powered extractions used in the current period |
extract_quota | number | Monthly LLM extraction quota for this plan |
year_month | string | Current period in YYYY-MM format |
credits.state | string | Whether this period's plan grant landed: ok, grant_pending, grant_failed, reconciling or unavailable |
credits.period | string | The period credits.state describes (YYYY-MM) |
credits.prior_periods_unresolved | boolean | true when an earlier period still has an unresolved grant |
Example response
{
"plan": "pro",
"pages_scraped": 14823,
"pages_quota": 100000,
"llm_extractions": 412,
"extract_quota": 5000,
"year_month": "2026-06",
"credits": { "state": "ok", "period": "2026-06", "prior_periods_unresolved": false }
}Example response: new account (no usage yet)
{
"plan": "free",
"pages_scraped": 0,
"pages_quota": 1000,
"llm_extractions": 0,
"extract_quota": 50,
"year_month": "2026-06",
"credits": { "state": "ok", "period": "2026-06", "prior_periods_unresolved": false }
}pages_quota and extract_quota are read from your account, not from a fixed table. See Pricing for the credit allotments per plan.
Errors
| Status | Error | Cause |
|---|---|---|
| 401 | API key required. Pass via x-api-key header. or Invalid or revoked API key. | Missing, or invalid, x-api-key header |
| 404 | Tenant not found | Authenticated account does not exist |
| 503 | usage_unavailable | Usage could not be read just now. Retry shortly. The API never reports a made-up zero. |
| 500 | Internal server error | Unexpected error |
Notes
- Counters are updated as requests complete.
- The response does not include what a request cost us to serve.
- This endpoint is also available at
GET /v1/billing/usage(same implementation).