Skip to main content

Rebase Grid API

Open REST API for European power system and electricity market data: day-ahead prices, load, generation by type, wind and solar forecasts, cross-border flows, balancing and grid frequency. The data comes from ENTSO-E, TSOs and exchanges, in one schema.

No API key needed. Every endpoint answers without a key at 10 requests per minute. A free key raises the limit to 240 per minute.

In numbers

Counted from the live API on 10 November 2026 (GET /version, GET /entities):

Timeseries 77,146
Countries with data 36
Price zones (bidding zones) with data 51
Publishers 36: ENTSO-E Transparency Platform, Elexon BMRS, NESO, RTE, Fingrid, Energinet, Svenska kraftnät, Statnett, Elia, Terna, SMARD, eSett and others (full list with licences)
Power plants and generating units 57,622 plants, 99,207 units
Resolution as published: 15 minutes for most market series
History day-ahead prices for Germany-Luxembourg since the zone began in October 2018; older zones go back to 2015
Revisions kept every republished value since 3 September 2026
Price free, with or without a key

Try it

Day-ahead prices for Germany-Luxembourg, one day. This works as it is:

curl "https://grid.rebase.energy/api/v1/entities/DE-LU/timeseries/price.day_ahead.day_ahead_auction_price/values?provider=entsoe&start=2026-11-09T00:00:00Z&end=2026-11-10T00:00:00Z"
{
  "entity": "DE-LU",
  "name": "price.day_ahead.day_ahead_auction_price",
  "provider": "entsoe",
  "unit": "EUR/MWh",
  "resolution": "PT15M",
  "points": [
    {"valid_time": "2026-11-09T00:00:00Z", "value": 230.77, "knowledge_time": "2026-11-08T13:34:47.811427Z", "annotation": null}
  ]
}

Python

pip install git+https://github.com/rebase-energy/rebase-grid-api
from rebase_grid_api import GridAPI

grid = GridAPI()   # no key needed; GridAPI(api_key="...") for 240 requests per minute

# one timeseries as a pandas Series, indexed by UTC time
prices = grid.values("DE-LU", "price.day_ahead.day_ahead_auction_price",
                     start="2026-11-01", end="2026-11-08")

# several years in one call: the client splits the range into requests for you
load = grid.values("DE-LU", "consumption.realised_load.total_load",
                   start="2023-01-01", end="2026-07-01")

grid.search("SE-SE3", category="price", q="day-ahead")   # find timeseries names
grid.timeseries("DE-LU")                                 # everything on one entity
grid.entities()                                          # countries, zones, borders
grid.frequency()                                         # live grid frequency

The client waits and retries when the rate limit is reached, and picks the provider for you when only one organisation publishes a series. It is one file, src/rebase_grid_api/client.py.

The API is plain HTTP, so requests alone works too:

import requests

r = requests.get(
    "https://grid.rebase.energy/api/v1/entities/DE-LU/timeseries/price.day_ahead.day_ahead_auction_price/values",
    params={"provider": "entsoe", "start": "2026-11-01T00:00:00Z", "end": "2026-11-08T00:00:00Z"},
)
points = r.json()["points"]   # [{"valid_time": ..., "value": ..., "knowledge_time": ...}, ...]

What to ask for

Every call has the same shape: GET /entities/{entity}/timeseries/{name}/values?provider=…&start=…&end=…

Data Entity Timeseries name Provider
Day-ahead price DE-LU price.day_ahead.day_ahead_auction_price entsoe
Load (consumption) DE-LU consumption.realised_load.total_load entsoe
Day-ahead load forecast DE-LU consumption.load_forecast.day_ahead_total_load_forecast entsoe
Generation by type DE-LU production.realised_output.actual_generation_per_type.wind_onshore (also solar, nuclear, fossil_gas, …) entsoe
Solar forecast DE-LU production.forecast.solar_generation_forecast.day_ahead entsoe
Wind forecast DE-LU production.forecast.wind_generation_forecast.onshore_day_ahead entsoe
Cross-border physical flow border:FI~SE-SE3 exchange.physical_flow.physical_flow entsoe
Grid frequency (live) — GET /views/frequency —

Price zones use ids such as DE-LU, FR, SE-SE3, NO-NO1, DK-DK1. A name is the same in every zone.

Find more

# every entity: countries, price zones, borders, plants
curl "https://grid.rebase.energy/api/v1/entities"

# every timeseries on one entity, with its providers
curl "https://grid.rebase.energy/api/v1/entities/DE-LU/timeseries"

# search by keyword
curl "https://grid.rebase.energy/api/v1/timeseries?entity=SE-SE3&category=price&q=day-ahead"

Limits

Without a key With a free key
Requests 10 per minute per IP address 240 per minute
Data all all
Points per request 100,000 100,000

When the limit is spent the API answers 429 with Retry-After and a message that says how to get a key. Request one here: https://rebase-energy.notion.site/3798f95cc39b802f8672eb93c6ab77c5?pvs=105 and send it in the X-API-Key header.

What you get

  • Values as the provider published them: not filled, smoothed or estimated.
  • Every value carries the time it became known (knowledge_time), and revisions are kept as versions. as_of returns the data as it was known at any past instant.
  • Each response names the publisher's licence and the credit line to show.

Licence

The code and examples in this repository are under the MIT licence. The data the API returns stays under each publisher's own terms, named in the licence field of every response and on the Sources page.

Metadata

Release files for rebase-grid-api 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rebase-grid-api 0.1.0
File Size Uploaded Provenance Actions
rebase_grid_api-0.1.0.tar.gz 8.5 kB Without provenance Details for rebase_grid_api-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rebase-grid-api 0.1.0
File Interpreter ABI Platform Actions
rebase_grid_api-0.1.0-py3-none-any.whl Python 3 none any Details for rebase_grid_api-0.1.0-py3-none-any.whl

Total release size: 16.4 kB

Release files / rebase_grid_api-0.1.0.tar.gz

Download URL rebase_grid_api-0.1.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2a772ef4af9bcf5c1e92433003a7d76e1c0c3f4289b81078e29303f3e140c521
BLAKE2b-256 checksum
How to use checksums
b07354fe291e6eb633b592283635d0cc74b28aaf4e007dec4229f87b358371a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / rebase_grid_api-0.1.0-py3-none-any.whl

Download URL rebase_grid_api-0.1.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8efe8f2ff45833ac42e8e6acc92f354725e878660a4689ac7b524d72043ee826
BLAKE2b-256 checksum
How to use checksums
6ea07e13a02429fb57dd58d4ecaccfbae3419cb044c47f634ed0d5d567adcc21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for rebase-grid-api 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page