API NATINFo API
Overview
#### Base URL <https://natinfo.app/api> #### Documentation * Swagger UI : <https://natinfo.app/swagger/>   - Redoc : [https://](https://natinfo.retiolus.net/redoc/)[natinfo.app](https://natinfo.app/swagger/?format=openapi)[/redoc/](https://natinfo.retiolus.net/redoc/)   * Spécification OpenAPI (JSON) : <https://natinfo.app/swagger/?format=openapi>   #### Description L’API NATINFo donne accès à la nomenclature officielle des infractions pénales françaises (NATINF). Elle permet de : * **Lister** toutes les infractions en vigueur, avec leurs numéros NATINF, noms et qualifications.   * **Consulter** le détail d’une infraction (numéro, nature, variables juridiques, dates de mise à jour).   * **Rechercher** par mot-clé, numéro NATINF, nature ou référence légale.   Les données sont renvoyées au format JSON, prêtes à être intégrées dans vos applications, sites web ou workflows métier. #### Endpoints principaux *L’API est en cours de développement et ses endpoints peuvent évoluer fréquemment ; veuillez consulter la liste complète des paramètres (pagination, filtres avancés, etc.) dans la documentation Swagger ou Redoc.* #### Limites d’usage * Pas de quota formel aujourd’hui, mais merci de regrouper vos appels et de limiter à 5 requêtes/s.   * En cas de surcharge, réponse HTTP 429 (Too Many Requests). #### Sources & licences des données * Liste des infractions (nomenclature NATINF) : données issues de data.gouv.fr, utilisées sous Licence Ouverte / Ope
API NATINFo is a government API. It needs no API key. It is served over HTTPS.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Government
- Base URL
https://natinfo.app/api/
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://natinfo.app/api/" \
-H "Accept: application/json"const response = await fetch("https://natinfo.app/api/", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://natinfo.app/api/",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Questions
Does the API NATINFo API need an API key?
No. The API NATINFo API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the API NATINFo API support HTTPS?
Yes, the API NATINFo API is served over HTTPS.
What are alternatives to the API NATINFo API?
Other Government APIs include EPA, UK Companies House, Open Government, Canada, Federal Register, Census.gov.
Similar government APIs
Compare alternatives →EPA
GovernmentWeb services and data sets from the US Environmental Protection Agency
UK Companies House
GovernmentUK Companies House Data from the UK government
Open Government, Canada
GovernmentCanadian Government Open Data
Federal Register
GovernmentThe Daily Journal of the United States Government
Census.gov
GovernmentThe US Census Bureau provides various APIs and data sets on demographics and businesses
Colorado Information Marketplace
GovernmentColorado State Government Open Data
Listed from data.gouv.fr (Licence Ouverte).