get https://open-api-v4.coinglass.com/api/futures/global-long-short-account-ratio/history
This endpoint provides the long/short account ratio history for trading pairs on a specific exchange.
This endpoint is available on the following API plans:
Plans | Hobbyist | Startup | Standard | Professional | Enterprise |
---|---|---|---|---|---|
Available | ✅ | ✅ | ✅ | ✅ | ✅ |
interval Limit | >=4h | >=30m | No Limit | No Limit | No Limit |
Response Data
{
"code": "0",
"msg": "success",
"data": [
{
"time": 1741604400000, // Timestamp (in milliseconds)
"global_account_long_percent": 73.88, // Long position percentage of accounts (%)
"global_account_short_percent": 26.12, // Short position percentage of accounts (%)
"global_account_long_short_ratio": 2.83 // Long/Short ratio of accounts
},
{
"time": 1741608000000, // Timestamp (in milliseconds)
"global_account_long_percent": 73.24, // Long position percentage of accounts (%)
"global_account_short_percent": 26.76, // Short position percentage of accounts (%)
"global_account_long_short_ratio": 2.74 // Long/Short ratio of accounts
}
]
}