This guide provides an overview of the rate limiting mechanism implemented in our en/tutorial_web_app/api/ratelimiting endpoint. Rate limiting is a critical feature that helps protect our API from abuse and ensures fair usage by all users.

What is Rate Limiting?

Rate limiting is a technique used to control the number of requests a user can make to an API within a certain timeframe. It helps prevent denial-of-service attacks, ensures that all users have access to the API, and maintains the performance and stability of the service.

How Does It Work?

When you make a request to the /en/tutorial_web_app/api/ratelimiting endpoint, our system checks the number of requests you have made in the last hour. If you exceed the limit, you will receive a response indicating that you have been rate-limited.

Limits

  • Requests per Hour: 100 requests per hour per user
  • Reset Time: The limit resets every hour

Handling Rate Limiting

If you receive a rate-limiting response, you should wait for the reset time before making additional requests. You can also check the status of your rate limit by making a request to the /en/tutorial_web_app/api/ratelimiting/status endpoint.

Example

# Rate Limiting Status

This endpoint provides the current rate limiting status for your account.

- **Requests Remaining**: 90
- **Reset Time**: 2023-10-01 12:00:00

Best Practices

  • Monitor Your Usage: Regularly check your rate limit status to ensure you are within the allowed limits.
  • Plan Your Requests: If you expect high traffic, plan your requests accordingly to avoid hitting the limit.
  • Contact Support: If you believe you are being unfairly rate-limited, please contact our support team for assistance.

For more information on our API and its usage, please visit our API Documentation.

Rate Limiting Example