Chargefox
Help

Chargefox API Rate Limiting

To ensure fair usage and system stability, the Chargefox API implements rate limiting on its endpoints. Rate limiting restricts the number of API requests that can be made within a specific time period.

How Rate Limiting Works


When you make requests to the Chargefox API, we track the number of requests made with your authentication token. If you exceed the allowed number of requests in a specified time window, you'll receive a 429 Too Many Requests response until the rate limit resets.

Rate Limit Response Headers

When you make a request, the following headers are included in the response:

Best Practices


Fleet API Rate Limits


The following rate limits apply to Fleet API endpoints. Each limit is applied per authorization token.

Endpoint Method Request Limit Time Period Limit Type
api/fleets/v1/invoices GET 18 1 hour Authorisation Token
api/fleets/v1/usage GET 18 15 minutes Authorisation Token
api/fleets/v1/usage GET 50 1 hour Authorisation Token
api/fleets/v1/sessions GET 18 15 minutes Authorisation Token
api/fleets/v1/sessions GET 50 1 hour Authorisation Token

OCPI CPO API Rate Limits


The following rate limits apply to OCPI CPO API endpoints. Each limit is applied per authorization token.

Endpoint Method Request Limit Time Period Limit Type
ocpi/cpo/2.2/commands POST 180 1 hour Authorisation Token
ocpi/cpo/2.2/cdrs GET 100 10 minutes Authorisation Token
ocpi/cpo/2.2/cdrs GET 400 1 hour Authorisation Token
ocpi/cpo/2.2.1/cdrs GET 100 10 minutes Authorisation Token
ocpi/cpo/2.2.1/cdrs GET 400 1 hour Authorisation Token
ocpi/cpo/2.1.1/sessions GET 20 1 hour Authorisation Token
ocpi/cpo/2.2/sessions GET 20 1 hour Authorisation Token
ocpi/cpo/2.2.1/sessions GET 20 1 hour Authorisation Token
ocpi/cpo/2.2/tariffs GET 125 10 minutes Authorisation Token
ocpi/cpo/2.2/tariffs GET 310 30 minutes Authorisation Token
ocpi/cpo/2.2.1/tariffs GET 125 10 minutes Authorisation Token
ocpi/cpo/2.2.1/tariffs GET 310 30 minutes Authorisation Token
ocpi/cpo/2.2/tokens PUT 250 1 hour Authorisation Token
ocpi/cpo/2.2.1/tokens PUT 250 1 hour Authorisation Token
ocpi/cpo/2.1.1/locations GET 300 1 hour Authorisation Token
ocpi/cpo/2/locations GET 300 1 hour Authorisation Token
ocpi/cpo/2.2/locations#index GET 300 1 hour Authorisation Token
ocpi/cpo/2.2.1/locations#index GET 300 1 hour Authorisation Token
ocpi/cpo/2.2/locations#show GET 500 1 hour Authorisation Token
ocpi/cpo/2.2.1/locations#show GET 500 1 hour Authorisation Token