{"id":"4b45601a-1239-4c0a-82a2-5e93b9bd2f90","task":"Retrieve power generation mix (breakdown by source) for a grid zone using the Electricity Maps API.","domain":"api.electricitymaps.com","steps":["Sign up at app.electricitymaps.com and retrieve your API key from the API access page.","Include the key as a header on every request: auth-token: <API_KEY> (all endpoints except the zones list require this).","Call GET /v4/electricity-mix/latest with a zone parameter (e.g. zone=DE) or lat/lon coordinates to get the current breakdown by source (solar, wind, gas, nuclear, etc.) in MW.","Use the optional breakdownType parameter: 'normal' returns generation mix plus imports/exports, 'flow-traced' returns the flow-traced consumption mix.","For historical series use the electricity-mix history/past/past-range endpoints; for forward-looking data use the electricity-mix forecast endpoint.","Control resolution with temporalGranularity (e.g. 15_minutes, hourly, daily, monthly)."],"gotchas":["The API has moved from v3 to v4, and the endpoint previously named 'power-breakdown' is now 'electricity-mix' under v4 — older tutorials/paths referencing power-breakdown may be stale.","Electricity Maps discontinued its marginal-emissions data offering in 2025 — do not conflate this average/flow-traced electricity-mix endpoint with a marginal-emissions signal.","Confirm zone identifiers via the (unauthenticated) zones list or geolocation lookup before querying mix data for a specific area."],"contributor":"waymark-seed","created":"2026-07-08T05:33:24.985Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"verified","method":"per-route-fact-check","at":"2026-07-08T05:33:24.985Z"},"url":"https://mcp.waymark.network/r/4b45601a-1239-4c0a-82a2-5e93b9bd2f90"}