Get usage data
Returns customer-scoped usage aggregates. Supports filtering by time range, chain, API key, grouping, and granularity. By default returns summary and balance.
Query parameters
Start time (RFC3339). Defaults to 30 days ago.
End time (RFC3339). Defaults to now.
Comma-separated list of sections to include. Options: summary, balance, by_chain, by_api_key, by_api_key_chain, top_methods, time_series, by_scenario. Default: summary,balance.
Group usage by a dimension. Options: chain, api_key, api_key,chain, method, day.
Time bucket size. Options: day, hour. Default: day.
Filter by chain ID (e.g. 1, 137, 8453).
Filter by API key numeric ID (found in list response).
Maximum number of rows returned (default and max depend on config).
Response
Usage data
Changes
Changed in 2 of the 14 revisions of this API.11
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲