Skip to content
scrapeatlas.Dashboard

Get account usage

Try in Playground

Return daily UTC request and error totals by platform for the authenticated account. Choose a period with days. Accepts a customer API key or first-party dashboard session.

GET/v1/usagex-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
1
daysintegerdefault: 30query

Number of UTC calendar days including today, 1–30.

default: 30 · 1 – 30

Example7
Response fields
14
successboolean

True when analytics were queried successfully.

statusstring

partial when usable counts are available. A sink or authentication outage is a failure, not an empty success.

requestIdstring

Gateway request correlation UUID.

Reports best_effort_usage and ingestion_delay.

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

days and rows of day, platform, requests, errors and duration_ms_sum.

data.daysinteger

Always included.

1 – 30

Always included.

up to 2048 items

data.rows.daystring

Always included.

data.rows.platformstring

Always included.

data.rows.requestsinteger

Always included.

-9007199254740991 – 9007199254740991

data.rows.errorsinteger

Always included.

-9007199254740991 – 9007199254740991

data.rows.duration_ms_sumnumber

Always included.

≥ 0

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
4
HTTPfailure.codeMeaning
400invalid_requestInvalid, duplicate or unknown parameter
401unauthorizedMissing or invalid session/customer key
429busyAccount analytics query limit
503busyAnalytics or authentication unavailable, or global admission full