Multi-chain by default
Ethereum, Arbitrum, Optimism, Base, Polygon, BNB Chain, Avalanche, and Solana: one API surface, one schema, one credential across every chain.
Swap-level activity, pool state, and historical trade data for the largest decentralized exchanges on Ethereum, major Layer 2s, and Solana. Indexed directly from chain, block-deterministic by design, and delivered through the same credential and JSON schema as the rest of the SiftingIO API.
All productsIndexed directly from chain. Block-anchored on every record. Multi-chain by default, with the same JSON shape across protocols wherever the underlying concept exists.
Ethereum, Arbitrum, Optimism, Base, Polygon, BNB Chain, Avalanche, and Solana: one API surface, one schema, one credential across every chain.
Every on-chain swap on covered protocols, decoded into a uniform shape: side, amounts in native and USD, price impact, transaction hash, and block.
AMM pool snapshots (reserves, fee tier, tick liquidity (Uniswap v3-style), TVL, 24h volume) captured at block boundaries for deterministic reads.
Best-route quotes across covered pools and protocols with price impact and gas estimates. Useful for swap UIs, aggregators, and pre-trade analytics.
Every record carries block_number and ts. Reorgs are detected automatically and corrected with versioned diffs, so backtests stay reproducible.
DEX & DeFi is a separate module from CEX cryptocurrency, but the same API key authenticates both. Add a module without rotating credentials.
REST snapshots and WebSocket streams, both authenticated with the same bearer token as the rest of the SiftingIO API.
curl https://api.siftingio.com/v1/dex/pool \
-H "Authorization: Bearer sft_•••" \
-G --data-urlencode "chain=ethereum" \
--data-urlencode "protocol=uniswap_v3" \
--data-urlencode "address=0x88e6...c5"{
"chain": "ethereum",
"protocol": "uniswap_v3",
"address": "0x88e6...c5",
"token0": { "symbol": "USDC", "decimals": 6 },
"token1": { "symbol": "WETH", "decimals": 18 },
"fee_tier_bps": 5,
"price": "1742.18",
"tvl_usd": "423891402.55",
"liquidity": "1.234e22",
"volume_24h_usd": "82451000",
"block_number": 21345678,
"ts": 1714058400123
}const ws = new WebSocket("wss://stream.siftingio.com/v1/ws");
ws.addEventListener("open", () => {
ws.send(JSON.stringify({
op: "subscribe",
channel: "dex_swaps",
chains: ["ethereum", "arbitrum", "solana"],
tokens: ["WETH", "USDC"],
}));
});{ "type": "swap", "chain": "ethereum", "protocol": "uniswap_v3", "pool": "0x88e6...c5", "side": "buy", "amount_in_usd": "12500", "amount_out_usd": "12483", "price_impact_bps": 1.4, "tx": "0xabc...", "block_number": 21345679, "ts": 1714058401412 }
{ "type": "swap", "chain": "arbitrum", "protocol": "uniswap_v3", "pool": "0x...", "side": "sell", "amount_in_usd": "8200", "amount_out_usd": "8195", "price_impact_bps": 0.6, "tx": "0xdef...", "block_number": 215678901, "ts": 1714058401488 }
{ "type": "swap", "chain": "solana", "protocol": "raydium", "pool": "ABCD...", "side": "buy", "amount_in_usd": "3400", "amount_out_usd": "3392", "price_impact_bps": 2.1, "tx": "5KQp...", "block_number": 287901234, "ts": 1714058401611 }A representative sample of supported protocols, chains, and quote/blue-chip assets is shown below. Coverage extends beyond this list and continues to expand. Need a protocol or chain you don’t see? Request it →
Pool TVL, swap volumes, and fee revenue across protocols and chains, dropping into BI pipelines, Jupyter notebooks, or DeFi dashboards without per-chain glue code.
Best-route quoting, real-time pool state, and swap streams for execution research and bot infrastructure. Same WebSocket surface as the CEX module.
Decoded swaps with price-impact, full historical depth, and an opt-in feed for failed transactions, built for arbitrage discovery, sandwich analysis, and order-flow research.
Live pool prices, USD-denominated swap quotes, and new-pool detection: the building blocks for swap interfaces, in-wallet trading, and DeFi-native fintech apps.
Coverage includes Uniswap (v2, v3, and v4), Curve, Balancer, and SushiSwap on Ethereum and Layer 2s; Aerodrome and Velodrome on Base and Optimism; PancakeSwap on BNB Chain; QuickSwap on Polygon; and Raydium, Orca, Jupiter, and Meteora on Solana. Additional protocols are added as each integration is verified to our quality bar.
Ethereum mainnet, Arbitrum, Optimism, Base, Polygon, BNB Chain, Avalanche, and Solana. Additional chains are added as the data is verified end-to-end. Per-chain coverage and protocol availability are queryable through the API reference.
Data is indexed directly from on-chain logs and state. We run our own indexers and full nodes across supported chains, with no reliance on third-party RPC for primary data. Pool state is captured at block boundaries; swap events are decoded from event logs in real-time.
WebSocket swap events are emitted within one block of inclusion: sub-second on Solana, and approximately 2–12 seconds on EVM chains depending on block time. REST snapshots are block-anchored, with deterministic ts and block_number fields so reads are reproducible and replayable.
Yes. The /v1/dex/quote endpoint returns the best route for a swap across covered pools and protocols, with quoted output, price impact, and a gas estimate. Routing is intended for indication and research; users are responsible for trade execution, slippage protection, and MEV mitigation.
Yes. Historical swaps and pool snapshots are included, not gated behind a separate contract. Historical depth typically covers from the genesis block of each indexed pool. Reorg-affected ranges are tracked with versioned audit logs so research and backtests stay reproducible.
Failed transactions are excluded from swap streams by default; they are available behind a flag for MEV and arbitrage research workflows. Chain reorgs are detected automatically: affected blocks are flagged in the WebSocket stream and the historical record is corrected with a versioned diff so downstream consumers can reconcile.
Swaps return chain, protocol, pool, side, amount_in, amount_out, amount_in_usd, amount_out_usd, price_impact_bps, tx, block_number, ts. Pools return chain, protocol, address, token0, token1, fee_tier_bps, price, tvl_usd, liquidity, volume_24h_usd, block_number, ts. Field names are consistent across protocols where the underlying concept exists.
Yes. The /v1/dex/pools/recent endpoint returns pools created within a configurable window, and the new_pool WebSocket channel emits new pool events in real-time, useful for new-listing detection, screening, and on-chain discovery flows.
DEX & DeFi is sold as a separate module from the CEX cryptocurrency module. The same SiftingIO API key authenticates both; your subscription tier determines which modules your key is entitled to. Customers can start with one and add the other without rotating credentials or changing client code.
Free tier included, no sales call required. Add the DEX module to your account and hit the on-chain endpoints over REST or WebSocket, with the same auth, same schema, same SLA as the CEX module.