API limits - calcuations

Hello,
I need to explain exactly how API limits work.
I can send 1.200 requests per minute, there can be 160.000 requests per day.
If I send a request to withdraw 1000 candles in one request, is it understood as 1 request, or as 1000 requests?

And my second question, is there an API command to determine the number of current limits that will decrease based on new requirements? I found the maximum limits.

Thank you for the explanation…

  1. If you GET /api/v3/klines once, then it’s 1 request weight.
  2. https://binance-docs.github.io/apidocs/spot/en/#limits -> X-MBX-USED-WEIGHT-1M
1 Like