Rate limits are an essential part of managing API usage. They help to ensure fair access to our API for all users, protect our systems from abuse, and maintain service quality.

Overview

Our Rate Limits API allows developers to check their current rate limit status and receive alerts when they are approaching or have exceeded their limits.

How Rate Limits Work

  • Requests per Second (RPS): This is the maximum number of requests that can be made to an API in one second.
  • Requests per Minute (RPM): This is the maximum number of requests that can be made to an API in one minute.

API Endpoints

  • /rate-limits: Retrieves the current rate limit status for all endpoints.
  • /rate-limits/{endpoint}: Retrieves the current rate limit status for a specific endpoint.

Usage Example

GET /rate-limits HTTP/1.1
Host: api.example.com
Authorization: Bearer <YOUR_ACCESS_TOKEN>

Response

The response will include the following fields:

  • limit: The maximum number of requests allowed per time period.
  • remaining: The number of requests remaining in the current time period.
  • reset: The time until the rate limit resets.

Example Response

{
  "limit": 100,
  "remaining": 95,
  "reset": "2023-10-01T12:34:56Z"
}

Additional Resources

For more information on rate limits, please visit our API Documentation.


If you encounter any issues with rate limits, please contact our support team at support@example.com.


[center] API Rate Limit Exceeded [/center]


If you have any further questions or concerns, please refer to our Developer Forum for community support.