Rate limiter

Request limit is set 60 requests per minute. When limit is exceeded, API waits until it is capable of processing again.


Aktiva API changes it’s request limit response. Previously Merit API used timing(sleep) method to restrict excess request. With version (-27-03-2024-)  all requests that exceeds limiter capacity will be terminated with status code 429 (Too Many Requests) and RateLimiter info will be added to response headers.

Content-Type: application/json; charset=utf-8
Date: Sun, 24 Mar 2024 08:56:22 GMT
Pragma: no-cache
Retry-After: 2
X-RateLimit-Limit: the maximum number of allowed requests in a 60 second window.
X-RateLimit-Remaining: the number of remaining requests in the current 60 second window.
X-RateLimit-Reset: A unix timestamp indicating when the current window ends; after this timestamp, the rate limit resets to the value in X-RateLimit-Limit.

The maximum limit for all documents(orders, invoices, offers, gltransactions) to be entered is 200 rows.