Skip to main content

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

Updates endpoint rate limits. Only rate limits specified in the payload are updated; omitted rate limits remain unchanged. Set limit_by_ip to apply the endpoint rate limits to each client IP address. The response returns the effective endpoint-level limits as a flat limits object.

Updated on
Oct 29, 2026

Path Parameters

id
string
REQUIRED

The unique identifier for the specific endpoint

Body Parameters

rate_limits
object

Contains the rate limit configurations that you want to update. Required unless limit_by_ip is present

rps
integer

Specifies the maximum number of requests allowed per second

rpd
integer

Specifies the maximum number of requests allowed per day

rpm
integer

Specifies the maximum number of requests allowed per minute

limit_by_ip
boolean

Set to true to apply the endpoint rate limits to each client IP address, or false to apply them to the endpoint as a whole. Omit to keep the current setting

Returns

data
object

The data object which contains the following fields:

limits
object

The limits object which contains the following fields:

rps
integer

The maximum number of requests allowed per second. A value of -1 indicates that no endpoint-level override is set for this bucket.

rpd
integer

The maximum number of requests allowed per day. A value of -1 indicates that no endpoint-level override is set for this bucket.

rpm
integer

The maximum number of requests allowed per minute. A value of -1 indicates that no endpoint-level override is set for this bucket.

limit_by_ip
boolean

Whether the endpoint rate limits apply to each client IP address

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