{"uid":"cap_q67KMPtl4RkA-YCHlFKHa","slug":"gridhub-generation-data-by-zone-5c9c8345","name":"GridHub Generation Data by Zone","description":"Live wholesale electricity prices, demand, and generation mix across 25 grids in the US, UK, Australia, and Europe. Pay-per-call API access from $0.001.","url":"https://api.grid-hub.app/v1/generation/%7Bzone%7D","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["zone"],"properties":{"zone":{"enum":["US-CAISO","US-ERCOT","US-PJM","US-MISO","US-NYISO","US-ISONE","US-SPP","GB","AU-NSW","AU-QLD","AU-VIC","AU-SA","AU-TAS","DE-LU","FR","ES","IT-NO","NL","BE","PL","SE-3","NO-2","DK-1","AT","CH"],"type":"string","description":"Zone id from /v1/zones"}}},"queryParams":{"type":"object","properties":{"end":{"type":"string","description":"Window end, Unix seconds"},"limit":{"type":"string","description":"Max rows (up to 5000)"},"start":{"type":"string","description":"Window start, Unix seconds"},"sample":{"enum":["true"],"type":"string","description":"Free truncated sample, no payment or credentials"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[{"ts":1787961600,"unit":"GBP/MWh","value":88.76},{"ts":1787963400,"unit":"GBP/MWh","value":91.2}],"zone":"GB","count":2,"metric":"generation","license":"NESO-Open-Licence","attribution":"Supported by National Energy SO Open Data"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o2Z7kqcA3ttbWZVJ0yIy3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live electricity generation mix time series data for a specified grid zone across 25 supported regions in the US, UK, Australia, and Europe.","exampleAgentPrompt":"Can you pull the latest electricity generation data for the GB zone from GridHub for the last 6 hours?","exampleUseCases":[{"title":"Real-time renewable generation tracking","prompt":"Show me the electricity generation data for the California CAISO grid right now — I want to see what's being generated and in what units."},{"title":"Cross-grid energy market comparison","prompt":"Fetch the generation mix for the French grid and the German DE-LU zone for the past 3 hours so I can compare output levels."},{"title":"Automated grid monitoring alert","prompt":"Pull the most recent generation readings for the Texas ERCOT zone every 15 minutes and alert me if the values drop significantly."}],"resultDescription":"Returns a JSON object containing an array of time-series data points, each with a Unix timestamp, generation value, and unit (e.g. GBP/MWh or MW), along with the zone identifier, metric type ('generation'), record count, license type, and attribution string.","failureModes":["Invalid or unsupported zone ID returns an error — must match one of the 25 supported enum values","Missing required zone path parameter causes a 400 or 404 response","Start/end timestamps out of valid range may return empty data or an error","Unpaid requests without the 'sample=true' query param will receive a 402 Payment Required response","Rate limiting or payment failure may block access","Limit exceeding 5000 rows is rejected"],"whenToPreferThis":"Use this endpoint when you need live or near-real-time electricity generation time series data for a specific grid zone. It is best suited for monitoring current grid output, building dashboards, or triggering workflows based on real-time generation levels. Prefer this over the historical price endpoint when recency matters and over the snapshot endpoint when you need multiple data points rather than a single current value.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:22.634Z","isFirstParty":false}