Crypto Prices & DeFi Data API
One unified REST API for cryptocurrency market data **and** DeFi protocol analytics — powered by Binance, CoinCap, DeFi Llama, Bybit, and OKX. ## What You Get - **Real-time prices** for 2,000+ cryptocurrencies with 24h change, market cap, and volume - **OHLCV candlestick data** from Binance (1m, 5m, 15m, 1h, 4h, 1d, 1w intervals) - **DeFi protocol data** — TVL, yield farming pools, chain…
Crypto Prices & DeFi Data API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Prices | ||
| POST |
getBatchPrices /v1/prices/batch |
Returns USD prices for up to 200 coins in a single request. Send an array of coin IDs in the request body. Requires ULTRA tier. |
| GET |
getPrices /v1/prices |
Returns current USD price, 24h change percentage, and market cap for the specified coins. Accepts up to 50 comma-separated coin IDs. |
| GET |
getMultiExchangePrice /v1/prices/multi-exchange |
Returns the volume-weighted average price (VWAP) for a trading pair across Binance, Bybit, and OKX, along with the spread percentage between the highest and lowest exchange… |
| Coins | ||
| GET |
getGlobalStats /v1/global |
Returns aggregate cryptocurrency market statistics including total market cap, 24h volume, BTC dominance, and counts of active coins and exchanges. Cached for 5 minutes. |
| GET |
listCoins /v1/coins |
Returns a paginated list of cryptocurrencies with price, market cap, volume, 24h change, and supply. Sorted by market cap by default. |
| GET |
getCoinHistory /v1/coins/{id}/history |
Returns historical price data points at the specified interval. Available intervals: m5, m15, h1, h2, h6, h12, d1. Look back up to 365 days. Requires PRO tier. |
| GET |
getCoinOhlcv /v1/coins/{id}/ohlcv |
Returns candlestick (OHLCV) data from Binance for the specified coin. Available intervals: 1m, 5m, 15m, 1h, 4h, 1d, 1w. Requires PRO tier. |
| GET |
searchCoins /v1/search |
Search for coins by name or ticker symbol. Returns up to 20 matching results with ID, symbol, name, and rank. |
| GET |
getCoinDetail /v1/coins/{id} |
Returns detailed information for a specific coin including rank and block explorer URL. |
| GET |
getCoinExchanges /v1/coins/{id}/exchanges |
Returns a list of exchanges and trading pairs where the specified coin is traded, along with USD price and volume data. Requires ULTRA tier. |
| DeFi | ||
| GET |
getDefiTvl /v1/defi/tvl |
Returns the current total TVL across all chains and a historical TVL time series. Data from DeFi Llama. Requires PRO tier. |
| GET |
getDefiYields /v1/defi/yields |
Returns yield farming / liquidity pools with APY, TVL, and filtering by chain, project, and stablecoin status. Data from DeFi Llama. Requires PRO tier. |
| GET |
listDefiChains /v1/defi/chains |
Returns a list of blockchains ranked by total value locked (TVL). Data from DeFi Llama. Requires PRO tier. |
| GET |
getDefiProtocolDetail /v1/defi/protocols/{slug} |
Returns detailed protocol info including supported chains, description, and 30-day TVL history. Requires PRO tier. |
| GET |
listDefiProtocols /v1/defi/protocols |
Returns a paginated list of DeFi protocols with TVL, category, and TVL changes. Filterable by blockchain. Data from DeFi Llama. Requires PRO tier. |
| Exchanges | ||
| GET |
getExchangeDetail /v1/exchanges/{id} |
Returns exchange details including rank, volume, and top 10 trading pairs by volume. Requires PRO tier. |
| GET |
listExchanges /v1/exchanges |
Returns a paginated list of cryptocurrency exchanges sorted by 24h trading volume. Requires PRO tier. |
| Token | ||
| GET |
getTokenPrice /v1/token/{chain}/{address} |
Returns the token price for any EVM token using its chain name and contract address. Data from DeFi Llama. Supports Ethereum, BSC, Polygon, Arbitrum, Optimism, Avalanche, and… |
| Portfolio | ||
| POST |
calculatePortfolioValue /v1/portfolio/value |
Calculates the total USD value of a crypto portfolio and returns a per-coin breakdown with amounts, prices, values, and allocation percentages. Max 50 holdings. Requires ULTRA… |
| Markets | ||
| GET |
getOrderBookDepth /v1/markets/{symbol}/depth |
Returns the order book (bid/ask levels) from Binance for the specified trading pair. Each level is a [price, quantity] pair. Requires ULTRA tier. |
| System | ||
| GET |
getHealth /health |
Returns API health status, timestamp, and uptime in seconds. |
Crypto Prices & DeFi Data API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $9.99 / month | 1 / second |
|
| ULTRA | $19.99 / month | — |
|