PASAR API
National consumption, generation by source and estimated CO2 intensity, refreshed every 15 minutes via the Opendatasoft API.
View docs ↗ More Data & enrichment APIs All France APIscurl --fail-with-body --location --max-time 30 'https://odre.opendatasoft.com/api/records/1.0/search/?dataset=eco2mix-national-tr'
I'm building an app using a public France API (no private credentials needed). API: ODRÉ éCO2mix ~ real-time French electricity mix Provider: RTE / Open Data Réseaux Énergies Endpoint: GET https://odre.opendatasoft.com/api/records/1.0/search/?dataset=eco2mix-national-tr Response format: JSON Source: RTE / Open Data Réseaux Énergies (https://odre.opendatasoft.com/explore/dataset/eco2mix-national-tr/api/) Source type: Official public feed Endpoint type: Direct public JSON endpoint Integration difficulty: Copy-paste ready Last checked: 2026-07-05 Production caveat: Still handle downtime, changing fields, empty responses, and rate limits before shipping user-facing alerts. Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.