GET /api/v1/cities/{slug}/power-price
Day-ahead wholesale electricity price, nationwide (SMARD, Tier A)
Day-ahead wholesale electricity price of the DE/LU bidding zone as a daily value in EUR/MWh (nationwide, identical for all cities). Source: Bundesnetzagentur | SMARD.de.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/power-price"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/power-price");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/power-price")
res.raise_for_status()
print(res.json())