DeFi & DEX APIs
| API | Pricing | Auth | Format | Free tier | Status |
|---|---|---|---|---|---|
0xArchiveLive and historical Hyperliquid and Lighter order books, trades, funding and liquidation data. Crypto › DeFi & DEX | Freemium | API key | JSON | — | Live |
1inchDEX aggregator for token swap quotes, execution, order books, and on-chain prices across many chains. Crypto › DeFi & DEX | Freemium | API key | JSON | 1k–10k/day | Live |
ClearTraceDEX execution-quality data: aggregator slippage scores, MEV sandwich detection, and cross-chain gas prices. Crypto › DeFi & DEX | Free | None | JSON | — | Live |
DefiLlamaTVL, token prices, yields, fees and stablecoin data for DeFi protocols across every major chain. Crypto › DeFi & DEX | Freemium | None | JSON | Unlimited | Live |
DexPaprikaOn-chain DEX data: liquidity pools, token prices and OHLCV history across 36 blockchain networks. Crypto › DeFi & DEX | Freemium | None | JSON | 1k–10k/day | Live |
dYdXReal-time perpetual futures market data, order books and trades from the dYdX decentralized exchange. Crypto › DeFi & DEX | None | JSON | Unlimited | Live | |
HostDeFiA+ to F safety grades for Solana and EVM tokens from on-chain authority, holder, and liquidity signals. Crypto › DeFi & DEX | Freemium | API key | JSON | 100–1k/day | Live |
MadeOnSolSolana and Robinhood Chain KOL trades, deployer reputation and DEX activity, plus a free tools directory. Crypto › DeFi & DEX | Freemium | API key | JSON | 100–1k/day | Live |
OphisParses natural-language swap requests into structured DEX orders across 13 EVM chains, no key needed. Crypto › DeFi & DEX | Free | None | JSON | 10k+/day | Live |
VaultVisionRead-only analytics on Hyperliquid vaults: TVL, APR, risk score, drawdown and deposit status. Crypto › DeFi & DEX | Free | None | JSON | 10k+/day | Live |
Choosing a DeFi & DEX API
Is there a free DeFi & DEX API?
Yes. ClearTrace, Ophis and VaultVision are free to use, and DefiLlama, 1inch, DexPaprika, 0xArchive, HostDeFi and 1 other have a free tier alongside paid plans.
Which DeFi & DEX APIs work without an API key?
DefiLlama, DexPaprika, ClearTrace, dYdX, Ophis and 1 other need no key or sign-up, so you can try them with a plain request.
Can I call a DeFi & DEX API from front-end JavaScript?
DefiLlama, ClearTrace, dYdX, Ophis and VaultVision allow cross-origin requests and need no key, so they work straight from the browser. For the others, call them from your server so your key stays private.
Can I use DeFi & DEX APIs in a commercial project?
1inch, DexPaprika, 0xArchive, ClearTrace and Ophis permit commercial use. MadeOnSol restricts it, for example to non-commercial or attributed use, so read the terms first.
Which DeFi & DEX APIs work with AI agents?
ClearTrace and Ophis have both an MCP server and an OpenAPI spec. 1inch, DexPaprika and 0xArchive have an MCP server, so an AI agent can call them directly. HostDeFi and MadeOnSol publish an OpenAPI spec for generating clients and tools.
More in Crypto: Market Data APIs · Blockchain Data & Nodes APIs · Crypto Payments APIs