Get access to real-time and forecasts of Renewable Energy Generation for Germany
Real-time energy data for Germany
24-hour carbon intensity forecasts
Regional energy optimization
Click on any endpoint to see detailed information
POST /green
Best times for renewable energy (Germany only)
Returns the optimal times when electricity in the grid comes from the cleanest, most renewable sources. Perfect for scheduling energy-intensive activities.
region
(required) -
One of the following regions: Amprion, 50Hertz, TenneT, TransnetBW{
"region": "Amprion"
}
{
"message": "Forecast data generated successfully for region: Amprion",
"start_green": "2025-07-16 11:00:00",
"end_green": "2025-07-16 17:00:00"
}
POST /red
Avoid high carbon intensity times (Germany only)
Identifies periods when electricity in the grid comes from the least clean, most carbon-intensive sources. Avoid these times for energy-intensive activities.
region
(required) -
One of the following regions: Amprion, 50Hertz, TenneT, TransnetBW{
"region": "Amprion"
}
{
"message": "Forecast data generated successfully for region: Amprion",
"start_red": "2025-07-16 22:00:00",
"end_red": "2025-07-17 01:00:00"
}
POST /forecast
24-hour forecast with recommendations (Germany only)
Provides a comprehensive 24-hour forecast with green and red time periods, carbon intensity predictions, and personalized recommendations for optimal energy usage.
region
(required) -
One of the following regions: Amprion, 50Hertz, TenneT, TransnetBW{
"region": "Amprion"
}
{
"message": "Forecast data generated successfully for region: 50Hertz",
"forecast_result": "To avoid carbon emissions, we recommend using electricity in the following time frame/s: 10:00 to 16:00. We recommend to avoid using electricity in the following time frame/s: 20:00 to 23:00",
"generation_data": [
{
"Wind Generation": 3723.0,
"timestamp": "2025-07-16 01:00:00"
},
{
"Wind Generation": 3647.0,
"timestamp": "2025-07-16 02:00:00"
},
{
"Wind Generation": 3565.75,
"timestamp": "2025-07-16 03:00:00"
}
]
}
POST /carbon-bands
Get green energy time bands by location (all countries)
Returns time bands for optimal (green) and suboptimal (red) electricity usage periods for a specific geographic location. Perfect for scheduling energy-intensive activities during renewable energy peaks and avoiding high-carbon periods.
lat
(required) - Latitude coordinatelng
(required) - Longitude coordinatecountryCode
(required) - ISO country code (e.g., "DE", "US", "FR")
{
"lat": "52.05501097848496",
"lng": "-70.13671875000001"
}
{
"country": "DE"
}
{
"message": "Carbon bands generated successfully",
"greenBands": [
{
"start": "2025-09-29T05:00:00.000Z",
"end": "2025-09-29T09:00:00.000Z"
},
{
"start": "2025-09-30T23:00:00.000Z",
"end": "2025-10-01T01:00:00.000Z"
}
],
"redBands": [
{
"start": "2025-09-29T16:00:00.000Z",
"end": "2025-09-29T19:00:00.000Z"
}
]
}
Provide your details below to receive a free API key
API Key Security
Include your API key in the Authorization header as "Bearer <your-key>" for all requests.