Elhub energy data
Measured electricity consumption and production per price area, municipality and customer group, exchange between areas and installed capacity per source.
Explore in the wiki
All lookup operations
Open HTML operations for navigation. The JSON link for each operation is only for programmatic data access.
Building software or a dashboard? List operation names as JSON, then open the selected operation's descriptor before fetching data.
-
get_consumption– Get measured electricity consumption (kWh) per price area and customer group, hourly or summed per day.
HTML GET template -
get_production– Get measured electricity production (kWh) per price area and source, hourly or summed per day.
HTML GET template -
get_exchange– Get measured electricity exchange (kWh) between one price area and each of its neighbours, hourly or summed per day.
HTML GET template -
get_municipality_consumption– Get one day of measured electricity consumption (kWh) for a municipality, hourly, split into private, industry and business customers.
HTML GET template -
get_installed_capacity– Get installed electricity production capacity (kW) per price area, source and metering-point type, as registered in Elhub for one day.
HTML GET template
Programmatic access
First confirm the operation and parameters in HTML, then use the read-only JSON API.
Does the client support MCP? Find the corresponding Allemannsdata server and registered tools.
How an AI agent should use this page
Ground rule: Navigate with HTML GET links to keep explanations and relationships. Use the page's JSON alternative only when concrete values must be extracted, compared or computed.
How to use Elhub energy data
Measured electricity consumption and production per price area, municipality and customer group, exchange between areas and installed capacity per source. Choose a search lookup first when you lack an identifier; use a detail lookup when you already have a stable ID.
- Read requirements, cache time and known usage limits.
- Open the lookup and use the HTML GET template.
- Follow normalized result links onward; use JSON only for structured data work.
Related sources and scope
AI agent? Read the complete navigation and programming guide.