Answer the question
In order to leave comments, you need to log in
How to count the number of API requests?
There are limits on requests per second for different APIs. What algorithm/approach or library can be used to not exceed this N times per second?
Answer the question
In order to leave comments, you need to log in
You take an IP.
You count how many times per minute / second / hour you accessed the API, depending on the requirements
...
Profit
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question