In order to ensure maximum availability of the service, Yandex.Metrica imposes limitations on the rate of API requests from users.
Two types of limitations are used simultaneously:
The rate of requests is calculated separately for each of the following groups of API methods:
If quotas are exceeded, all further actions by the user are temporarily blocked. The API returns a response with the HTTP status 403 Forbidden. The response body contains information about the type of quota exceeded.
When an IP quota is exceeded, the user is unblocked when the number of API requests in the last minute is less than 30.
When a user_login quota is exceeded, the user is unblocked automatically at midnight Moscow time.