NouveauVoie Eco désormais sur 91 modèles : le même modèle, moins cher

Devise

Vous rechargez toujours en euros. Les autres devises sont affichées au taux du jour de la BCE. Taux de référence de la BCE

Se connecterCommencer

Rate limits

Each key can make a set number of requests per minute. Above that, you get 429 with Retry-After.

Le centre d’aide est rédigé en anglais et en néerlandais. Vous lisez la version anglaise.

The limit counts the requests of one key over the last 60 seconds. The default is 600 requests per minute. GET /v1/key shows the exact limit of your key, under rate_limit:

curl https://api.nexrouting.com/v1/key \
  -H "Authorization: Bearer $NEXROUTING_API_KEY"

Over the limit, the API answers 429 with the code rate_limit_exceeded and a Retry-After header with the number of seconds to wait.

A 429 can also mean that the model itself is busy at that moment. Then wait a few seconds and try again.

Handle it in your code

  • Retry after the Retry-After time, with a longer pause after each failed try (exponential backoff).
  • Keep the number of requests you send per minute within your limit.
  • Need a higher limit? Contact support.

Requests that get a 429 cost nothing. Limits on paying are separate: see Top-up limits.

Dans ce thème: Utilisation et limites

Toujours bloqué ? Contactez le support

Posez votre question à Miles dans votre tableau de bord, ou parlez à une personne. Il s’agit d’un appel API ? Joignez l’ID de requête.