X Layer DEX Data API - REST + real-time streaming
Token prices, liquidity pools, OHLCV and swaps for every X Layer DEX we index, updated when a swap moves the pool, delivered over REST or pushed to you over SSE. 50K free requests a month, no signup.
X Layer coverage
What you get the moment you call the API: no key, no quota negotiation.
| DEXes indexed | 4, incl. Uniswap V3, QuickSwap V3, PotatoSwap V2 |
| Liquidity pools | 257 tracked, reserves updated per block |
| 24h DEX volume | $9.87M |
| 24h swap transactions | 150.30K |
| Update cadence | when a swap moves the pool |
| History | OHLCV candles from 1-minute to 1-day; the same history depth on every tier |
| Delivery | REST JSON + SSE push streams |
Data as of 2026-08-25 20:23 UTC · source: api.dexpaprika.com
X Layer API endpoints
Every endpoint below works right now, unauthenticated. Full reference in the docs.
| Endpoint | Returns | Docs |
|---|---|---|
| /networks/x_layer/dexes | All indexed DEXes with 24h volume and pool counts | reference |
| /networks/x_layer/pools/search | Pools: filter & sort by volume, liquidity, txns, age | reference |
| /networks/x_layer/tokens/{address} | Token metadata + live price + 24h stats | reference |
| /networks/x_layer/pools/search?token_address={address} | Every pool a token trades in | reference |
| /networks/x_layer/pools/{address}/ohlcv | Candles from 1-minute to 1-day; the same history depth on every tier | reference |
| /networks/x_layer/pools/{address}/transactions | Swap-level transaction history | reference |
| /networks/x_layer/multi/prices?tokens=a,b | Batched USD prices, up to 10 tokens per call | reference |
Your first X Layer call
▸ No API key. No signup. Paste and run.
# top X Layer pools by 24h volume
curl "https://api.dexpaprika.com/networks/x_layer/pools/search?order_by=volume_usd_24h&sort=desc&limit=5"
# live price for WOKB
curl "https://api.dexpaprika.com/networks/x_layer/tokens/0xe538905cf8410324e03a5a23c1c177a474d59b2b"Streaming: stop polling X Layer
Open one SSE connection and we push token prices and per-block pool reserve deltas as X Layer state changes, a push-based reserves feed you will not find at CoinGecko or DexScreener. Poll loops re-fetch unchanged state and still miss mid-block moves. With push, the only gap between on-chain state and your app is the network round-trip plus our block indexing.
# push: live WOKB price ticks on X Layer. One connection, no polling
curl -N "https://streaming.dexpaprika.com/sse/prices?chain=x_layer&address=0xe538905cf8410324e03a5a23c1c177a474d59b2b&method=token_price"
# push: per-block reserve deltas for WOKB pools
curl -N "https://streaming.dexpaprika.com/sse/reserves?chain=x_layer&address=0xe538905cf8410324e03a5a23c1c177a474d59b2b&method=token_reserves"
# push: live swaps touching WOKB, as they land on X Layer
curl -N "https://streaming.dexpaprika.com/sse/transactions?chain=x_layer&address=0xe538905cf8410324e03a5a23c1c177a474d59b2b&method=token"Free tier: up to 10 concurrent streams per IP. Watch it live on the X Layer streaming demo or read the streaming docs.
Simple, honest pricing
Same endpoints on every tier. Full details on the pricing page.
- 50K requests / month, no API key
- 300K with a free key, no credit card
- Every endpoint, every chain, real-time
- 5M requests included
- Streaming at scale + priority support
- Transparent overages, no gotchas
X Layer DEX data API — frequently asked questions
Which X Layer DEXes does the API cover?
4 X Layer DEXes including Uniswap V3, QuickSwap V3, PotatoSwap V2, 257 pools in total, as of 2026-08-25 20:23 UTC.
How fresh is the X Layer data?
Data updates every X Layer block. REST responses reflect the latest indexed block; SSE streams push changes as they happen, so there is no polling interval between your app and X Layer chain state.
Do I need an API key for X Layer data?
No. Every REST endpoint and SSE stream works without a key or signup: 50K requests per month free, per IP. A free API key (no credit card) raises that to 300K, and Pro ($99/mo) lifts the ceiling to 5M requests.
How do I get a X Layer token price with the API?
GET /networks/x_layer/tokens/{address} returns the live USD price with 24h volume and liquidity in one call. For portfolios, /networks/x_layer/multi/prices returns batched prices for up to 10 tokens per request.
Does streaming work for X Layer?
Yes. SSE streams at streaming.dexpaprika.com push X Layer token prices (/sse/prices) and per-block pool reserve deltas (/sse/reserves). That is a push-based reserves feed you will not find at CoinGecko or DexScreener.
What does the X Layer DEX API cost?
The free tier includes 50K requests per month per IP, with no API key or credit card, on every endpoint and every chain. A free registered key raises that to 300K/mo. Pro is $99/mo for 5M requests with priority support.
Every chain, same API
Start on X Layer. Scale across 36 chains without changing a line of integration code.
Build on X Layer data in the next 60 seconds
Start on X Layer. Scale across 36 chains. The first request is one curl away: no key, no card, no sales call.