Back

#basis

2 APIs with this tag

Crypto Futures Term Structure & Basis Curve API

The shape of the crypto dated-futures curve and the annualised basis at every expiry, read live from Deribit's public futures book — no key, nothing stored. A single spot price tells you nothing about what the market pays to hold a position over time: dated futures trade at a premium (contango) or a discount (backwardation) to spot, and that premium, annualised, is the cash-and-carry yield basis traders harvest. The curve endpoint returns, for a currency (BTC or ETH), the spot index, the perpetual and every listed dated future — each with its days to expiry, mark price, the absolute and percent basis to spot and the annualised basis — plus the overall curve shape (contango or backwardation) and the front- and back-month annualised basis. The basis endpoint returns the annualised basis (cash-and-carry yield) for a chosen expiry, or the front future. This is the futures-curve / term-structure cut for crypto — distinct from the spot-versus-perpetual basis API (a single point on the curve), and from the funding-rate, options, max-pain, gamma and price APIs in the catalogue. Currency is BTC or ETH; expiry is a Deribit code like 26JUN26.

api.oanor.com/futurescurve-api

Crypto Basis API

Live crypto spot-versus-perpetual basis and premium as an API, served from the Bybit v5 feed. The basis is the gap between a coin's perpetual-futures price and its spot price: when the perp trades above spot the market is in contango (leveraged longs are paying up), when below it is in backwardation. For any coin this returns the spot price, the perp last, mark and index price, the basis in absolute and percentage terms, the mark-to-index premium, the market structure, and the funding rate — per-8-hour and annualised — that arbitrages the basis away. Get a coin's basis, or scan the majors ranked by basis. The cash-and-carry and funding-arbitrage signal layer for trading and dashboard apps. Live, no key, no cache. Distinct from funding-rate, open-interest and price APIs — this is the spot-perp basis.

api.oanor.com/cryptobasis-api