X Layer DEX Data API - REST + real-time streaming
Token prices, liquidity pools, OHLCV and swaps for every X Layer DEX we index — updated every block, delivered over REST or pushed to you over SSE. 200K 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, PotatoSwap V2, PotatoSwap V3 |
| Liquidity pools | 76 tracked, reserves updated per block |
| 24h DEX volume | $3.34M |
| 24h swap transactions | 35.73K |
| Update cadence | every block |
| History | OHLCV candles from 1m to 1d, back to pool creation |
| Delivery | REST JSON + SSE push streams |
Data as of 2026-07-10 04:28 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/tokens/{address}/pools | Every pool a token trades in | reference |
| /networks/x_layer/pools/{address}/ohlcv | Candles — 1m to 1d, back to pool creation | 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 — the only push-based reserves feed on the market. Poll loops re-fetch unchanged state and still miss mid-block moves; push delivery makes the gap between on-chain state and your app the network round-trip, nothing else.
# 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"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.
- 200K requests / month
- No API 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, PotatoSwap V2, PotatoSwap V3 — 76 pools in total, as of 2026-07-10 04:28 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 — 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 — 200K requests per month free. 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). It is the only push-based reserves feed on the market.
What does the X Layer DEX API cost?
The free tier includes 200K requests per month with no API key or credit card, on every endpoint and every chain. 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.