Hi Team,
I unerstaand that there is daily rate limit of 10,000 requests. When you reach to this limit, the API starts returning 429 error which is expected.
The problem is that the response body contains 2 JSON objects one with error code 429 and another with 200 code!
To repoduce this issue, keep hitting history api until you receive HTTP 429 code and observe response body.
👆 this is sample URL but you are free to change the query params and eventually you will find below unexpected response....👇
{
"code": 429,
"message": "request limit reached",
"s": "error"
}{
"candles": [
[
1700438400,
542.45,
564.45,
541,
547.35,
557287
],
[
1700524800,
552,
562.5,
542.7,
546.05,
464327
]
],
"code": 200,
"message": "",
"s": "ok"
}
I guess the v3 was not throughly tested for rate limits. Hope this gets fixed in near future.