GrünstromIndex API
Overview
GrünstromIndex (Green Power Index) provides real-time and forecast data about the proportion of renewable energy in the German electricity grid. It is completely free with no API key required and returns a simple score between 0 and 100 for any German postal code. Developers can use it to schedule energy-intensive tasks during greener grid periods.
Beginner Tip
No sign-up needed — just query by German zip code to get a green energy score from 0 (very dirty grid) to 100 (fully renewable). Use the forecast endpoint to find the greenest time window for running energy-intensive jobs.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET https://api.corrently.io/v2.0/gsi/prediction?zip=69168
- Result
- HTTP 200 · application/json · 46,626 bytes · compressed
- Response time
- 31 ms (median of 3) · fastest 27 ms
- Transport
- TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
- Browser CORS
- Allowed — Access-Control-Allow-Origin: *
- Rate limit
- 30 per window
- Served by
- cloudflare
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| support | string | If you have any question please contact dev@s… |
| info | string (url) | https://corrently.io/books/stromdao-gmbh/page… |
| documentation | string (url) | https://corrently.io/books/grunstromindex |
| commercial | string (url) | https://corrently.energy/products/corrently-a… |
| signee | string | 0xE7Fe0626D7B8e3F2e5ECD146F9b11daac1DBE447 |
| forecast | array | [1 item] |
| location | object | {3 fields} |
| provisioning | object | {5 fields} |
Captured Response
Captured from a real request to https://api.corrently.io/v2.0/gsi/prediction?zip=69168 on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
{
"support": "If you have any question please contact [email protected] or visit https://premium.corrently.de/",
"info": "https://corrently.io/books/stromdao-gmbh/page/fair-use-policy",
"documentation": "https://corrently.io/books/grunstromindex",
"commercial": "https://corrently.energy/products/corrently-apis-rate-limit-erhohung",
"signee": "0xE7Fe0626D7B8e3F2e5ECD146F9b11daac1DBE447",
"forecast": [
{
"epochtime": 1786384800,
"eevalue": 28,
"ewind": 28,
"esolar": 9,
"ensolar": 9,
"enwind": 28,
"sci": 30,
"gsi": 26.599999999999998,
"timeStamp": 1786384800000,
"energyprice": "-0.0140000",
"co2_avg": 256,
"co2_g_standard": 214,
"co2_g_oekostrom": 49,
"timeframe": {
"…": "(2 more fields)"
},
"…": "(3 more fields)"
}
],
"location": {
"zip": "69168",
"city": "Wiesloch",
"signature": "0x53069b125543c74d379221a597d593d702577c7bb579a40fa3fc470e036e3e723c735fe3184828326edaf5ed9f84b2a47a20da8c3e797bc8259d7b97f1ca30021b"
},
"provisioning": {
"warning": "Deprecation of usage without token! Get your token at https://console.corrently.io/ .",
"source": "CloudFlare-IP",
"license": "CC BY-NC-SA 4.0 ( https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en )",
"tier": "authenticated",
"info": "Anonmous access"
}
} Field Reference
gsi Green Power Index score from 0 to 100; higher values mean more renewable energy in the local grid timeStamp Unix timestamp (milliseconds) for the forecast data point zip The German postal code for which the green energy data is calculated Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://api.corrently.io/v2.0/gsi/prediction?zip=69168";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
How This API Fails
We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.
Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.
Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →CO2 Offset
⭐ Beginner's PickCO2 Offset API calculates and validates the carbon footprint of electricity consumption using the Sustainable Scope 2 framework.
Danish data service Energi
Danish data service Energi provides programmatic access to open energy data from energinet to society via REST API.
Luchtmeetnet
⭐ Beginner's PickLuchtmeetnet API provides real-time and predicted air quality measurements from the official Dutch national air quality monitoring network (RIVM).
PM2.5 Open Data Portal
⭐ Beginner's PickPM2.5 Open Data Portal provides free access to low-cost PM2.5 (fine particulate matter) sensor data from the LASS community network across Asia, particularly Taiwan.
Carbon Interface
Carbon Interface API calculates estimated CO2 emissions for common activities such as electricity usage, flights, vehicle travel, and shipping.