Skip to main content

v0/usage/rpc/by-chain REST API Endpoint

Retrieves usage data by chain.

Updated on
Jun 26, 2026

Query Parameters

start_time
integer

Specifies the start of the time period for which the usage data is to be retrieved

end_time
integer

Specifies the end of the time period for which the usage data is to be retrieved

Returns

data
object

The data object which contains the following fields:

chains
array

An array of blockchains and their corresponding credit usage

name
string

The name of the blockchain

credits_used
integer

The number of credits used by the specified blockchain (RPC credits and data credits combined)

rpc_credits
integer

The portion of credits_used consumed by RPC requests

data_credits
integer

The portion of credits_used consumed by data usage, such as Streams and Yellowstone gRPC bytes transferred

bytes
integer

The total number of data bytes transferred on the specified blockchain (for example, Streams and Yellowstone gRPC data). Contributes to data_credits

start_time
integer

The start timestamp for the data in second in second

end_time
integer

The end timestamp for the data in second in second

error
string

A field containing an error message if any issue occurs

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free