One API for
every crypto exchange
Funding rates, open interest, liquidations, spreads, options, and arbitrage aggregated from 33 exchanges into a single REST API.
One call instead of 33 API keys, 33 rate limiters, 33 schemas, and the rolling pager you'd otherwise build when a venue's WS dies at 3am.
Three steps to live data
From signup to first API call in under a minute
Create an account
Sign up free. No credit card, no approval process. Takes 30 seconds.
Generate an API key
One click in the dashboard. Your key starts with dl_ and works instantly.
Make your first call
Pass the key as a Bearer token. Get structured JSON back from any of 26 endpoints.
Why DexLens vs alternatives
What you get here that you don't get from the bigger aggregators
Fee transparency
Every /arbitrage and /spreads response returns the per-venue maker + taker schedule, a version identifier, and a last-updated timestamp. Verify the assumption baked into netSpread8h or recompute under your own fill model. Most aggregators bury fees in their pricing tier.
Aggregate + per-venue modes
Pass ?aggregate=1 on /funding, /openinterest, /tickers to collapse to one row per symbol with avg/min/max + venue breakdown. One fetch instead of paging through 33 venues client-side.
Real, source-attributed data
Multi-venue fallback chains (e.g. Binance → Bybit → OKX → Binance spot on /klines) keep responses up when one venue is down. Response includes data.source so your indicator math knows which venue served it.
OpenAPI 3.1 + codegen
Full OpenAPI 3.1 spec at /api/v1/openapi (no auth) for codegen. X-Fee-Model-Version + X-RateLimit-* headers on every response. Tested for $ref integrity — every schema reference resolves.
Built-in fee-aware grading
The /arbitrage endpoint grades opportunities A-D using OI sanity + 7-day spread stability + round-trip fee deduction. Don’t hunt through dozens of paper-thin opportunities — filter by grade and execute.
On-chain integration
On-chain DEX whale trade feed + Hyperliquid whale liquidation roulette + smart-money leaderboard + cross-chain bridge flows. Most aggregators only have CEX data.
What people build with it
From side projects to production trading systems
Funding rate bots
Automatically long on cheap exchanges, short on expensive ones. The /arbitrage endpoint returns net spread after round-trip fees, per-side maker/taker, and a feeModel version so your cached calcs stay in sync.
Custom dashboards
Build Grafana panels, Discord bots, or Telegram alerts using real-time OI, liquidation, and spread data from a single endpoint.
Quant research
Backtest strategies using historical funding snapshots, track cross-exchange spread patterns, and monitor market sentiment shifts.
Generate API keys
Sign in to create API keys and access DexLens data programmatically.
API Endpoints
26 endpoints across 6 categories
Market Data
5Trading Intelligence
6/arbitrageFunding arbitrage with grades + fees + OI sanity
/funding-arbGross funding-spread scanner
/longshortLong/short ratios + regime classifier
/liquidationsRecent feed or summary=1 aggregated stats
/optionsOptions: max pain, P/C ratio, IV
/basisCME front-month futures basis (BTC + ETH)
Market Context
6/top-moversTop gainers & losers by 24h change
/global-statsAltcoin season, BTC dominance, market cap
/fear-greedFear & Greed Index + 30d history
/funding/historyHistorical funding snapshots (up to your tier window, 30d–5y)
/listing-radarBinance listing announcement tracker
/earnings-calendarToken unlocks, TGEs, halvings, governance
On-chain & Yield
5/whalesOn-chain DEX whale trades (global feed or per-wallet)
/whale-liqHyperliquid positions sorted by liq proximity
/smart-money-leaderboardTop HL wallets by 90d realised PnL
/bridge-flowsCross-chain bridge flow tracker (Wormhole)
/restakingRestaking yields (EigenLayer + Symbiotic + Karak + LRTs)
Quick Start
Get data in under 30 seconds
curl
Simplestcurl -s -H "Authorization: Bearer dl_..." \ "https://dexlens.local/api/v1/\ arbitrage?grade=A,B" | jq .
Python
Most popularimport requests
h = {"Authorization": "Bearer dl_..."}
r = requests.get(
"https://dexlens.local/api/v1/funding",
headers=h, params={"symbols": "BTC"}
)
print(r.json()["data"])JavaScript
fetch / Nodeconst res = await fetch(
"https://dexlens.local/api/v1/spreads",
{ headers: {
Authorization: "Bearer dl_..."
}}
);
const { data } = await res.json();
console.log(data);Rate Limits
Generous free tier, no credit card required
Common questions
Ready to build?
Create a free API key and start fetching real-time data from 33 exchanges in minutes.