More endpoints
GET /v1/usage

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_KEY

No request body.

Example request

curl https://api.superscraper.dev/v1/usage \
  -H "x-api-key: ss_live_xxxxxxxxxxxxxxxxxxxx"

Response

HTTP 200 on success.

Body

FieldTypeDescription
planstringCurrent plan id. The stored ids are free, starter (Hobby), pro, business (Scale) and enterprise.
pages_scrapednumberPages scraped in the current period
pages_quotanumberMonthly page scrape quota for this plan
llm_extractionsnumberLLM-powered extractions used in the current period
extract_quotanumberMonthly LLM extraction quota for this plan
year_monthstringCurrent period in YYYY-MM format
credits.statestringWhether this period's plan grant landed: ok, grant_pending, grant_failed, reconciling or unavailable
credits.periodstringThe period credits.state describes (YYYY-MM)
credits.prior_periods_unresolvedbooleantrue 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

StatusErrorCause
401API key required. Pass via x-api-key header. or Invalid or revoked API key.Missing, or invalid, x-api-key header
404Tenant not foundAuthenticated account does not exist
503usage_unavailableUsage could not be read just now. Retry shortly. The API never reports a made-up zero.
500Internal server errorUnexpected 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).