Skip to content

API Données climatologiques API

by Météo-France

API keyHTTPSGovernment
Open documentation ↗

Overview

Données climatologiques de base pour une station de mesure aux pas de temps 6 min pour les précipitations, horaires, quotidien, décadaire et mensuel pour tous les paramètres disponibles. Le fichier de retour est au format csv.

API Données climatologiques is a government API from Météo-France. Requests are authenticated with an API key. It is served over HTTPS.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Category
Government
Base URL
https://portail-api.meteofrance.fr/web/fr/api/DonneesPubliquesClimatologie

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://portail-api.meteofrance.fr/web/fr/api/DonneesPubliquesClimatologie" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://portail-api.meteofrance.fr/web/fr/api/DonneesPubliquesClimatologie", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://portail-api.meteofrance.fr/web/fr/api/DonneesPubliquesClimatologie",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Questions

Does the API Données climatologiques API need an API key?

Yes. The API Données climatologiques API uses API key authentication; the documentation explains how to get credentials.

Does the API Données climatologiques API support HTTPS?

Yes, the API Données climatologiques API is served over HTTPS.

What are alternatives to the API Données climatologiques API?

Other Government APIs include EPA, UK Companies House, Open Government, Canada, Federal Register, Census.gov.

Compare alternatives →

Listed from data.gouv.fr (Licence Ouverte).