v1

latestOpenAPI 3.1.02026-07-1288262495.0 KB
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

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

aggregateDurationstring required

Duration in which the metrics value is aggregated

chainIdstring required

ChainId for which the metrics are aggregated