Version 1.2

Rate Limits

  • X-RateLimit-Limit X-RateLimit-Remaining X-RateLimit-Reset 429

    HTTP Headers and Response Codes

    Ensure that you inspect the HTTP headers, as they provide pertinent data on where your application is at for a given rate limit.

    X-RateLimit-Limit: The maximum number of requests you can make per 15 minutes window.

    X-RateLimit-Remaining: The number of requests remaining in the current rate limit window.

    X-RateLimit-Reset: The number of seconds before the rate limit is reset.

    When an application exceeds the rate limit for a given API endpoint, the Clever Monitor API will now return an HTTP 429 “Too Many Requests” response code.

    If you hit the rate limit on a given endpoint, this is the body of the HTTP 429 message that you will see:

    { "code": 429, "status": "error", "message": "Rate limit exceeded" }

Copyright © CleverMonitor, 2019