Futures Basis & Perp Premium is a paid API for AI agents from derivs.duoleads.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-15).
Returns futures basis and perpetual premium data for a given crypto coin across 8 derivatives exchanges, including mark prices, index prices, days to expiry, and annualised basis percentages.
Futures basis and term structure of one coin: dated futures on Bybit, Deribit, Kraken, Gate and OKX with days to expiry, basis vs index and annualised basis (contango or backwardation, the carry), the perp premium (mark vs index/oracle) on Hyperliquid, dYdX, Bitfinex and the others, and predicted funding. Crypto futures basis for BTC, ETH and more. Data only. Bad input is free; under 2 venues not charged.
A JSON object containing: a list of dated futures contracts with mark price, index price, basis_pct, annualised_basis_pct, days_to_expiry, open interest in USD, 24h volume, venue, symbol, and expiry; a list of perp markets with mark price, index price, premium_pct, and 8h funding rate per venue; metadata fields including coin, as_of timestamp, unit definitions, a disclaimer, and a see_also pointer to the funding-rates endpoint.
GEThttps://derivs.duoleads.com/v1/basis?utm_source=zero.xyzChoose this endpoint when you need cross-venue futures basis and perp premium data for a specific coin in a single call, especially for cash-and-carry analysis, term structure comparison, or identifying contango/backwardation across Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit, and OKX simultaneously. Prefer this over the funding-rates endpoint when the futures curve and annualised basis are the primary focus rather than funding rates alone.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"coin": "BTC",
"colo": null,
"as_of": "2026-10-14T23:00:00Z",
"units": {
"mark": "USD per coin",
"index": "USD per coin (the venue's index; oracle on Hyperliquid and dYdX)",
"times": "ISO 8601 UTC",
"basis_pct": "(future - index) / index * 100",
"premium_pct": "(perp mark - index) / index * 100",
"days_to_expiry": "days (fractional)",
"annualised_basis_pct": "basis_pct * 365 / days_to_expiry (simple); null when the future expires in less than 1 day (and left out of the term-structure average)"
},
"futures": [
{
"mark": 81562.96,
"as_of": "2026-10-14T23:00:00Z",
"index": 81563.54,
"quote": "USD",
"stale": false,
"venue": "deribit",
"expiry": "2026-10-15T08:00:00Z",
"oi_usd": 1362060,
"symbol": "BTC-15OCT26",
"basis_pct": -0.000711102,
"days_to_expiry": 0.375,
"volume_24h_usd": 1294160,
"annualised_basis_pct": null
},
{
"mark": 81542.6,
"as_of": "2026-10-14T23:00:00Z",
"index": 81654,
"quote": "USDT",
"stale": false,
"venue": "bybit",
"expiry": "2026-10-16T08:00:00Z",
"oi_usd": 6074760.61,
"symbol": "BTCUSDT-16OCT26",
"basis_pct": -0.136429,
"days_to_expiry": 1.375,
"volume_24h_usd": 146515.9953,
"annualised_basis_pct": -36.2158
},
{
"mark": 81582.4,
"as_of": "2026-10-14T23:00:00Z",
"index": 81563.54,
"quote": "USD",
"stale": false,
"venue": "deribit",
"expiry": "2026-10-16T08:00:00Z",
"oi_usd": 8947950,
"symbol": "BTC-16OCT26",
"basis_pct": 0.0231231,
"days_to_expiry": 1.375,
"volume_24h_usd": 2927380,
"annualised_basis_pct": 6.13813
}
],
"see_also": {
"params": [
"coin"
],
"reason": "Compare the futures basis with perpetual funding on every venue.",
"endpoint": "https://derivs.duoleads.com/v1/funding-rates"
},
"disclaimer": "Data only, not investment advice, not a benchmark; not affiliated with any exchange",
"request_id": "01KEXAMPLE0000000000000000",
"perp_premium": [
{
"mark": 81631.8,
"as_of": "2026-10-14T23:00:00Z",
"index": 81672.62,
"stale": false,
"venue": "bybit",
"symbol": "BTCUSDT",
"premium_pct": -0.04998,
"funding_rate_8h": 0.00003501
},
{
"mark": 81624,
"as_of": "2026-10-14T23:00:00Z",
"index": 81658,
"stale": false,
"venue": "hyperliquid",
"symbol": "BTC",
"premium_pct": -0.0416371,
"funding_rate_8h": 0.0001
}
],
"term_structure": [
{
"venues": [
"deribit"
],
"expiry_date": "2026-10-15",
"days_to_expiry": 0.375,
"avg_annualised_basis_pct": null
},
{
"venues": [
"bybit",
"deribit",
"gate"
],
"expiry_date": "2026-10-16",
"days_to_expiry": 1.375,
"avg_annualised_basis_pct": -7.39756
}
],
"venues_missing": [
{
"venue": "dydx",
"reason": "not_listed"
}
],
"predicted_funding": {
"rows": [
{
"rate": -0.00004729,
"source": "binance",
"apr_pct": -5.17826,
"rate_8h": -0.00004729,
"interval_h": 8,
"next_funding_time": "2026-10-15T00:00:00Z"
},
{
"rate": 0.00003501,
"source": "bybit",
"apr_pct": 3.83359,
"rate_8h": 0.00003501,
"interval_h": 8,
"next_funding_time": "2026-10-15T00:00:00Z"
},
{
"rate": 0.0000125,
"source": "hyperliquid",
"apr_pct": 10.95,
"rate_8h": 0.0001,
"interval_h": 1,
"next_funding_time": "2026-10-15T00:00:00Z"
}
],
"as_of": "2026-10-14T23:00:00Z"
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"