Overview
### À quoi sert l'API VigiEau ? En intégrant l'API dans votre système d'information, vous pouvez notamment : - rechercher le niveau de gravité (tension sur la ressource en eau) en vigueur à son adresse - rechercher les restrictions en vigueur à son adresse selon le profil d'utilisateur (particulier, entreprise, collectivité, exploitation agricole) et / ou le type d'eau consommé (eau potable, eau superficielle, eau souterraine) L'API s'adresse aux médias et gestionnaire de réseaux d'eaux. Vous pouvez retrouver la documentation ici : https://github.com/MTES-MCT/vigieau-api ## Principales données disponibles -Zone d'alerte associé à l'adresse => Son code, nom, type, niveau de gravité et son département -Arrêté de restriction associé => sa date de début, date de fin, le lien vers son PDF -Les usages / restrictions en vigueur => nom, thématique, description [Lien des documentations supplémentaires](https://api.vigieau.beta.gouv.fr/swagger) ## Partenaires de l'API - Agence de la transition écologique - Direction Interministérielle du Numérique
API VigiEau is a government API from Ministère de la Transition écologique. 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://api.vigieau.beta.gouv.fr
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.vigieau.beta.gouv.fr" \
-H "Accept: application/json"const response = await fetch("https://api.vigieau.beta.gouv.fr", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.vigieau.beta.gouv.fr",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Questions
Does the API VigiEau API need an API key?
No. The API VigiEau API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the API VigiEau API support HTTPS?
Yes, the API VigiEau API is served over HTTPS.
What are alternatives to the API VigiEau 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).