Past
/v4/price-day-ahead/pastGet the day-ahead price for a zone at a given datetime
Query Parameters
An Electricity Maps zone key.
The datetime to get the data for. By default this needs to be the specific hour unless another temporal granularity is requested.
The temporal granularity of the data to get.
Latitude of the location to get the data for.
Longitude of the location to get the data for.
If true, the fallback IP-based zone lookup will not be performed.
If true, the response will exclude estimated data points
The type of emission factors to use.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v4/price-day-ahead/past?datetime=2024-05-19T03%3A00%3A00Z"{ "zone": "DK-DK2", "datetime": "2024-05-19T03:00:00.000Z", "createdAt": "2024-05-16T03:48:50.419Z", "updatedAt": "2025-07-25T12:32:42.039Z", "value": 100, "unit": "EUR/MWh", "source": "settled_and_published_price", "temporalGranularity": "hourly", "aggregationPeriod": "hourly"}Playground
/v4/price-day-ahead/pastHistory GET
Get the last 24 hours of day-ahead price for a zone
Past range GET
Get the day-ahead price for a zone and a given datetime range. > [!CAUTION] > The time range is limited to 10 days (240 hours) for an hourly granularity, and to 100 days for a daily granularity. > If you need more data, **you can loop over time ranges**.