Futures Basis

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Cache / Update Frequency: Real time for all the API plans.

This endpoint is available on the following API plans

PlansHobbyistStartupStandardProfessionalEnterprise
Available
interval Limit>=4h>=30mNo LimitNo LimitNo Limit

Response Data

{
  "code": "0",
  "msg": "success",
  "data": [
    {
      "time": 1741629600000,            // Timestamp (in milliseconds)
      "open_basis": 0.0504,             // Opening basis (%) - the basis at the start of the interval
      "close_basis": 0.0445,            // Closing basis (%) - the basis at the end of the interval
      "open_change": 39.5,              // Percentage change in basis at opening compared to previous period
      "close_change": 34.56             // Percentage change in basis at closing compared to previous period
    },
    {
      "time": 1741633200000,            // Timestamp (in milliseconds)
      "open_basis": 0.0446,             // Opening basis (%)
      "close_basis": 0.03,              // Closing basis (%)
      "open_change": 34.65,             // Opening basis change (%)
      "close_change": 23.74             // Closing basis change (%)
    }
  ]
}
Query Params
string
required
Defaults to Binance

Futures exchange name (e.g., Binance, OKX). Supported exchanges: Binance, Bitget, Bybit, Crypto.com, Gate, and OKX.

string
required
Defaults to BTCUSDT

Trading pair (e.g., BTCUSDT) used for futures basis calculation. The pair must have both a futures and a corresponding spot market. Retrieve supported pairs via /api/futures/supported-exchange-pairs and /api/spot/supported-exchange-pairs.

string
required
Defaults to 1h

Data aggregation time interval. Supported values: 1m, 3m, 5m, 15m, 30m, 1h, 4h, 6h, 8h, 12h, 1d, 1w.

string
Defaults to 10

Number of results per request. Default: 1000, Maximum: 1000.

string

Start timestamp in milliseconds (e.g., 1641522717000).

string

End timestamp in milliseconds (e.g., 1641522717000).

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json