get https://open-api-v4.coinglass.com/api/index/bitcoin/profitable-days
This endpoint provides data for the Bitcoin Profitable Days
Cache / Update Frequency: every day for all the API plans.
This endpoint is available on the following API plans:
Plans | Hobbyist | Startup | Standard | Professional | Enterprise |
---|---|---|---|---|---|
Available | ✅ | ✅ | ✅ | ✅ | ✅ |
Response Data
{
"code": "0",
"msg": "success",
"data": [
{
"side": 1, // Trade direction, 1 represents buy, 0 represents sell
"timestamp": 1282003200000, // Timestamp (in milliseconds)
"price": 0.07 // Price
},
{
"timestamp": 1282089600000, // Timestamp (in milliseconds)
"price": 0.068, // Price
"side": 1 // Trade direction, 1 represents buy, 0 represents sell
}
]
}