Data API Usage Metrics
Get usage metrics for the Subnet RPC
Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
get/v1/subnetRpcUsageMetrics
Request
- Base URL: https://data-api.avax.network
- URL: https://data-api.avax.network/v1/subnetRpcUsageMetrics
- Auth: one of:
- API key in header x-glacier-api-key
- none
Query parameters
timeInterval'hourly' | 'daily' | 'weekly' | 'monthly'
Time interval granularity for data aggregation for subnet rpc metrics
startTimestampinteger
The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
endTimestampinteger
The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
groupBy'rpcMethod' | 'responseCode' | 'rlBypassToken'
Query param for the criterion used for grouping metrics
chainIdstring
Filter data by chain ID.
responseCodestring
Filter data by response status code.
rpcMethodstring
Filter data by RPC method.
rlBypassApiTokenstring
Filter data by Rl Bypass API Token.
Response
Successful response
Changes
No recorded changes to this operation across all 3 revisions of this API.