We're building the most comprehensive crypto data API we can, and it's still growing — there's always a coin, a field or an endpoint we haven't got to yet.
Please tell us about any data you think Crypto Data API should nail but doesn't. We're data nerds who love to geek out about market data, trading bots, AI agents, or how to make your trading stack work in general. Prefer a form? Send feedback.
— Sam and the CDA team
Join us on Discord
curl -H "X-API-Key: cdk_live_…" \
"https://cryptodataapi.com/api/v1/market-data/klines?symbol=SKYUSDT&interval=1d&limit=90"
Perpetual futures pricing for this coin: the funding rate traders pay to hold a position, total open interest, and how both moved over 24h. Funding is the tether between the perp and spot; positive means longs are paying shorts.
Crypto Funding Rates →Funding is a small fee traders pay each hour to keep a bet open. When it is positive, the people betting the price will RISE are paying the people betting it will fall, which means the crowd is leaning bullish. Negative means the opposite. Open interest is how much money is riding on those bets in total: if it climbs while the price climbs, new money is arriving rather than old bets being closed.
The classic use is the cash-and-carry (basis) trade: hold the coin, short the perp, and collect funding while the two prices stay tied together — a market-neutral yield. Funding-rate arbitrage is the same idea run across venues. In the other direction, traders fade a crowded-long setup when funding is very positive but the price has stopped rising, and watch OI-price divergence: rising open interest on a falling price means shorts are piling in.
Design a new trading strategy for SKY built on perp funding and open interest. Read the live signal from /api/v1/derivatives/summary?coin=SKY. Invent the rules yourself — do not just reimplement carry — and write out entry, exit, position sizing and the single assumption the edge depends on. Then validate it on /api/v1/backtesting/funding?symbol=SKY plus /api/v1/backtesting/klines, with taker fees charged both sides. If it does not beat buy-and-hold, say so and explain why.
Hourly funding and open-interest history comes from /backtesting/funding?symbol=X, going back to May 2023 for Hyperliquid perps. Pair it with /backtesting/klines for matching price bars so funding lines up with the candle it was charged on. Note that open interest is only populated for Hyperliquid — Binance rows carry null.
Using CryptoDataAPI, backtest a funding-carry trade on SKY. Pull hourly funding from /api/v1/backtesting/funding?symbol=SKY and matching price bars from /api/v1/backtesting/klines. Simulate holding spot and shorting the perp whenever annualised funding is above 10%, exiting when it drops below 0. Charge taker fees both sides. Report net return after fees and funding, max drawdown, and how much of the return came from funding versus price. Tell me if the edge disappears after costs.
curl -H "X-API-Key: cdk_live_…" "https://cryptodataapi.com/api/v1/derivatives/summary?coin=SKY"
The live Hyperliquid order book for this coin, aggregated into price bands: how much size rests on the bid versus the ask, and how far the book goes before it thins out.
Order Book Depth →This is the queue of orders waiting to be filled. Bids are people waiting to buy, asks are people waiting to sell. If one side is much bigger, there is more demand on that side. The part that matters is not the price at the very top of the list, but how much is stacked up a little further away, because a big order has to eat through it. Less stacked up means the price moves further on the same trade.
Execution strategies live here. VWAP and TWAP orders slice a large trade across time so it never eats more of the book than it has to, and iceberg orders hide the true size. Order-book imbalance (OBI) is a short-term signal built directly from the bid/ask sizes you see here. Depth is also how you tell a real wall from a spoof — a genuine one keeps absorbing trades instead of vanishing.
Design a new trading strategy for SKY built on order-book depth. Read the live book from /api/v1/hyperliquid/l2-book?coin=SKY. Use the shape of resting liquidity — not just the top of book — to define entries, exits and how you would size to avoid paying slippage. State the assumption it depends on, then validate on /api/v1/backtesting/snapshots?data_type=liquidity_depth. Report honestly if depth turns out not to predict anything.
Order-book history is snapshotted every 5 minutes: /backtesting/snapshots?data_type=liquidity_depth for the banded depth you see here, and data_type=hl_l2_books for the raw ladders. The daily bundle at /backtesting/daily-snapshots/{date} carries a liquidity_depth block too if you only need one reading per day.
Using CryptoDataAPI, test whether order-book imbalance predicts short-term returns on SKY. Pull /api/v1/backtesting/snapshots?data_type=liquidity_depth, compute (bid_depth - ask_depth) / (bid_depth + ask_depth) per snapshot, and measure the forward 1h and 4h return in each imbalance decile. Report the spread between top and bottom decile and whether it survives a realistic spread cost.
curl -H "X-API-Key: cdk_live_…" "https://cryptodataapi.com/api/v1/hyperliquid/l2-book?coin=SKY"
Peg stability and supply for this stablecoin: how far it has drifted from its target and how the float has changed.
Market Sentiment →This coin is designed to stay worth about $1. Small wobbles are completely normal. The warning sign is a gap that stays open, especially if the total supply is shrinking at the same time — that suggests people are cashing out rather than trading.
Depeg arbitrage is the direct trade: buy below the peg and redeem at par, which is how the peg gets restored. More broadly, the stablecoin supply ratio (SSR) treats stablecoin float as dry powder — a growing supply is buying power waiting on the sidelines, which is why it is watched as a market-wide indicator.
Design a new strategy that uses SKY supply and peg data as its signal, read live from /api/v1/sentiment/stablecoins. Decide whether you are trading SKY itself on peg deviation or trading the wider market on supply growth, and justify the choice. Define entry, exit and risk limits. Validate on /api/v1/backtesting/snapshots?data_type=stablecoins plus /api/v1/backtesting/klines.
Supply and peg history live in /backtesting/snapshots?data_type=stablecoins, with a matching stablecoins block in the daily bundle. Use it to test supply growth as a market-wide dry-powder signal, not just this one coin's peg.
Using CryptoDataAPI, test SKY's peg stability and its supply as a market signal. Pull /api/v1/backtesting/snapshots?data_type=stablecoins for SKY supply and peg history, plus BTC daily bars from /api/v1/backtesting/klines. First, measure how often SKY deviated more than 0.5% from $1 and how long each episode lasted. Then compare forward 30d BTC returns following the fastest and slowest deciles of SKY supply growth. Report whether either relationship is strong enough to trade.
curl -H "X-API-Key: cdk_live_…" "https://cryptodataapi.com/api/v1/on-chain/exchange-flows/SKY"
Positions force-closed in this coin over the last 24 hours, split by side. A long liquidation is forced selling; a short liquidation is forced buying.
Crypto Liquidations →A liquidation is a trader being forced out of a bet because the price moved too far against them. Longs being liquidated means forced selling; shorts being liquidated means forced buying. Judge the size against what is normal for this coin: $5M is enormous for a small coin and barely noticeable for Bitcoin.
Liquidation-cascade fades are built on this: forced selling overshoots, so the sharpest bounces tend to follow the biggest one-sided prints. Long and short squeeze plays work the same mechanism in reverse, and stop-hunt reversals look for price being pushed into a cluster of stops precisely to trigger them.
Design a new strategy for SKY that trades around forced liquidations, using /api/v1/market-intelligence/liquidations?symbol=SKY live. Define what counts as a cascade, which side you take, how quickly you exit, and how you avoid being liquidated yourself. Validate on the per-event tape at /api/v1/backtesting/hl-liquidations plus /api/v1/backtesting/klines, and report the worst single loss, not just the average.
/backtesting/liquidations gives the aggregated series, and /backtesting/hl-liquidations gives the exact per-event Hyperliquid tape — every individual fill, with its venue. For the price levels where liquidations cluster, use /backtesting/snapshots?data_type=liquidation_map.
Using CryptoDataAPI, backtest the liquidation-cascade fade on SKY. Pull the per-event tape from /api/v1/backtesting/hl-liquidations and price bars from /api/v1/backtesting/klines. Define a cascade as a 5-minute bucket in the top 1% of one-sided liquidation size, then measure forward returns at 15m, 1h and 4h from taking the opposite side. Charge taker fees and report the hit rate and worst loss.
curl -H "X-API-Key: cdk_live_…" "https://cryptodataapi.com/api/v1/market-intelligence/liquidations?symbol=SKY"
Sky price, derivatives, on-chain flows and quant regimes — plus 180+ endpoints across the whole market. The free tier is real: 1,000 requests/day, no card required.
Add the MCP server in one line — then your agent answers crypto questions by calling the API for you. No endpoints to wire up, no keys to juggle. Just ask.
setup cryptodataapi-mcp