curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/trades-flow/put-call-ratio \
--header 'x-api-key: <api-key>'{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"data": [
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.57,
"putCallRatioVolume24hr": 0.57,
"timestamp": 1732233600000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.55,
"putCallRatioVolume24hr": 0.55,
"timestamp": 1732147200000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.55,
"putCallRatioVolume24hr": 0.55,
"timestamp": 1732060800000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.54,
"putCallRatioVolume24hr": 0.54,
"timestamp": 1731974400000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.53,
"putCallRatioVolume24hr": 0.53,
"timestamp": 1731888000000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.53,
"putCallRatioVolume24hr": 0.53,
"timestamp": 1731801600000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.53,
"putCallRatioVolume24hr": 0.53,
"timestamp": 1731715200000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.55,
"putCallRatioVolume24hr": 0.55,
"timestamp": 1731628800000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.55,
"putCallRatioVolume24hr": 0.55,
"timestamp": 1731542400000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.54,
"putCallRatioVolume24hr": 0.54,
"timestamp": 1731456000000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.52,
"putCallRatioVolume24hr": 0.52,
"timestamp": 1731369600000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.49,
"putCallRatioVolume24hr": 0.49,
"timestamp": 1731283200000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.49,
"putCallRatioVolume24hr": 0.49,
"timestamp": 1731196800000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.49,
"putCallRatioVolume24hr": 0.49,
"timestamp": 1731110400000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.51,
"putCallRatioVolume24hr": 0.51,
"timestamp": 1731024000000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.5,
"putCallRatioVolume24hr": 0.5,
"timestamp": 1730937600000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.5,
"putCallRatioVolume24hr": 0.5,
"timestamp": 1730851200000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.49,
"putCallRatioVolume24hr": 0.49,
"timestamp": 1730764800000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.48,
"putCallRatioVolume24hr": 0.48,
"timestamp": 1730678400000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.48,
"putCallRatioVolume24hr": 0.48,
"timestamp": 1730592000000
}
],
"metadata": {
"api-version": "2023-09-30"
}
}
}This endpoint returns the Put Call Ratio for open interest and volume. The users can request the data in daily or hourly granularity.
curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/trades-flow/put-call-ratio \
--header 'x-api-key: <api-key>'{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"data": [
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.57,
"putCallRatioVolume24hr": 0.57,
"timestamp": 1732233600000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.55,
"putCallRatioVolume24hr": 0.55,
"timestamp": 1732147200000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.55,
"putCallRatioVolume24hr": 0.55,
"timestamp": 1732060800000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.54,
"putCallRatioVolume24hr": 0.54,
"timestamp": 1731974400000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.53,
"putCallRatioVolume24hr": 0.53,
"timestamp": 1731888000000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.53,
"putCallRatioVolume24hr": 0.53,
"timestamp": 1731801600000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.53,
"putCallRatioVolume24hr": 0.53,
"timestamp": 1731715200000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.55,
"putCallRatioVolume24hr": 0.55,
"timestamp": 1731628800000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.55,
"putCallRatioVolume24hr": 0.55,
"timestamp": 1731542400000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.54,
"putCallRatioVolume24hr": 0.54,
"timestamp": 1731456000000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.52,
"putCallRatioVolume24hr": 0.52,
"timestamp": 1731369600000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.49,
"putCallRatioVolume24hr": 0.49,
"timestamp": 1731283200000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.49,
"putCallRatioVolume24hr": 0.49,
"timestamp": 1731196800000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.49,
"putCallRatioVolume24hr": 0.49,
"timestamp": 1731110400000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.51,
"putCallRatioVolume24hr": 0.51,
"timestamp": 1731024000000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.5,
"putCallRatioVolume24hr": 0.5,
"timestamp": 1730937600000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.5,
"putCallRatioVolume24hr": 0.5,
"timestamp": 1730851200000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.49,
"putCallRatioVolume24hr": 0.49,
"timestamp": 1730764800000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.48,
"putCallRatioVolume24hr": 0.48,
"timestamp": 1730678400000
},
{
"currency": "BTC",
"exchange": "deribit",
"putCallRatioOpenInterest": 0.48,
"putCallRatioVolume24hr": 0.48,
"timestamp": 1730592000000
}
],
"metadata": {
"api-version": "2023-09-30"
}
}
}Was this page helpful?