DEX Trade History
Recent swap-level trade history and volume intelligence across major chains
DEX swap history product indexing Uniswap V2/V3-style trades across Ethereum, Base, and Arbitrum. Includes pair-level event feeds, sender context, notional volume, and quick volume statistics for market surveillance and execution research.
How customers use this
DEX-CEX arbitrage
Detect price dislocations between DEX pools and CEX prices. When a large swap moves a DEX pool price away from the CEX reference, arbitrage bots can capture the spread before it corrects.
Liquidity position sizing
Analyze historical swap volume and fee revenue to size your liquidity positions. Know which pools generate consistent fees and which have too much competition from other LPs.
Whale watching
Spot large swaps that signal institutional accumulation or distribution. Track when wallets move size through DEX pools — it often precedes major price moves on centralized exchanges.
Sample data
Example responses from the API. Each query returns structured JSON.
GET /api/v1/dex/trades?pair=WETH-USDC&limit=1
{
"tx_hash": "0x7a3f...e91c",
"pair": "WETH-USDC",
"side": "buy",
"amount_in": 25000.00,
"amount_out": 6.752,
"price": 3703.42,
"dex": "uniswap_v3",
"timestamp": "2025-12-01T14:22:18Z"
} GET /api/v1/dex/volume?pair=WETH-USDC&period=24h
{
"pair": "WETH-USDC",
"period": "24h",
"volume_usd": 842000000,
"trades_count": 48921,
"avg_trade_size_usd": 17212,
"vwap": 3698.14,
"high": 3742.50,
"low": 3651.20
} GET /api/v1/dex/pairs?chain=ethereum&limit=3
{
"pairs": [
{ "pair": "WETH-USDC", "volume_24h_usd": 842000000, "liquidity_usd": 312000000 },
{ "pair": "WETH-USDT", "volume_24h_usd": 634000000, "liquidity_usd": 245000000 },
{ "pair": "WBTC-WETH", "volume_24h_usd": 189000000, "liquidity_usd": 178000000 }
]
} Use cases
- ✓ Pair-level flow monitoring
- ✓ DEX volume trend analysis
- ✓ Execution quality and slippage studies
- ✓ MEV and routing analysis
- ✓ Cross-chain liquidity comparisons
Response fields
| Field | Type | Description |
|---|---|---|
| tx_hash | string | Swap transaction hash |
| block_number | integer | Block height |
| timestamp | string | Event timestamp |
| chain | string | Blockchain network |
| dex | string | DEX protocol source |
| pair | string | Trading pair symbol |
| amount_in | number | Input token amount |
| amount_out | number | Output token amount |
| price | number | Trade price at event time |
Example queries
Recent pair trades
GET /api/v1/dex/trades?pair=WETH-USDC&chain=ethereum&limit=100 Returns latest indexed trades for a pair
Available pairs
GET /api/v1/dex/pairs?chain=ethereum Lists indexed pairs with trade counts and volume
Volume statistics
GET /api/v1/dex/volume?pair=WETH-USDC&period=24h Returns rolling volume and activity stats