Rate limits
Rate limiting is a token bucket per account. This page explains how it refills, how batches count, how large one response can be, and how to handle a 429 correctly.
Limits by plan
| Plan | Sustained | Burst capacity |
|---|---|---|
| Free | 10 RPC method calls/s | 50 calls |
| Builder | 120 RPC method calls/s | 600 calls |
| Solid | 500 RPC method calls/s | 2,500 calls |
| Rocksolid | 4,000 RPC method calls/s | 20,000 calls |
| Enterprise | Custom | Custom |
PAYG is not part of the fixed-plan catalog above. Its default account-wide limit is 300 JSON-RPC method calls/s with burst capacity 1,500. The authenticated Billing page is authoritative for a customer-specific override. Every API key shares the same account bucket. Adding keys never adds throughput.
On activated paid/PAYG WebSocket networks, pushed heads consume this same ceiling alongside HTTP and WS calls: one token and one response unit per notification written. Account limits are 100 sockets and 100 subscriptions across replicas, with 10 subscriptions per socket. Slow readers and sustained exhaustion cause explicit disconnection, so reconnect and reconcile missed blocks. See WebSocket limits and recovery.
How the limiter works
The bucket is per account, not per API key, creating more keys does not add throughput. Every key on your account draws from the same bucket, across all chains combined.
An advanced API key policy can add a lower key-wide sustained ceiling, and a verified JWT can add a lower per-token ceiling. The gateway checks every applicable bucket atomically. These delegated ceilings can only reduce throughput and never multiply the parent account limit. Key and token burst capacity is the smaller of the parent burst or five times the sustained method rate. A per-token bucket is identified by the API key ID plus the SHA-256 digest of the byte-exact JWS signing input: base64url(protected header).base64url(payload). This is neither the decoded claims nor the full compact JWT. Excluding the signature prevents equivalent ES256 high-S and low-S signatures from creating separate buckets. See API key security.
The bucket refills at your plan's sustained rate and holds at most the burst capacity in the live catalog. A full bucket lets you send that many method calls after an idle period, whether separately or in batches, then sustain the listed rate. An HTTP request gets a 429 when its methods need more tokens than the bucket currently holds.
How batches count
A batch needs one token per method call, all at once. A batch of 100 method calls needs 100 tokens available at that moment, if the bucket holds fewer, the whole batch gets 429, not a partial result. Keep batch sizes below your burst capacity. Batching requires an API key: the keyless public endpoints accept one JSON-RPC call per HTTP request.
Response size limit
Each authenticated method call over HTTPS can return at most 150 MB (150,000,000 bytes) of uncompressed JSON. This byte limit is the same on every network and plan, applies to each call in a batch separately, and does not change with compression. It is a ceiling, not a promise that every call up to that size is served, and some calls are refused sooner, as described below. WebSocket has a lower limit, also described below. The keyless public endpoints have a lower 2 MiB limit.
Each eth_getLogs call therefore has two published limits. The block range limit on the network's chain page is the widest span one call may cover. The response size limit caps how much one call may return. A call inside the block range can also be refused for the number of logs it matches, well before its response would reach 150 MB. Without a filter that can happen within a few dozen blocks on the busiest networks. A query with an address or topic filter that matches a small share of logs can use the full block range. That refusal is not the -32020 below, and its error code and message can vary. Sending the same range again is refused again, so split it into smaller ranges or add a filter, and size the next ranges by the number of logs the last ones returned.
A call over the byte limit returns HTTP 200 with JSON-RPC -32020 and data.reason response_too_large. Sending the same call again returns the same error, so request less data per call. For a range query such as eth_getLogs, split the block range or add an address or topic filter. For a debug trace, trace one transaction per call with a tracer that returns less output, such as callTracer. The call is billed as one response unit, like other JSON-RPC errors returned after the query has run. See the error reference.
Over WebSocket each response can carry at most 16 MiB (16,777,216 bytes) of uncompressed JSON, and a batch counts as one response. A larger response is refused with JSON-RPC -32603 and the message RPC request refused or unavailable, without a data.reason field. A batch over the limit gets that single error instead of any results. Send large eth_getLogs queries and log-heavy batches over HTTPS. See WebSocket.
The 429 response
A rate-limited request returns HTTP 429 with how many tokens it needed and how many were available:
{
"error": "Rate limit exceeded",
"requiredTokens": 1,
"availableTokens": 0
}A recoverable 429 also includes the wait time:
HTTP/1.1 429 Too Many Requests
Retry-After: 1
X-RateLimit-Limit: 120
X-RateLimit-Burst: 600
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 5Rate-limited method calls are never billed or counted toward quota.
A 429 can also mean SolidRPC is briefly at capacity for large responses. That reply carries Retry-After: 1 and a JSON-RPC error with code -32005 instead of the body above. It is not your account limit and is never billed, so retry after the delay. Inside a batch only the affected calls carry the -32005 error, and the batch keeps HTTP 200 and its usual billing. See the error reference.
Response headers
Authenticated responses expose the state of both account-wide limits. Values are snapshots taken while the request is handled.
The example below uses the current Builder catalog limits with one response unit consumed.
X-RateLimit-Limit: 120
X-RateLimit-Burst: 600
X-RateLimit-Remaining: 599
X-RateLimit-Reset: 1
X-Quota-Limit: 10000000
X-Quota-Used: 1
X-Quota-Remaining: 9999999
X-Quota-Reset: 3600
X-Quota-Window: month| Header | Meaning |
|---|---|
X-RateLimit-Limit | Sustained token refill rate per second |
X-RateLimit-Burst | Maximum tokens the bucket can hold |
X-RateLimit-Remaining | Whole tokens available after this request |
X-RateLimit-Reset | Seconds until the bucket is full if traffic stops |
X-Quota-Limit | Included response units in the active quota window |
X-Quota-Used | Billable response units used in the active window |
X-Quota-Remaining | Included response units left, clamped to zero during overage |
X-Quota-Reset | Seconds until the daily or monthly quota resets |
X-Quota-Window | day or month, as listed for the active plan |
During a rate-limit server outage, unrestricted legacy keys keep the existing per-pod fallback. A configured key or token with a hard delegated method-rate ceiling returns HTTP 503 when that ceiling cannot be enforced globally. The gateway never silently widens a configured security policy.
PAYG has no request quota, so clients must not infer a cap from fixed-plan quota examples. Its billing period and accrued usage remain visible in authenticated Billing while the rate-limit headers continue to describe the account token bucket.
Handling 429s
When Retry-After is present, wait at least that many seconds, then retry with exponential backoff plus jitter. If a batch needs more tokens than X-RateLimit-Burst, the gateway omits Retry-After because waiting cannot make it fit, split the batch. A 402 is a quota problem, not a rate problem, see pricing and overage billing.
viem's http transport retries failed requests by default, tune retryCount and retryDelay for your traffic:
import { createPublicClient, http } from "viem";
import { mainnet } from "viem/chains";
const client = createPublicClient({
chain: mainnet,
transport: http("https://rpc.solidrpc.io/YOUR_API_KEY/evm/1", {
retryCount: 5,
retryDelay: 200,
}),
});ethers v6 does not auto-retry 429s, wrap calls in your own backoff if you use ethers.
If you see sustained 429s at your expected traffic level, a fixed-plan customer can select a tier with more throughput. A PAYG customer should file an email-support ticket with the recent request volume, peak calls/s, expected growth, and 429 evidence. Support escalates the request for review without promising approval. Backoff only smooths spikes and does not create throughput.
Using an AI agent? Set up agent access and choose a tested task recipe. Check supported methods, account limits, and your approved budget before a large run.