Skip to main content

v0/endpoints/{id}/method-rate-limits REST API Endpoint

Creates a method rate limit per client IP or for the endpoint as a whole.

Updated on
Oct 01, 2026

Path Parameters

id
string
REQUIRED

The unique identifier for the specific endpoint

Body Parameters

interval
string
REQUIRED

Specifies the time interval for the rate limit; valid values include second, minute or hour

methods
array
REQUIRED

An array of method names to which the rate limiter applies

rate
integer
REQUIRED

Specifies the maximum number of requests allowed for the specified methods within the defined interval

limit_by_ip
boolean

Set to true to apply the rate separately to each client IP. Set to false or omit this field to apply the rate to the endpoint as a whole (the existing behavior).

Returns

data
object

The data object which contains the following fields:

id
string

A unique identifier for the rate limiter

interval
string

The time interval for the rate limit

methods
array

A list of methods the rate limiter applies to

limit_by_ip
boolean

Whether the rate limit applies separately to each client IP (true) or to the endpoint as a whole (false)

rate
integer

The maximum number of requests allowed within the specified interval

status
string

The current status of the rate limiter

created
string

The timestamp when the rate limiter was created 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