RTE

RTE Consumption API

Data on French electricity consumption in real time plus short-term, weekly and annual consumption forecasts (resources short_term, weekly_forecasts, annual_forecasts), each with a sandbox URL.

GitHub OpenAPI

Operations 3

GET /open_api/consumption/v1/annual_forecasts Retrieve annual power consumption forecast data for mainland France with year-ahead forecast margin. #
GET /open_api/consumption/v1/short_term GET /open_api/consumption/v1/short_term #
GET /open_api/consumption/v1/weekly_forecasts Retrieve weekly consumption forecasts for days D+3 to D+9. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rte-france:consumption-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rte-france-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: RTE API
  version: '2026-11-24'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-24: 3 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; RTE has published no machine-readable contract that the pipeline
    could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 1
    documentation: 2
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-24'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://data.rte-france.com/catalog/-/api/doc/user-guide/Consumption/1.2
servers:
- url: https://digital.iservices.rte-france.com
paths:
  /open_api/consumption/v1/annual_forecasts:
    get:
      operationId: get_open_api_consumption_v1_annual_forecasts
      tags:
      - Open Api
      summary: Retrieve annual power consumption forecast data for mainland France with year-ahead forecast margin.
      x-source: https://data.rte-france.com/catalog/-/api/doc/user-guide/Consumption/1.2
      parameters:
      - name: start_date
        in: query
        required: false
        schema:
          type: string
        description: Start date for data requested
      - name: end_date
        in: query
        required: false
        schema:
          type: string
        description: End date for data requested
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOpenApiConsumptionV1AnnualForecastsResponse'
      x-evidence:
        kind: documentation
  /open_api/consumption/v1/short_term:
    get:
      operationId: get_open_api_consumption_v1_short_term
      tags:
      - Open Api
      summary: GET /open_api/consumption/v1/short_term
      x-source: https://data.rte-france.com/catalog/-/api/doc/user-guide/Consumption/1.2
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: http
        snippet: " GET   /open_api/consumption/v1/short_term \n HTTP/1.1 \n Headers: \n Host: digital.iservices.rte-france.com \n Authorization:\
          \ Bearer CNAPbfmg7GjvtqTTlKqPm8ykP6R8YJFfJPnyjqW8p1v2PW2UX6bF8z \n Body: \n With all parameters \n URL: \n GET /open_api/consumption/v1/short_term?type=REALISED,ID&start_date=2015-06-01T00:00:00%2B02:00&end_date=2015-06-03T00:00:00%2B02:00\
          \ \n HTTP/1.1 \n Headers: \n Host: digital.iserv"
  /open_api/consumption/v1/weekly_forecasts:
    get:
      operationId: get_open_api_consumption_v1_weekly_forecasts
      tags:
      - Open Api
      summary: Retrieve weekly consumption forecasts for days D+3 to D+9.
      x-source: https://data.rte-france.com/catalog/-/api/doc/user-guide/Consumption/1.2
      parameters:
      - name: start_date
        in: query
        required: false
        schema:
          type: string
        description: Forecast search start date
      - name: end_date
        in: query
        required: false
        schema:
          type: string
        description: Forecast search end date
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOpenApiConsumptionV1WeeklyForecastsResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetOpenApiConsumptionV1AnnualForecastsResponse:
      type: object
      properties:
        annual_forecasts:
          type: array
          description: Table of values containing one occurrence
        start_date:
          type: string
          description: Start date for data requested
        end_date:
          type: string
          description: End date for data requested
        values:
          type: array
          description: One value per 1 week time interval
        average_load_saturday_to_friday:
          type: integer
          description: Average power for the week from Saturday to Friday midnight (in MW)
        average_load_monday_to_sunday:
          type: integer
          description: Average power for 8 AM - 8 PM, Monday to Sunday (in MW)
        weekly_minimum:
          type: integer
          description: Minimum weekly consumption (in MW)
        weekly_maximum:
          type: integer
          description: Maximum weekly consumption (in MW)
        forecast_margin:
          type: integer
          description: Year-ahead forecast margin (in MW)
    GetOpenApiConsumptionV1WeeklyForecastsResponse:
      type: object
      properties:
        weekly_forecasts:
          type: array
          description: Table of values containing one occurrence per returned forecast update date
        start_date:
          type: string
          description: Forecast search start date
        end_date:
          type: string
          description: Forecast search end date
        updated_date:
          type: string
          description: Data update date
        peak:
          type: object
          description: Object containing peak_hour, value, temperature, and temperature_deviation
        values:
          type: array
          description: One value per time interval with start_date, end_date, and value
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Open Api