Rate Limiting

The MotorPress API is rate limited on a per account basis. All news accounts are allowed to make a maximum of 200 requests per minute. However, this limit may change over time. IF you the limit does not suite your needs, please make contact with us so we can discuss a solution for your specific use case.

Once reached, any requests to the MotorPress API will respond with an HTTP 429 and you'll need to wait for the rate limit timer to expire before new requests can be made. All requests include two headers to indicate how many request may still be made before the limit is reached: X-RateLimit-Limit indicates the maximum number of request that can be made, and X-RateLimit-Remaining indicates the number of requests that are available for hitting the limit:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 45

To avoid hitting the rate limit, you should cache responses in your own application.

Last Updated:
Contributors: warrick