Skip to content

API OpenData EDF https://opendata.edf.fr API

by Electricité de France

No authHTTPSGovernment
Open documentation ↗

Overview

L'API Open Data du groupe EDF donne accès aux données ouvertes répertoriées dans le catalogue des jeux de données issus des activités du groupe EDF en métropole et dans les territoires d'outre-mer et à l'international.

API OpenData EDF https://opendata.edf.fr is a government API from Electricité de France. 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://opendata.edf.fr/data-fair/api/v1/catalog

Make a first request

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

cURL
curl -X GET "https://opendata.edf.fr/data-fair/api/v1/catalog" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://opendata.edf.fr/data-fair/api/v1/catalog", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://opendata.edf.fr/data-fair/api/v1/catalog",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Questions

Does the API OpenData EDF https://opendata.edf.fr API need an API key?

No. The API OpenData EDF https://opendata.edf.fr API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the API OpenData EDF https://opendata.edf.fr API support HTTPS?

Yes, the API OpenData EDF https://opendata.edf.fr API is served over HTTPS.

What are alternatives to the API OpenData EDF https://opendata.edf.fr 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).