Usage
Your organization's spend and request counts across every product.
GET
/v1/usageOn this page
Price
Pricerequest
Free.
Description
Every billed request: crawls, map, searches (native and the SERP API routes), Pages, AI, Business, Ads, audits and visibility runs. Amounts are what you were charged. All-time unless from / to narrow it. Free.
Request
- Endpoint
- GET https://api.dataforgaio.com/v1/usage
- Authentication
- HTTP Basic auth: any login, with your
dg_API key as the password. ABearerheader with the key also works. Create a key. - Body
- No request body
Fields
- First day to count, YYYY-MM-DD (UTC), inclusive.Example
2026-11-01 - Last day to count, YYYY-MM-DD (UTC), inclusive.Example
2026-11-30
Response
Shape: Native. Expand a field to see its children; every field has a link anchor.
- statusstringAlways
ok.Exampleok - currencystringAlways
USD.ExampleUSD - fromstring|nullThe
fromyou sent, or null.Example2026-11-01 - tostring|nullThe
toyou sent, or null.Example2026-11-30 - costnumberTotal spend, USD.Example
0.79036 - unitsobjectCounts.
Show 6 child fieldsHide child fields
- crawl_tasksintegerCrawl tasks run.Example
1840 - crawl_pages_billedintegerCrawl tasks that were billed.Example
1795 - serp_requestsintegerSearches run (native and SERP API routes).Example
520 - serp_requests_billedintegerSearches that were billed.Example
514 - requestsintegerRequests of every product.Example
2385 - requests_billedintegerRequests of every product that were billed.Example
2334
- spendobjectSpend by product group.
- productsarray<object>Requests and spend per product and mode.
Show 5 child fieldsHide child fields
- productstringProduct key, for example
serp.google.organicorcrawl_job.Exampleai.chat_gpt.llm_responses - modestring|null
live,standard,priority, or null.Examplelive - requestsintegerRequests.Example
25 - requests_billedintegerRequests that were billed.Example
25 - charged_usdnumberCharged, USD.Example
0.0915
- total_crawl_jobsintegerSame as
units.crawl_tasks. Kept for older clients.Example1840 - total_cost_usdstringSame as
cost, as a decimal string. Kept for older clients.Example0.79036
Errors
| Code | When |
|---|---|
| invalid_request | HTTP 400. from or to isn't a YYYY-MM-DD date, or from is after to. |
| unauthorized | HTTP 401. Missing, malformed or revoked API key. |
| rate_limited | HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor Retry-After. |
Tasks that end in an error are not billed. All status codes