Skip to main content
GET
Usage by tool

Request

range is 1d, 7d or 30d, or custom with startDate and endDate (YYYY-MM-DD, up to 90 days apart).

Response

One row per day, shortened to two:
Batch scrapes count under scrapeCredits. Totals across every tool are in Usage stats.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

range
enum<string>

The period. custom needs startDate and endDate.

Available options:
1d,
7d,
30d,
custom
startDate
string<date>

With range=custom: the first day (YYYY-MM-DD).

endDate
string<date>

With range=custom: the last day, up to 90 days after startDate.

Response

200 - application/json

One row per day.

status
enum<string>
Available options:
success
data
object[]