Get an API key
Market data · AI & API

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.

Connect

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.

MCP server
https://data.vike.io/mcp
MCP tools

10 tools, grouped by the job they do

Each group's page shows its tools' answers.

JobToolWhat it answers
Fundingperp_fundingFunding rates per coin and venue, now and in history.
perp_funding_oi_weightedEach coin's funding averaged across venues by open interest.
Arbitrage & carryperp_carryThe carry screener: perp against perp or spot, gross or net of costs, over a horizon.
perp_spreadsPrice spreads between venues: the widest now, or one coin's.
perp_spreads_historyThe price gap between two venues for a coin over time.
futures_basisDated futures against the index, spot or perp: basis and its annualised yield.
Positioningperp_open_interestOpen interest per coin and venue.
perp_long_shortLong/short ratio per coin and venue.
perp_liquidationsForced liquidations per coin and venue, one by one or per time bucket.
Optionsoptions_flowDeribit options: put/call ratios and net premium, per expiry or per time bucket.
REST

11 routes under /v1/marketdata

Base URL https://data.vike.io/v1, one header: X-API-KEY. Authentication, limits and errors: the API page.

GET /v1/marketdata/perp/funding/current?symbol=BTC BTC's current funding rate on each venue.
GET /v1/marketdata/perp/funding?symbol=BTC&exchange=binance BTC's funding history on Binance.
GET /v1/marketdata/perp/spreads?symbol=BTC Where BTC is cheapest and dearest across venues now, and the gap.
GET /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.
GET /v1/marketdata/perp/oi?symbol=BTC BTC's open interest per venue.
GET /v1/marketdata/perp/long-short?symbol=BTC The long/short ratio for BTC, per venue.
GET /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.
GET /v1/marketdata/perp/liquidations?symbol=BTC&interval=1h BTC's long and short liquidations per hour, across venues.
GET /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.
GET /v1/marketdata/futures/basis?symbol=BTC&sort=expiry Every BTC dated future by expiry, with its basis and annualised basis against the index.
GET /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.
bash
curl -H "X-API-KEY: $VIKE_API_KEY" "https://data.vike.io/v1/marketdata/perp/funding/current?symbol=BTC"

Every parameter and response field: the OpenAPI document, no key needed. Authentication, limits, errors and paging: API.

CLI

From a shell

The vike-data CLI, the same API key.

bash
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
Licence

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.

FAQ

Market data API FAQ

Can I publish charts or tables made from this data?
Yes: charts, tables, screenshots, aggregated results and up to 100 rows per publication, credited “© Vike (vike.io)”, under the same rules as the other sources: https://vike.io/data/licensing. Bulk data and full datasets are not allowed, and commercial use needs a written agreement.
How do I get an API key?
Sign in at vike.io and create one under Account → API keys; every key starts vk_. Claude Desktop needs none: it signs in to Vike instead.