Skip to content

Conversation

@cprodhomme
Copy link
Contributor

@cprodhomme cprodhomme commented Sep 4, 2025

source: https://adresse.data.gouv.fr/outils/api-doc/adresse

Si le script sollicite l'API de géocodage sans précaution particulière, avec une fréquence qui dépasse la limite d'usage de 50 requêtes par seconde et par IP, alors :

Les 50 premiers appels sont traités normalement ;
Le 51ème appel et les suivants sont bloqués tant que le script continue à solliciter l'API de géocodage au-delà de la limite de 50 requêtes par seconde et que le délai de 5 secondes qui s'en suit n'est pas écoulé.

Translation:

If the script calls the geocoding API without any particular precautions, with a frequency that exceeds the usage limit of 50 requests per second per IP, then:

The first 50 calls are processed normally; The 51st call and subsequent calls are blocked as long as the script continues to request the geocoding API beyond the limit of 50 requests per second and the following 5-second delay has not elapsed.

@alexreisner alexreisner merged commit 4b50c08 into alexreisner:master Sep 4, 2025
5 checks passed
@alexreisner
Copy link
Owner

Excellent, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants