Skip to content

Interface: FuturesGetHistoricalOpenInterestReq ​

Req for GET /linear-swap-api/v1/swap_his_open_interest. One of (pair+contract_type) or contract_code required.

Properties ​

PropertyTypeDescription
amount_type1 | 21: cont, 2: cryptocurrency
contract_code?stringContract code. Omit if pair+contract_type provided
contract_type?stringswap, this_week, next_week, quarter, next_quarter
pair?stringPair (e.g. BTC-USDT). Use with contract_type
periodFuturesOpenInterestPeriod60min, 4hour, 12hour, 1day
size?numberItems [1-200]. Default 48

Built by Siebly. Open source SDKs for exchange APIs.