Skip to content

Rate Limit

Mercado Eletrônico's APIs have a feature known as Rate Limit, which sets a limit on the number of requests that can be made within a specific period of time. Specifically, our rate limit is applied per minute.

When using our APIs, it's crucial to consider the per-minute rate limit and regularly check the RateLimit-Remaining header to ensure that you stay within the established limits. This will help avoid service interruptions due to excessive requests and ensure a stable and successful integration with our services.

HeaderDescription
RateLimit-LimitThe maximum number of requests that can be made in one minute from an API Key. By default, this value is 240.
RateLimit-RemainingThe number of remaining requests for that minute.
RateLimit-ResetThe total number of seconds until the rate limit is reset.

After the limit is exceeded, all requests are throttled and return the following error:

Text
HTTP/1.1 429 Too Many Requests
{  
    "message": "API rate limit exceeded"  
}