Skip to main content
POST
/
api
/
coinglass
/
options
/
history
/coinglass/options/history
curl --request POST \
  --url https://api.anysite.io/api/coinglass/options/history \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "timeout": 300,
  "asset": "BTC"
}
'
[
  {
    "timestamp": 123,
    "@type": "@coinglass_options_point",
    "options_oi_to_futures_oi_percentage": 123,
    "reference_btc_price": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
asset
enum<string>
default:BTC

Asset to get the options open-interest ratio for

Available options:
BTC,
ETH

Response

Successful Response

timestamp
integer
required
@type
string
default:@coinglass_options_point
options_oi_to_futures_oi_percentage
number | null
reference_btc_price
number | null