Products

Embed swaps in your app

Swap

API

Build on Solana

Coming soon

Solana

API

Any token, any chain

Coming soon

Cross-Chain

API

Simplify DeFi with gasless swaps

Gasless

API

Unlock powerful trade insights

Trade Analytics

API

Solutions

Embed swaps in your wallet

Wallets

Solutions

Bring onchain markets to your exchange

Exchanges

Embed swaps in your wallet

Coming soon

Wallets

Settle payments onchain

Coming soon

Payments

Deep liquidity for stablecoins

Coming soon

Stablecoins

.png)

Compliant real-world assets

Coming soon

RWAs

Resources

Industry reports

The SocialFi Shift Monetization across DeFi The Onchain Trading Opportunity

Latest 0x news

Blog

Developers

Get Started

Swap API Cross-Chain API Solana API

Guides

Build a token swap Monetize your app

Video tutorials

Swap API Gasless API Trade Insights

API Status API Reference Help Center

Full documentation to start integrating

Documentation

Products

Embed swaps in your app

Swap

API

Build on Solana

Solana

API

Any token, any chain

Cross-Chain

API

Simplify DeFi with gasless swaps

Gasless

API

Unlock powerful trade insights

Trade Analytics

API

Solutions

Embed swaps in your wallet

Wallets

Solutions

Bring onchain markets to your exchange

Exchanges

Embed swaps in your wallet

Coming soon

Wallets

Settle payments onchain

Coming soon

Payments

Deep liquidity for stablecoins

Coming soon

Stablecoins

.png)

Compliant real-world assets

Coming soon

RWAs

Resources

Industry reports

Latest 0x news

Blog

Developers

Get Started

Swap API Gasless API Trade Analytics API

Guides

Build a token swap Monetize your app Working in Testnets

Video tutorials

Quick links

API Status API Reference Help Center

Full documentation to start integrating

Documentation

Trade Analytics API

Unlock powerful onchain insights

A single, dedicated endpoint for historical trade data, enabling easy aggregation and analysis of user behavior, revenue insights and more.

Get started

.avif).avif)

.avif).avif)

Streamlined, Out-of-the-Box

Data without complex transformations

We return formatted data for fees, slippage and settled amounts alongside token metadata, reducing the time it takes to get insights for your business.

Instant USD Conversion

Eliminate the need for external pricing data Get USD values for revenue and fees without the need to pull and join external pricing data. Simplify your workflow with pre-calculated USD estimates.

Track Revenue with Precision

Feed your internal dashboards

Monitor revenue by piping fee data in USD and token values directly into your internal dashboards. Fully customize what you see and how you see it.

Drill Down Mode

Granular insights at your fingertips

Easily drill down into specific trades for granular analysis. Slice and dice trade data to uncover patterns, anomalies, and insights, enabling smarter decisions.

Streamlined, formatted trade data for your internal pipelines

Instant USD values for apples to apples revenue monitoring & analysis

Easy access to user insights with both aggregate and detailed views

.avif)

.avif).avif)

.avif).avif).avif).avif).avif)

.avif).avif).avif).avif)

Automate, Analyze, Adapt

Built for serious onchain apps

\ \ Data Teams](https://0x.org/products/trade-analytics#w-tabs-0-data-w-pane-0) \ \ Finance Teams](https://0x.org/products/trade-analytics#w-tabs-0-data-w-pane-1) \ \ Product Teams](https://0x.org/products/trade-analytics#w-tabs-0-data-w-pane-2)

All historical trades:

Access to all historical trades at an individual level, easily aggregated for analytics use cases. Automate workflows without manual intervention.

Clean & Formatted:

Ready to ingest through performant endpoints. Pipe directly into your existing data pipelines.

Instant USD Values:

We return USD estimates for the amounts returned (buyAmount, sellAmount, integratorFee, zeroExFee), eliminating the need to join external pricing data

.avif)

Revenue Tracking:

Get insights into your revenue health with comprehensive data on revenue and fees collected through your app.

Instant USD Values:

FP&A analysis made easy with apples to apples comparisons in USD values. Simplify your workflows, internal presentations and discussions.

Strategic Finance & BizOps:

An aggregate view for monitoring trends and drill down mode to QA and analyze trade-level details. Improve your team’s ability to make data-driven decision that impact your business.

All Your Data in One Stream:

Get access to all historical data to create reports and generate insights without having to rely on manual ad-hoc pulls.

Strategic Product Insights:

Get aggregate view for monitoring usage trends and drill down mode to interrogate specific user behaviors. Improve your orgs ability to make data-driven decision that impact your business.

.avif)

Integrate in 5 minutes or less

Embed crypto settlement in your product with just a few lines of code.

Swap Gasless

\ Play](https://replit.com/@0xproject/0x-Swap-API-v2-AllowanceHolder-Headless-Example?v=1)


Copy

\ Play](https://replit.com/@0xproject/0x-Gasless-v2-Headless-Example)


Copy

Developer Guides

\ \ Build with Swap API\ \ Example ERC-20 swap app built on Next.js with Swap API.](https://0x.org/docs/0x-swap-api/guides/build-token-swap-dapp-nextjs)

\ \ Code Examples\ \ A collection of 0x API code examples - copy, paste, go.](https://github.com/0xProject/0x-examples)

\ \ Monetize your app\ \ A guide on monetization options using 0x Swap API.](https://0x.org/docs/0x-swap-api/guides/monetize-your-app-using-swap)

\ \ Swap API\ \ Power crypto trading in your app with Swap API](https://0x.org/docs/0x-swap-api/introduction)

.png)\ \ Build with Gasless API\ \ Build a gasless swap app on Next.js with 0x Gasless API](https://0x.org/docs/gasless-api/guides/get-started-with-gasless-api)

Tap into a decade of onchain expertise

Developer Guides

\ \ Cross-Chain API is Generally Available](https://0x.org/post/cross-chain-api)

.png)\ \ Tokenized Equities by xStocks](https://0x.org/post/tokenized-equities-xstocks)

.png)\ \ Smart Wallet Support now live on the Gasless API](https://0x.org/post/smart-wallet-support-now-live-on-the-gasless-api)

.png)\ \ The Missing Piece for Onchain Payments](https://0x.org/post/the-missing-piece-for-onchain-payments)

%20(1).png)\ \ 0x API for Agents: 0x Skills](https://0x.org/post/0x-agent-skills)

\ \ Swap and Send in One Transaction](https://0x.org/post/swap-and-send)

\ \ Split Swap Fees Across Multiple Recipients](https://0x.org/post/multi-fee-support)

\ \ PropAMM Shenanigans](https://0x.org/post/propamm-shenanigans)

\ \ 0x powers token swaps for Tempo, the payments-first blockchain](https://0x.org/post/0x-powers-token-swaps-for-tempo-the-payments-first-blockchain)

\ \ HyperEVM now live on Swap API](https://0x.org/post/hyperevm-support)

\ \ Rumpel Engineering Team Joins 0x](https://0x.org/post/rumpel-joins-0x)

\ \ Cross-Chain API Private Beta](https://0x.org/post/cross-chain-swap-api-private-beta)

.png)\ \ Abstract partners with 0x to power DEX trading](https://0x.org/post/abstract-partners-with-0x)

\ \ 2025 Revisited: Ship and Scale](https://0x.org/post/2025-revisited)

\ \ Powering the Monad ecosystem with Swap API](https://0x.org/post/powering-the-monad-ecosystem-with-swap-api)

\ \ Fundamentals: Bridges](https://0x.org/post/blockchain-bridges-explained)

\ \ 0x 101: Introduction to Plasma](https://0x.org/post/0x-101-introduction-to-plasma)

\ \ Why RFQ is critical for bringing equities onchain](https://0x.org/post/why-rfq-is-critical-for-bringing-equities-onchain)

\ \ Delivering superior trade execution with 0x RFQ](https://0x.org/post/delivering-superior-trade-execution-with-0x-rfq)

\ \ Monad Mobil3 Hackathon Bounty Showcase](https://0x.org/post/monad-mobil3-hackathon-bounty-showcase)

\ \ Efficient trading infrastructure for tokenized equities](https://0x.org/post/efficient-trading-infrastructure-for-tokenized-equities-rwas)

\ \ 0x 101: Order books on Monad](https://0x.org/post/0x-101-order-books-on-monad)

.png)\ \ 0x 101: Introduction to Monad](https://0x.org/post/0x-101-introduction-to-monad)

\ \ 0x acquires Flood.bid to optimize trade execution on Solana and Ethereum](https://0x.org/post/0x-acquires-flood-to-optimize-trade-execution)

\ \ 0x Bounty Showcase from Monad Hackathon](https://0x.org/post/0x-bounty-showcase-from-monad-hackathon)

\ \ Power your AI agents with Swap API](https://0x.org/post/power-your-ai-agents-with-swap-api)

\ \ Fundamentals: AI agents](https://0x.org/post/crypto-ai-agents-explained)

\ \ Fundamentals: Intents](https://0x.org/post/intents-in-defi)

\ \ Fundamentals: SocialFi](https://0x.org/post/decentralized-social-socialfi-explained)

\ \ Unlock powerful onchain insights with 0x Trade Analytics API](https://0x.org/post/0x-trade-analytics-api-onchain-insights)

\ \ Fundamentals: Smart Contract Wallets](https://0x.org/post/smart-contract-wallets-explained)

\ \ Compliance made easy with 0x Address Screening](https://0x.org/post/0x-v2-address-screening-compliance-made-easy)

.png)\ \ 0x's next-gen pricing engine is now live](https://0x.org/post/0x-v2-pricing-engine-live-now)

\ \ Introducing state-of-the-art Buy/Sell Tax support](https://0x.org/post/0x-v2-buy-sell-tax-swap-support)

.png)\ \ Take control of your balance sheet with 0x v2](https://0x.org/post/0x-v2-monetization-control-your-balance-sheet)

.png)\ \ 0x v2 bug bounty program](https://0x.org/post/0x-v2-bug-bounty-program)

\ \ What does the "best price" in DeFi really mean?](https://0x.org/post/what-does-the-best-price-in-defi-really-mean)

.png)\ \ Eliminate allowance risk with Permit2](https://0x.org/post/0x-v2-eliminate-allowance-risk-with-permit2)

\ \ Introducing 0x's next-gen pricing engine](https://0x.org/post/introducing-0x-v2-pricing-engine)

\ \ 0x Dev Digest: May 2024](https://0x.org/post/0x-dev-digest-may-2024)

\ \ Frame spotlight: Paycaster](https://0x.org/post/warpcast-frame-spotlight-paycaster)

\ \ Frame spotlight: Airstack](https://0x.org/post/frame-spotlight-airstack)

\ \ Power up your Farcaster Frames with 0x swaps](https://0x.org/post/power-up-farcaster-frames-with-0x-token-swaps)

\ \ 0x Dev Digest: April 2024](https://0x.org/post/0x-dev-digest-april-2024)

\ \ Introducing 0x Trade Analytics](https://0x.org/post/introducing-0x-trade-analytics)

\ \ Coinbase Case Study](https://0x.org/post/coinbase-case-study)

\ \ Introducing gasless swaps and approvals with Gasless API](https://0x.org/post/introducing-gasless-api)

\ \ Bitcoin ETFs have arrived](https://0x.org/post/bitcoin-etfs-have-arrived)

\ \ Building in the open: 0x pricing update](https://0x.org/post/building-in-the-open-0x-pricing-update)

\ \ Matcha leverages Gasless API to bring users the most frictionless trading experience in DeFi](https://0x.org/post/matcha-leverages-gasless-api-most-frictionless-trading-experience-in-defi)

\ \ 0x Dev Digest: October 2023](https://0x.org/post/0x-dev-digest-october-2023)

\ \ Monetize crypto trading in your app with Swap API](https://0x.org/post/monetize-crypto-trading-in-your-app-with-swap-api)

\ \ 0x Dev Digest: September 2023](https://0x.org/post/0x-dev-digest-september-2023)

\ \ A comprehensive analysis of RFQ performance](https://0x.org/post/a-comprehensive-analysis-of-rfq-performance)

\ \ Unlock optimal trades in Swap API with 0x RFQ liquidity](https://0x.org/post/unlock-optimal-trades-in-swap-api-with-0x-rfq-liquidity)

\ \ 0x Dev Digest: August 2023](https://0x.org/post/0x-dev-digest-august-2023)

\ \ Portal launches swaps in its white label MPC wallet powered by 0x](https://0x.org/post/portal-launches-swaps-powered-by-0x)

\ \ 0x Swap API is now live on Base](https://0x.org/post/0x-swap-api-is-now-live-on-base)

\ \ Introducing paid plans for Swap API](https://0x.org/post/introducing-paid-plans-for-swap-api)

\ \ Decreasing Frictions in DeFi hackathon recap](https://0x.org/post/decreasing-frictions-in-defi-hackathon-recap)

\ \ 0x's pricing principles](https://0x.org/post/0x-pricing-principles)

\ \ 0x Dev Digest: June 2023](https://0x.org/post/0x-dev-digest-june-2023)

.png)\ \ App spotlight: tastycrypto](https://0x.org/post/app-spotlight-tastycrypto)

.png)\ \ App spotlight: 31Third](https://0x.org/post/app-spotlight-31third)

\ \ 0x 101: Intro to gasless API](https://0x.org/post/0x-101-intro-to-gasless-api)

\ \ Inspiration for building with Swap API](https://0x.org/post/inspiration-for-building-with-swap-api)

\ \ 0x Dev Digest: May 2023](https://0x.org/post/0x-dev-digest-may-2023)

\ \ Fundamentals: What are gas fees?](https://0x.org/post/fundamentals-what-are-gas-fees)

.png)\ \ Decreasing Frictions in DeFi Hackathon](https://0x.org/post/decreasing-frictions-in-defi-hackathon)

\ \ Swap API liquidity management](https://0x.org/post/swap-api-liquidity-management)

\ \ 0x 101: Getting started with Swap API](https://0x.org/post/0x-101-getting-started-with-swap-api)

\ \ 0x 101: Intro to Swap API](https://0x.org/post/0x-101-intro-to-swap-api)

\ \ 0x 101: Intro to 0x Orders](https://0x.org/post/0x-101-intro-to-0x-orders)

\ \ 0x 101: Intro to 0x Protocol](https://0x.org/post/0x-101-intro-to-0x-protocol)

\ \ A new home for 0x Protocol](https://0x.org/post/a-new-home-for-0x-protocol)

.png)\ \ Say hi to the new 0x](https://0x.org/post/say-hi-to-the-new-0x)

\ \ 0x Year in Review 2022](https://0x.org/post/0x-year-in-review-2022)

\ \ 0x Swap API expands to Arbitrum](https://0x.org/post/0x-api-announces-support-for-arbitrum)

\ \ Managed liquidity](https://0x.org/post/managed-liquidity)

\ \ 0x Smart Order Routing](https://0x.org/post/0x-smart-order-routing)

\ \ App spotlight: Taho](https://0x.org/post/app-spotlight-tally)

\ \ Fundamentals: What is a Layer 2 chain?](https://0x.org/post/what-is-a-layer-2-chain)

\ \ Fundamentals: What is the difference between quoted, executed, and adjusted prices?](https://0x.org/post/what-is-the-difference-between-quoted-executed-and-adjusted-prices)

\ \ Fundamentals: What is price impact?](https://0x.org/post/what-is-price-impact)

\ \ Fundamentals: What is slippage?](https://0x.org/post/what-is-slippage)

\ \ Fundamentals: What is an automated market maker (AMM)?](https://0x.org/post/what-is-an-automated-market-maker-amm)

\ \ Fundamentals: What is market making?](https://0x.org/post/what-is-market-making)

\ \ Fundamentals: What is a DEX aggregator?](https://0x.org/post/what-is-a-dex-aggregator)

\ \ Fundamentals: What is liquidity?](https://0x.org/post/what-is-liquidity)

\ \ Fundamentals: What is a decentralized exchange (DEX)?](https://0x.org/post/what-is-a-decentralized-exchange-dex)

\ \ 0x at ETHDenver 2023](https://0x.org/post/0x-at-ethdenver-2023)

\ \ The 0x Mission and Values](https://0x.org/post/the-0x-mission-and-values)

.png)\ \ Announcing support for new testnets](https://0x.org/post/support-for-goerli-mumbai-testnets)

\ \ 0x Swap API expands to Binance Smart Chain](https://0x.org/post/start-building-with-0x-api-on-binance-smart-chain)

\ \ Scaling DeFi — Layer One](https://0x.org/post/scaling-defi-layer-one)

\ \ Introducing Slippage Protection](https://0x.org/post/slippage-protection-for-0x-api)

\ \ San Francisco Blockchain Week 2022 Recap](https://0x.org/post/san-francisco-blockchain-week-2022-recap)

\ \ 0x Swap API adds new liquidity sources](https://0x.org/post/new-0x-api-liquidity-sources-june-2022)

\ \ Review of slippage performance](https://0x.org/post/post-launch-of-slippageprotection-a-look-at-our-performance)

.png)\ \ Phuture case study](https://0x.org/post/phuture-case-study)