Red Electrica (e-sios) Archives API

The Archives API from Red Electrica (e-sios) — 2 operation(s) for archives.

Operations 2

GET /archives Getting a list of archives #
GET /archives/{archiveId}/{archiveIdId} GET /archives/{archiveId}/download #

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/esios-red-electrica-archives-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

esios-red-electrica-archives-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Red Electrica (e-sios) archive Archives API
  version: '2026-09-22'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-09-22: 3 operation(s) read from 3 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; archiveIdId has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 2
    documentation: 8
    pages-with-code: 40
    pages-read: 40
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-09-22'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://api.esios.ree.es/doc/archive/download_archive.html
  - https://api.esios.ree.es/doc/archive/getting_a_list_of_archives.html
  - https://api.esios.ree.es/doc/archive/getting_json_data_for_calculations_by_id_archive,_start_date,_end_date.html
  x-docs-section: archive
security:
- apiKey: []
tags:
- name: Archives
paths:
  /archives:
    get:
      operationId: get_archives
      tags:
      - Archives
      summary: Getting a list of archives
      description: GET /archives returns a JSON body containing an array of archives and meta information.
      x-source: https://api.esios.ree.es/doc/archive/getting_a_list_of_archives.html
      parameters:
      - name: locale
        in: query
        required: false
        schema:
          type: string
        description: 'Get translations for sources (es, en). Default language: es'
      - name: taxonomy_terms
        in: query
        required: false
        schema:
          type: string
        description: Taxonomy terms associated with the archive
      - name: vocabularies
        in: query
        required: false
        schema:
          type: string
        description: Vocabularies associated with the archive
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetArchivesResponse'
      x-evidence:
        kind: documentation
  /archives/{archiveId}/{archiveIdId}:
    get:
      operationId: get_archives_archiveId_archiveIdId
      tags:
      - Archives
      summary: GET /archives/{archiveId}/download
      x-source: https://api.esios.ree.es/doc/archive/download_archive.html
      parameters:
      - name: archiveId
        in: path
        required: true
        schema:
          type: string
      - name: archiveIdId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetArchivesArchiveidArchiveididResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl

          Download link: https://api.esios.ree.es/archives/87/download

          Response

          Headers

          Status

          200'
        collapsed_from: 2 example path(s) differing only at archiveIdId
components:
  schemas:
    GetArchivesArchiveidArchiveididResponse:
      type: object
      properties:
        Indicadores:
          type: string
        31/03/2014:
          type: string
        01/04/2014:
          type: string
    GetArchivesResponse:
      type: object
      properties:
        archives:
          type: array
          description: List of archive objects
        meta:
          type: object
          description: Metadata about the response
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key