For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Contact SupportDiscordGo to dashboard
HomeDocsAPI ReferenceLiquidity IntegrationChangelog
HomeDocsAPI ReferenceLiquidity IntegrationChangelog
  • Introduction
    • Welcome
    • Supported Chains and Providers
    • Demo Apps
    • FAQ
    • API Issues & Error Codes
    • Need Help?
  • Swap API
    • Introduction
    • FAQ
  • Gasless API
    • Introduction
    • Gasless FAQ
  • Cross-Chain API
    • Introduction
    • Learn More
  • Trade Analytics API
    • Introduction
    • Transaction Data
    • Trade Analytics FAQ
  • Core Concepts
    • Introduction to 0x
    • 0x Cheat Sheet
    • Contracts
    • Order Types
    • Glossary
    • White Paper
    • Transaction Data
  • Developer Resources
    • Bounties
    • Rate Limits
    • System Status
  • Upgrading
    • Overview
    • Upgrading to Swap v2
    • Upgrading to Gasless v2
  • Need Help?
    • FAQ
    • API Issues & Error Codes
    • Contact Support
    • Contact Sales
LogoLogo
Contact SupportDiscordGo to dashboard
On this page
  • Why do we have rate limits?
  • What are the rate limits for the 0x APIs?
  • How are rates calculated?
Developer Resources

Rate Limits

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Bounties

Next

Overview

Built with

Want higher rate limits? Check out our available options

Why do we have rate limits?

Rate limiting is used by the API to prevent abuse and ensure a reliable experience for all consumers.

What are the rate limits for the 0x APIs?

The current limit for the Free Tier of our APIs is approximately 5 Requests Per Second (RPS). If you need higher rate limits, contact us on our pricing page to learn about our custom plans.

How are rates calculated?

The following is shared to help your team to maximize your app setup. The example below uses the 5 RPS Free Tier limit; however, the same logic applies to all tiers.

  • The 5 RPS is 5 calls across our endpoints
  • The 5 RPS is per fixed 1 second window; in other words, the API has fixed 1 second windows and will allow 5 calls any where within that 1 second window
  • Opening an SSE connection (e.g. to /cross-chain/quotes/stream) counts as one request. Individual events delivered over the stream do not count as separate requests; each new connection (including reconnections) counts as a new request.
  • You can view your current usage and limits on the 0x API Dashboard.