What APIs does 0x offer?

Last updated: June 18, 2026

0x provides a suite of professional-grade trading APIs that let you add token swaps, quotes, and trade data to your app through a single integration. 0x aggregates and enables swaps at the best price on millions of tokens across 150+ DEXes on EVM-compatible chains, and is trusted by teams like Coinbase, Matcha, Phantom, DefiLlama, and Robinhood. This article gives a high-level overview of each API and what it's used for. For endpoints, parameters, and integration steps, always refer to the 0x developer docs first — this article is a conceptual map, not an integration guide.

Swap API (EVM)

The Swap API is 0x's core product. It's a DEX aggregation and smart order routing REST API that finds the best price for crypto trades, so with one integration you can add trading to your app. It aggregates liquidity from hundreds of sources, including AMMs and exclusive professional market makers, across 20+ supported chains.

Under the hood, the smart order routing algorithm splits a transaction across different sources to maximize the overall return on the swap, and the response is a ready-to-submit transaction. Key benefits include built-in fee/monetization support, some of the lowest revert rates in the industry, and access to exclusive RFQ liquidity with zero slippage on RFQ orders.

Best for: any EVM app that wants reliable, best-price token swaps.

Gasless API

The Gasless API removes the two points in a trade where users normally have to pay gas — token approvals and the swap itself — so users can trade without holding the chain's native token for gas. 0x fronts the gas cost up front and wraps it into the token being traded; apps can also choose to sponsor transactions themselves. It supports gasless approvals for EIP-2612 tokens and gasless swaps for selling any non-native token.

Best for: apps that want a smoother, approval-free trading experience and want to abstract gas away from users.

Trade Analytics API

The Trade Analytics API gives integrators access to the history of trades initiated through 0x APIs and settled on 0x smart contracts. It returns comprehensive transaction records — volumes, fees, and USD values — scoped to the app associated with the requesting API key. Note that data is updated roughly every 15 minutes and is considered final 48 hours after a trade is mined, so it's intended for historical analysis and reporting rather than real-time use.

Best for: reporting, business intelligence, and understanding trading behavior in your own app.

Cross-Chain API

The Cross-Chain API lets you swap any token across any chain through a single integration. It went generally available on June 4, 2026 and is open to any team with a 0x account. It's a unified product that handles routing, bridging, tracking, and execution end to end, so you integrate once instead of stitching together multiple bridge and swap vendors. For users, it's designed to feel like a normal swap, with routes streamed as they're found and real-time status tracking.

Best for: apps that need cross-chain swaps, payments, or asset movement without building and maintaining their own bridge infrastructure.

Solana Swap API (Coming Soon...)

Related: Liquidity Integration

Separate from the trading APIs, 0x also lets liquidity providers contribute to the network. Providers can request to add their AMM, RFQ, or custom Uniswap v4 hook liquidity to 0x. See the Liquidity Integration docs.

Getting started

All 0x APIs use a single API key. Create an account for free at the 0x Dashboard to get your live API keys. For the full, up-to-date list of products, endpoints, and supported chains, see the 0x docs.