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
  • Quick Comparison
  • Trade Analytics API
  • Key Points
  • 0x-parser
  • Key Points
Core Concepts

Access 0x Transaction Data

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

White Paper

Next

Bounties

Built with

This guide covers two main approaches for accessing trade data from 0x: Trade Analytics API for historical analysis and 0x-parser for real-time transaction parsing.

Quick Comparison

FeatureTrade Analytics API0x-parser
Use CaseHistorical analysis & business intelligenceReal-time transaction parsing
Data Freshness~15 min updates, final after 48 hoursImmediate (on-chain)
Data ScopeComprehensive (volumes, fees, slippage, USD values)Transaction-specific swap amounts
ImplementationREST API callsJavaScript library
ReliabilityAfter 48-hour finalizationDirect blockchain data

Trade Analytics API

Best for historical analysis and business intelligence. Provides comprehensive trade data including volumes, fees, and USD values.

Key Points

  • Updates every ~15 minutes
  • Data finalized after 48 hours
  • Includes USD value estimates

Read more about the Trade Analytics API.

0x-parser

Best for real-time transaction data and displaying final swap amounts immediately after settlement.

Key Points

  • Real-time parsing of on-chain data
  • Handles AMM slippage calculations
  • Available as npm package: @0x/0x-parser

Read more about the 0x-parser.