Is there an endpoint to check to see if I'm approaching the rate limit?

I want to avoid getting IP banned so I was wondering if there’s an endpoint that will give me my IP’s current rate limit status. For example, if I’m at 1000/1200 requests for the MINUTE interval, I’d like to stop issuing calls to the API for a minute but I don’t know how the check if I’m at 1000 requests.

I can’t keep track of this locally because I’m using serverless lambda functions to issue the API calls and those cannot keep track of state. :confused:

To be clear, I’m not asking anything about the /api/v3/exchangeInfo endpoint since it does show rate limits but it does not seem to show whether or not I’m approaching the rate limit status.

Please read this - https://binance-docs.github.io/apidocs/spot/en/#limits
Your used weight and orders would be in the response headers

1 Like