{ "openapi": "3.0.0", "info": { "title": "Treibhausgas Emission", "description": "Emission von Treibhausgasen bei der Stromerzeugung in Deutschland. Vorhersage für die kommenden 36 Stunden für einzelne Orte und Historie ab dem Jahre 2017.", "termsOfService": "https://corrently.io/books/stromdao-gmbh/page/fair-use-policy", "contact": { "name": "STROMDAO GmbH", "url": "https://stromdao.de/", "email": "dev@stromdao.com" }, "version": "1.0.0" }, "externalDocs": { "description": "Öffentliche Dokumentation", "url": "https://corrently.io/books/treibhausgas-emission-strom" }, "servers": [ { "url": "https://api.corrently.io" } ], "paths": { "/v2.0/co2/power/germany": { "get": { "tags": [ "default" ], "summary": "Stromnetz Deutschland (Vergangenheit)", "description": "Hinweis: Das Datum sollte mindestens eine Woche in der Vergangenheit liegen, da erst zu diesem Zeitpunkt die endgültige Emission feststeht und alle Daten der Kraftwerksbetreiber vorliegen.", "parameters": [ { "name": "date", "in": "query", "description": "Datum für die Abgrafe im Format JJJJ-MM-DD\n", "required": false, "style": "form", "explode": true, "schema": { "type": "string" }, "example": "2022-09-30" } ], "responses": { "200": { "description": "OK", "headers": { "Date": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "Wed, 02 Nov 2022 16:58:43 GMT" } }, "Content-Type": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "application/json; charset=utf-8" } }, "Transfer-Encoding": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "chunked" } }, "Connection": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "keep-alive" } }, "x-request-id": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "530ec429-3004-4898-a708-c7e5cf0e5c1a" } }, "x-rate-limit-limit": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 30 } }, "x-rate-limit-remaining": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 29 } }, "x-rate-limit-reset": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 1667408363099 } }, "x-request-compute": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 10 } }, "x-request-transfer": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 76 } }, "x-sessioncredit-compute": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 89999999945 } }, "x-sessioncredit-transfer": { "style": "simple", "explode": false, "schema": { "type": "number", "example": -288 } }, "x-sessioncredit-start": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 1667407224040 } }, "access-control-allow-origin": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "*" } }, "etag": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "W/\"4c-BRYFG3J6TKUmUncy5f+l8I3USeQ\"" } }, "x-served-by": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "api.corrently.io" } }, "CF-Cache-Status": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "DYNAMIC" } }, "Report-To": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6uTev9Nab%2FFdoLfy%2B3iOGEXTdcZYK%2FJgKXZmAxWad7NNzXvtKhehrXRCXVipMZ%2BDejk%2FK3sREccRUssdomYjw5%2Fz%2FliPBHhBFNu0ey4t3ANQKofOJwmEYEBpjmq1nW1XXNBr\"}],\"group\":\"cf-nel\",\"max_age\":604800}" } }, "NEL": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}" } }, "Server": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "cloudflare" } }, "CF-RAY": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "763e6aa6beaf9a41-FRA" } }, "Content-Encoding": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "br" } }, "alt-svc": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400" } } }, "content": { "application/json": { "schema": { "type": "object" }, "example": { "totalCo2": 17555033594, "totalMwh": 38602723, "gPerkWh": 455, "date": "20220930" } } } } } } }, "/v2.0/co2/prediction": { "get": { "tags": [ "default" ], "summary": "Vorhersage der CO2 Emission (Strom) in den kommenden Stunden", "parameters": [ { "name": "zip", "in": "query", "description": "Postleitzahl eines Ortes in Deutschland", "required": false, "style": "form", "explode": true, "schema": { "type": "integer" }, "example": "69256" } ], "responses": { "200": { "description": "OK", "headers": { "Date": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "Wed, 02 Nov 2022 17:02:39 GMT" } }, "Content-Type": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "application/json; charset=utf-8" } }, "Transfer-Encoding": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "chunked" } }, "Connection": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "keep-alive" } }, "x-request-id": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "99641474-76a0-4413-a1b1-e2964cb93123" } }, "x-rate-limit-limit": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 30 } }, "x-rate-limit-remaining": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 29 } }, "x-rate-limit-reset": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 1667408598590 } }, "x-request-compute": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 67 } }, "x-request-transfer": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 5808 } }, "x-sessioncredit-compute": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 89999999846 } }, "x-sessioncredit-transfer": { "style": "simple", "explode": false, "schema": { "type": "number", "example": -11616 } }, "x-sessioncredit-start": { "style": "simple", "explode": false, "schema": { "type": "integer", "example": 1667408479481 } }, "access-control-allow-origin": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "*" } }, "Cache-Control": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "max-age=3600" } }, "etag": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "W/\"16b0-p0VTgMJ2Fh3NyofvPnI7cdKQrqM\"" } }, "x-served-by": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "api.corrently.io" } }, "CF-Cache-Status": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "DYNAMIC" } }, "Report-To": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=X0PRftxk%2BrcL6n6Fm25D9l%2Bh7FI3CVTlpx35TJhb0LxuIFKBHs32re6BBMB28k7dbc%2BNbdx5lFGkLUut4Z%2FwbqrmstqyMg5WCxEB%2BCIwcxMEVHrmO3SqjtY1IaabHXb0O0D0\"}],\"group\":\"cf-nel\",\"max_age\":604800}" } }, "NEL": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}" } }, "Server": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "cloudflare" } }, "CF-RAY": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "763e70666a569a41-FRA" } }, "Content-Encoding": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "br" } }, "alt-svc": { "style": "simple", "explode": false, "schema": { "type": "string", "example": "h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400" } } }, "content": { "application/json": { "schema": { "type": "object" }, "example": { "support": "If you have any question please contact dev@stromdao.com or visit https://premium.corrently.de/", "license": "CC BY-NC-SA 4.0 ( https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en )", "info": "https://corrently.io/books/stromdao-gmbh/page/fair-use-policy", "documentation": "https://corrently.io/books/grunstromindex", "forecast": [ { "epochtime": 1667412000, "gsi": 55, "timeStamp": 1667412000000, "energyprice": "-0.0300000", "co2_g_standard": 437, "co2_g_oekostrom": 32 }, { "epochtime": 1667415600, "gsi": 53, "timeStamp": 1667415600000, "energyprice": "-0.0300000", "co2_g_standard": 456, "co2_g_oekostrom": 33 }, { "epochtime": 1667419200, "gsi": 52, "timeStamp": 1667419200000, "energyprice": "-0.0300000", "co2_g_standard": 466, "co2_g_oekostrom": 34 }, { "epochtime": 1667422800, "gsi": 52, "timeStamp": 1667422800000, "energyprice": "-0.0300000", "co2_g_standard": 466, "co2_g_oekostrom": 34 }, { "epochtime": 1667426400, "gsi": 52, "timeStamp": 1667426400000, "energyprice": "-0.0300000", "co2_g_standard": 466, "co2_g_oekostrom": 34 }, { "epochtime": 1667430000, "gsi": 52, "timeStamp": 1667430000000, "energyprice": "-0.0300000", "co2_g_standard": 466, "co2_g_oekostrom": 34 }, { "epochtime": 1667433600, "gsi": 53, "timeStamp": 1667433600000, "energyprice": "-0.0300000", "co2_g_standard": 456, "co2_g_oekostrom": 33 }, { "epochtime": 1667437200, "gsi": 53, "timeStamp": 1667437200000, "energyprice": "-0.0300000", "co2_g_standard": 456, "co2_g_oekostrom": 33 }, { "epochtime": 1667440800, "gsi": 53, "timeStamp": 1667440800000, "energyprice": "-0.0300000", "co2_g_standard": 456, "co2_g_oekostrom": 33 }, { "epochtime": 1667444400, "gsi": 53, "timeStamp": 1667444400000, "energyprice": "-0.0300000", "co2_g_standard": 456, "co2_g_oekostrom": 33 }, { "epochtime": 1667448000, "gsi": 53, "timeStamp": 1667448000000, "energyprice": "-0.0300000", "co2_g_standard": 456, "co2_g_oekostrom": 33 }, { "epochtime": 1667451600, "gsi": 53, "timeStamp": 1667451600000, "energyprice": "-0.0300000", "co2_g_standard": 456, "co2_g_oekostrom": 33 }, { "epochtime": 1667455200, "gsi": 53, "timeStamp": 1667455200000, "energyprice": "-0.0300000", "co2_g_standard": 456, "co2_g_oekostrom": 33 }, { "epochtime": 1667458800, "gsi": 55, "timeStamp": 1667458800000, "energyprice": "-0.0300000", "co2_g_standard": 437, "co2_g_oekostrom": 32 }, { "epochtime": 1667462400, "gsi": 53, "timeStamp": 1667462400000, "energyprice": "-0.0300000", "co2_g_standard": 456, "co2_g_oekostrom": 33 }, { "epochtime": 1667466000, "gsi": 63, "timeStamp": 1667466000000, "energyprice": "-0.0300000", "co2_g_standard": 360, "co2_g_oekostrom": 27 }, { "epochtime": 1667469600, "gsi": 64, "timeStamp": 1667469600000, "energyprice": "-0.0300000", "co2_g_standard": 351, "co2_g_oekostrom": 27 }, { "epochtime": 1667473200, "gsi": 64, "timeStamp": 1667473200000, "energyprice": "-0.0300000", "co2_g_standard": 351, "co2_g_oekostrom": 27 }, { "epochtime": 1667476800, "gsi": 75, "timeStamp": 1667476800000, "energyprice": "-0.0300000", "co2_g_standard": 245, "co2_g_oekostrom": 20 }, { "epochtime": 1667480400, "gsi": 75, "timeStamp": 1667480400000, "energyprice": "-0.0300000", "co2_g_standard": 245, "co2_g_oekostrom": 20 }, { "epochtime": 1667484000, "gsi": 65, "timeStamp": 1667484000000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667487600, "gsi": 65, "timeStamp": 1667487600000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667491200, "gsi": 65, "timeStamp": 1667491200000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667494800, "gsi": 65, "timeStamp": 1667494800000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667498400, "gsi": 65, "timeStamp": 1667498400000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667502000, "gsi": 65, "timeStamp": 1667502000000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667505600, "gsi": 70, "timeStamp": 1667505600000, "energyprice": "-0.0300000", "co2_g_standard": 293, "co2_g_oekostrom": 23 }, { "epochtime": 1667509200, "gsi": 73, "timeStamp": 1667509200000, "energyprice": "-0.0300000", "co2_g_standard": 264, "co2_g_oekostrom": 21 }, { "epochtime": 1667512800, "gsi": 75, "timeStamp": 1667512800000, "energyprice": "-0.0300000", "co2_g_standard": 245, "co2_g_oekostrom": 20 }, { "epochtime": 1667516400, "gsi": 65, "timeStamp": 1667516400000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667520000, "gsi": 61, "timeStamp": 1667520000000, "energyprice": "-0.0300000", "co2_g_standard": 379, "co2_g_oekostrom": 28 }, { "epochtime": 1667523600, "gsi": 61, "timeStamp": 1667523600000, "energyprice": "-0.0300000", "co2_g_standard": 379, "co2_g_oekostrom": 28 }, { "epochtime": 1667527200, "gsi": 61, "timeStamp": 1667527200000, "energyprice": "-0.0300000", "co2_g_standard": 379, "co2_g_oekostrom": 28 }, { "epochtime": 1667530800, "gsi": 65, "timeStamp": 1667530800000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667534400, "gsi": 67, "timeStamp": 1667534400000, "energyprice": "-0.0300000", "co2_g_standard": 322, "co2_g_oekostrom": 25 }, { "epochtime": 1667538000, "gsi": 65, "timeStamp": 1667538000000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667541600, "gsi": 63, "timeStamp": 1667541600000, "energyprice": "-0.0300000", "co2_g_standard": 360, "co2_g_oekostrom": 27 }, { "epochtime": 1667545200, "gsi": 65, "timeStamp": 1667545200000, "energyprice": "-0.0300000", "co2_g_standard": 341, "co2_g_oekostrom": 26 }, { "epochtime": 1667548800, "gsi": 63, "timeStamp": 1667548800000, "energyprice": "-0.0300000", "co2_g_standard": 360, "co2_g_oekostrom": 27 }, { "epochtime": 1667552400, "gsi": 76, "timeStamp": 1667552400000, "energyprice": "-0.0300000", "co2_g_standard": 235, "co2_g_oekostrom": 19 }, { "epochtime": 1667556000, "gsi": 76, "timeStamp": 1667556000000, "energyprice": "-0.0300000", "co2_g_standard": 235, "co2_g_oekostrom": 19 }, { "epochtime": 1667559600, "gsi": 74, "timeStamp": 1667559600000, "energyprice": "-0.0300000", "co2_g_standard": 255, "co2_g_oekostrom": 21 } ], "location": { "zip": "69256", "city": "Mauer" } } } } } } } } }, "components": {} }