Green Power Index (GSI)

Retrieve and update Green Power Index (Germany Only). ( https://corrently.de/gsi/ ). Designed to be used as a oracle service for dynamic energy pricing based on local market conditions.

get
API Endpoint

https://api.corrently.io/core/gsi
This endpoint allows you to get free cakes.
Request
Response
Request
Query Parameters
in
optional
integer
Limits forecast period to look for ontime. Only available if "for" parameter is set.
for
optional
integer
Number of hours a device requires to be on. If specified "forin" will be
plz
required
string
ZIP Code in Germany to get Green Power Index Forecast
account
optional
string
Corrently Account to retrieve and update green power index.
Response
200: OK
GSI retrieved
{
forecast: [
{
epochtime: "1543107600",
eevalue: 60
},
{
epochtime: "1543111200",
eevalue: 75
},
...
],
updated: 1543111047374,
lastReading: 10972280,
plz: "69256",
points: 0
}
404: Not Found
Unable to find ZIP
{
"message": "Ain't no cake like that."
}