Skip to main content

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

Retrieves usage data by method.

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. For periods longer than a week, times are rounded down to midnight UTC for performance optimization.

end_time
integer

Specifies the end of the time period for which the usage data is to be retrieved. For periods longer than a week, times are rounded down to midnight UTC for performance optimization.

Returns

data
object

The data object which contains the following fields:

methods
array

An array of method calls and their corresponding credit usage

method_name
string

The name of the method called. Streaming methods such as /geyser.geyser/subscribe also appear here with the data they transfer

credits_used
integer

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

bytes
integer

The number of data bytes transferred by the method (for streaming methods such as /geyser.geyser/subscribe)

archive
boolean

Indicates whether the request used archived data

start_time
integer

The start timestamp for the data in second

end_time
integer

The end timestamp for the data 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