European electricity spot price & weather data — v0.1.0
https://energy.lavantsystems.com/api/v1
No authentication required. All responses are JSON with Access-Control-Allow-Origin: *.
Returns all configured energy markets.
None
{
"markets": [
{
"code": "AT",
"name": "Austria",
"timezone": "Europe/Vienna",
"resolution_minutes": 60,
"currency": "EUR"
},
{
"code": "DE",
"name": "Germany",
"timezone": "Europe/Berlin",
"resolution_minutes": 60,
"currency": "EUR"
},
{
"code": "GB",
"name": "Great Britain",
"timezone": "Europe/London",
"resolution_minutes": 30,
"currency": "GBP"
}
]
}
Query spot prices for a market within a date range (max 7 days). Defaults to today (UTC).
| Name | Type | Description | |
|---|---|---|---|
market | string | required | Market code: AT, DE, GB |
| Name | Type | Description | |
|---|---|---|---|
start | string | optional | Start date (YYYY-MM-DD or RFC 3339) |
end | string | optional | End date (YYYY-MM-DD or RFC 3339) |
source | string | optional | Filter by source: awattar, elexon |
type | string | optional | Filter by price type: day_ahead, system |
{
"market": "AT",
"start": "2026-07-09T00:00:00Z",
"end": "2026-07-10T00:00:00Z",
"count": 24,
"prices": [
{
"market": "AT",
"interval_start": "2026-07-09T00:00:00Z",
"interval_end": "2026-07-09T01:00:00Z",
"price_mwh": 85.42,
"source": "awattar",
"price_type": "day_ahead"
}
]
}
Returns the single most recent price record for the given market.
| Name | Type | Description | |
|---|---|---|---|
market | string | required | Market code: AT, DE, GB |
{
"market": "AT",
"interval_start": "2026-07-09T12:00:00Z",
"interval_end": "2026-07-09T13:00:00Z",
"price_mwh": 92.15,
"source": "awattar",
"price_type": "day_ahead"
}
Returns min, max, and average price for a date range. Defaults to today (UTC).
| Name | Type | Description | |
|---|---|---|---|
market | string | required | Market code |
| Name | Type | Description | |
|---|---|---|---|
start | string | optional | Start date (YYYY-MM-DD) |
end | string | optional | End date (YYYY-MM-DD) |
{
"market": "AT",
"min_mwh": 45.20,
"max_mwh": 132.80,
"avg_mwh": 88.50,
"intervals": 24
}
Returns hourly weather observations for a market within a date range (max 7 days). Defaults to today (UTC).
| Name | Type | Description | |
|---|---|---|---|
market | string | required | Market code |
| Name | Type | Description | |
|---|---|---|---|
start | string | optional | Start date (YYYY-MM-DD or RFC 3339) |
end | string | optional | End date (YYYY-MM-DD or RFC 3339) |
{
"market": "AT",
"start": "2026-07-09T00:00:00Z",
"end": "2026-07-10T00:00:00Z",
"count": 24,
"weather": [
{
"market": "AT",
"interval_start": "2026-07-09T00:00:00Z",
"temperature": 18.5,
"wind_speed": 3.2,
"solar_radiation": 0.0,
"cloud_cover": 45.0,
"precipitation": 0.0,
"source": "open_meteo"
}
]
}
Returns both price and weather data for a market and date range in a single response.
| Name | Type | Description | |
|---|---|---|---|
market | string | required | Market code |
| Name | Type | Description | |
|---|---|---|---|
start | string | optional | Start date |
end | string | optional | End date |
source | string | optional | Filter price source |
type | string | optional | Filter price type |
{
"market": "AT",
"start": "2026-07-09T00:00:00Z",
"end": "2026-07-10T00:00:00Z",
"price_count": 24,
"weather_count": 24,
"prices": [ ... ],
"weather": [ ... ]
}
Returns API and database status, plus last successful ingest run.
None
{
"status": "ok",
"db": true,
"last_ingest": "2026-07-09T12:05:00Z",
"last_source": "awattar"
}
| Field | Type | Description |
|---|---|---|
market | string | Market code (AT, DE, GB) |
interval_start | RFC 3339 | Start of pricing interval |
interval_end | RFC 3339 | End of pricing interval |
price_mwh | float | Price in local currency per MWh |
source | string | Data source (awattar, elexon) |
price_type | string | Price type (day_ahead, system) |
| Field | Type | Description |
|---|---|---|
market | string | Market code |
interval_start | RFC 3339 | Observation hour |
temperature | float? | Temperature in °C |
wind_speed | float? | Wind speed in m/s |
solar_radiation | float? | Solar radiation in W/m² |
cloud_cover | float? | Cloud cover in % |
precipitation | float? | Precipitation in mm |
source | string | Data source |
| Field | Type | Description |
|---|---|---|
market | string | Market code |
min_mwh | float | Minimum price per MWh |
max_mwh | float | Maximum price per MWh |
avg_mwh | float | Average price per MWh |
intervals | int | Number of price intervals |
| Field | Type | Description |
|---|---|---|
error | string | Error message |
EnergyAPI v0.1.0 — Lavant Systems, Wolfsberg, Austria