Rate limits
How Grvt limits request rates, how to read your limit from each response, and how the SDKs handle it.
On this page
Agent prompt
Help me with: Rate limits. How Grvt limits request rates, how to read your limit from each response, and how the SDKs handle it.
Target environment: {environment} (chain ID {chainId}). Recorded signing cases keep their original environment.
{executionGuidance}
Read this first: {origin}/bundle/guides/rate-limits.md (~14 KB, plain Markdown: this page plus the AGENTS.md rules, Environments).
Fetch other pages from the index at {origin}/llms.txt only as you need them. {origin}/downloads/contract.json is a machine-readable contract for tools, not for reading.
Rules: follow AGENTS.md; do not send requests without the user asking you to; read credentials from environment variables; never retry writes automatically; show me the code and how to run it. Grvt limits how often you can call the API. Every HTTP response says which limit applied and how much of it is left, so read it from there instead of hard-coding numbers.
Reading your limit
X-RateLimit-LimitandX-RateLimit-Remainingon each HTTP response show the limit that applied.- Over the limit, a call fails with error
1006(HTTP 429). Wait, then retry.
What your limit depends on
- Account tier. Limits follow your main account's
tier, returned by funding_account_summary. Calls without a session get tier 1. - IP address, for market data. Market-data limits are per IP. ticker calls for
stable funding perps (
_SFPinstruments) can have their own per-IP budget, shared by all stable funding perps.
Staying under the limit
- Subscribe to a stream instead of polling for prices.
- Use the SDK: it retries reads after a
1006with backoff (3 tries, within the call timeout of 30 s by default, login included). Writes are never retried, so you see the error (What the SDK retries). Each retry shows up inon_event.
Not documented yet
Exact numbers per endpoint and tier, and WebSocket limits (messages per second, subscriptions and sockets per account), including whether WebSocket and HTTP order entry share a budget. Until then, go by the response headers.