Register on the ENTSO-E Transparency Platform and request API access; upon approval you receive a security token sent to your registered email.
Construct GET requests to https://web-api.tp.entsoe.eu/api with required parameters: securityToken=<TOKEN>, documentType (e.g., A75 for actual generation per type), periodStart and periodEnd in UTC format YYYYMMDDHHMM, and in_Domain or out_Domain using ENTSO-E area EIC codes.
Parse the XML response (GL_MarketDocument or similar) using the correct namespace; extract TimeSeries elements, then Period, then Point elements with position and quantity fields, mapping positions to timestamps using the resolution and period start.
For day-ahead prices, use documentType=A44 with in_Domain and out_Domain set to the relevant bidding zone EIC code (e.g., 10YDE-EON------1 for Germany-TenneT).
Handle large time ranges by splitting requests into intervals no larger than what the API accepts per call; the maximum range varies by document type (often one year for some, one day for high-resolution data).
Known gotchas
EIC area codes are required for domain parameters and are not the same as ISO country codes; using a country code instead of the correct EIC will return an error — look up codes in the ENTSO-E area code list before building queries.
The API returns HTTP 200 even for error conditions; the actual error (such as 'No matching data found') is embedded in the XML body as an Acknowledgement_MarketDocument — always check for this pattern rather than assuming a 200 means valid data.
Timestamps in the response are always UTC but the resolution (PT15M, PT60M, P1D) must be used to reconstruct actual timestamps from position integers — off-by-one errors are common when developers assume position 1 = start time rather than the interval beginning at start time + (position-1)*resolution.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp