0x Swap API icon
Beta

0x Swap API

by 0x Project
🟪
Staff Pick
17Supported chains 5REST Paths 1Plan
Starting from FREE
Back to Marketplace
0x Swap API image 0 0x Swap API image 1 0x Swap API image 2
beta icon
This add-on is currently in Beta

Feel free to test it, we would appreciate feedback to address any errors that may occur

Swap API is a institutional-grade DEX aggregation and smart order routing REST API that allows you to find the best price and easily submit the trade with just a few lines of code.Swap API allows you to add crypto trading in your application with just a single API integration. It finds the best real-time price across 100+ liquidity sources, both public (AMMs) and private (professional market makers), across 17+ supported chains.

Swap API is designed to protect your users, streamline integration for developers, and unlock new revenue opportunities for your team.

⛓️ Multi-chain liquidity: Access deep liquidity across major networks. See supported networks.
🤑 Monetize your app: Earn revenue through every swap with built-in fee support.
🛡️ User protection: Our smart contracts reduce allowance risk by supporting modern standards like AllowanceHolder and Permit2 for safer token approvals.
↩️ Reliable execution: We offer some of the lowest revert rates in the industry.
💰 Exclusive RFQ liquidity: Access off-chain liquidity with 0 slippage for RFQ orders. Learn how RFQ works.
🚀 Developer-friendly: Easy to integrate and customizable to your use case.

GET /swap/allowance-holder/price
Get the indicative price for a swap using Allowance Holder to set allowances
Curl
  • Curl
  • Axios
  • Python
00
01
curl https://YOUR_QUICKNODE_ENDPOINT_HERE.com/addon/1117/swap/allowance-holder/price?chainId=1&buyToken=0xdac17f958d2ee523a2206206994597c13d831ec7&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&sellAmount=100000000 \
-X GET
GET /swap/allowance-holder/quote
GET /swap/chains
GET /swap/permit2/price
GET /swap/permit2/quote

Supported Chains

Arbitrum
Avalanche
Base
Berachain
Blast
BNB Smart Chain
Ethereum logo
Ethereum
Ink
Linea
Mantle
Mode
Monad
Optimistic Ethereum
Polygon
Scroll
Unichain
World Chain

Published on Sep 29, 2025

Support Website Support Email

Plans & features

Standard - $0/month
  • Standard - $0/month
Enterprise Sales
10 RPS
Up to 10 requests per second.
5,000,000 Requests Per Month
Up to 5,000,000 requests per month.
Best Liquidity in DeFI
150+ liquidity sources integrated. Execute token swaps at the best available rates in DeFi. Unlock improved pricing with proprietary RFQ liquidity. Quotes are optimized for settled value and execution quality.
Mandatory Platform Fee
All trades for free users have a mandatory 0.12% platform fee
Reliability
API Uptime 99.99%