Skip to content

API Météo des Forêts API

by Météo-France

API keyHTTPSGovernment
Open documentation ↗

Overview

Flux de la Météo des forêts qui indique un niveau de danger de feux de forêts établi à partir des prévisions météorologiques et l’état de sécheresse de la végétation. Cette information est délivrée à l’échelle du département pour le lendemain (J+1) et le surlendemain (J+2)

API Météo des Forêts 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://public-api.meteofrance.fr/public/DPMeteoForets/v1

Make a first request

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

cURL
curl -X GET "https://public-api.meteofrance.fr/public/DPMeteoForets/v1" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://public-api.meteofrance.fr/public/DPMeteoForets/v1", {
  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://public-api.meteofrance.fr/public/DPMeteoForets/v1",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Questions

Does the API Météo des Forêts API need an API key?

Yes. The API Météo des Forêts API uses API key authentication; the documentation explains how to get credentials.

Does the API Météo des Forêts API support HTTPS?

Yes, the API Météo des Forêts API is served over HTTPS.

What are alternatives to the API Météo des Forêts 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).