GrünstromIndex API

Beginner's Pick Environment / No Auth Required Beginner HTTP CORS
Free to Use 30 per window
96 A+
Measured Score 0 50 100 Speed 29/30 Consistency 17/20 Security 20/20 Browser access 15/15 Transparency 15/15 TESTED 2026-08-10

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.

JSON Response · Captured
{
  "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.

Request
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.

HTTP 404 Requesting a path that does not exist unknown

Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.

HTTP 500 Sending an invalid value for "zip" unknown

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.

Empty array in response The zip code is not recognized or outside Germany
Use a valid 5-digit German postal code; this API only covers the German electricity grid
CORS error in browser Some browser environments restrict cross-origin requests to this API
Make requests from a backend server rather than directly from client-side JavaScript in browsers
404 Not Found Incorrect endpoint URL path used
Use the correct base URL: https://api.corrently.io/v2.0/gsi/prediction with the zip query parameter

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 29/30
Consistency 17/20
Security 20/20
Browser access 15/15
Transparency 15/15
Endpoint Response Time 31ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS NO
CORS YES
Category Environment
Difficulty Beginner
Endpoint last called: 2026-08-10

Related Tags

Similar APIs

View All →