Market data AI & API
Connect Claude, ChatGPT, Cursor or your own trading agent to crypto derivatives data: 10 MCP tools and 11 REST routes for funding, arbitrage, open interest, liquidations, futures basis and Deribit options, and the vike-data CLI, on one API key.
Ask about funding, spreads and carry in plain words
Add the MCP server to Claude, ChatGPT or Cursor once, then ask about any coin or venue.
https://data.vike.io/mcp10 tools, grouped by the job they do
Each group's page shows its tools' answers.
| Job | Tool | What it answers |
|---|---|---|
| Funding | perp_funding | Funding rates per coin and venue, now and in history. |
perp_funding_oi_weighted | Each coin's funding averaged across venues by open interest. | |
| Arbitrage & carry | perp_carry | The carry screener: perp against perp or spot, gross or net of costs, over a horizon. |
perp_spreads | Price spreads between venues: the widest now, or one coin's. | |
perp_spreads_history | The price gap between two venues for a coin over time. | |
futures_basis | Dated futures against the index, spot or perp: basis and its annualised yield. | |
| Positioning | perp_open_interest | Open interest per coin and venue. |
perp_long_short | Long/short ratio per coin and venue. | |
perp_liquidations | Forced liquidations per coin and venue, one by one or per time bucket. | |
| Options | options_flow | Deribit options: put/call ratios and net premium, per expiry or per time bucket. |
11 routes under /v1/marketdata
Base URL https://data.vike.io/v1, one header: X-API-KEY. Authentication, limits and errors: the API page.
/v1/marketdata/perp/funding/current?symbol=BTC
BTC's current funding rate on each venue.
/v1/marketdata/perp/funding?symbol=BTC&exchange=binance
BTC's funding history on Binance.
/v1/marketdata/perp/spreads?symbol=BTC
Where BTC is cheapest and dearest across venues now, and the gap.
/v1/marketdata/perp/spreads/history?symbol=BTC&exchange_a=binance&exchange_b=okx&interval=1h
The BTC price gap between Binance and OKX per hour, in basis points.
/v1/marketdata/perp/oi?symbol=BTC
BTC's open interest per venue.
/v1/marketdata/perp/long-short?symbol=BTC
The long/short ratio for BTC, per venue.
/v1/marketdata/perp/carry?legs=all&direction=funding&costs=fees_slippage&horizon_h=48
Carry pairs, perp against perp or spot, net of fees and slippage over 48 hours.
/v1/marketdata/perp/liquidations?symbol=BTC&interval=1h
BTC's long and short liquidations per hour, across venues.
/v1/marketdata/perp/funding/oi-weighted?limit=20
The 20 coins with the most open interest, each one's funding averaged across venues by it.
/v1/marketdata/futures/basis?symbol=BTC&sort=expiry
Every BTC dated future by expiry, with its basis and annualised basis against the index.
/v1/marketdata/options/flow?symbol=BTC&by=expiry
BTC options on Deribit over the last 24 hours, per expiry: put/call ratio and net premium.
curl -H "X-API-KEY: $VIKE_API_KEY" "https://data.vike.io/v1/marketdata/perp/funding/current?symbol=BTC"
import os, requests
r = requests.get(
"https://data.vike.io/v1/marketdata/perp/funding/current?symbol=BTC",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
Every parameter and response field: the OpenAPI document, no key needed. Authentication, limits, errors and paging: API.
From a shell
The vike-data CLI, the same API key.
npm install -g @vike-io/cli
vike-data init
vike-data md funding BTC
vike-data md funding-now
vike-data md spreads
vike-data md oi BTC
vike-data md long-short BTC
vike-data md carry --costs fees_slippage --horizon 48
Limits and licence
These series may be published (charts, tables, screenshots, aggregated results and up to 100 rows per publication) with the credit “© Vike (vike.io)”, under the same rules as the other sources: Licensing. Bulk data and full datasets may not, and commercial use needs a written agreement. Plans and limits: Pricing; an API key: API.