Connect with REST API
Our forecasting API is free and open to use by everyone. Feel free to use it and combine with your application.
IMPORTANT! As we are still in demo-phase, we do not guarantee full stability of the API and connection!
METHOD: POST
Headers:
Content-Type: application/json
URL:
http://greenenergydata19892023.dev-bay.com/power-forecast
Body pattern:
{"country":["country_iso_code_1", "country_iso_code_2"]}
Body example:
- All JSON entries with forecast data are always in a hourly intervals.
wind_power
- this param is a forecasted value of electric power production in MW (megawatts) in a given hours.time_iso
- gives accurate time of forecast in UTC-0 timezone.time
- human readable accurate time of forecast in UTC-0 timezone.forecast_start_time
- start of the forecast, time in UTC-0 timezone.
{"country":["HU"]}
Response example:
{
"res": {
"data": [
{
"country_code": "HU",
"wind_power": 25.187473,
"time_iso": "2024-01-18T21:00:00.000Z",
"time": "18 Jan 22:00",
"forecast_start_time": "2024-1-13 01:00"
},
{
"country_code": "HU",
"wind_power": 25.513737,
"time_iso": "2024-01-18T22:00:00.000Z",
"time": "18 Jan 23:00",
"forecast_start_time": "2024-1-13 01:00"
},
{
"country_code": "HU",
"wind_power": 23.229898,
"time_iso": "2024-01-18T23:00:00.000Z",
"time": "19 Jan 00:00",
"forecast_start_time": "2024-1-13 01:00"
},
{
"country_code": "HU",
"wind_power": 137.16081,
"time_iso": "2024-01-18T21:00:00.000Z",
"time": "18 Jan 22:00",
"forecast_start_time": "2024-1-14 01:00"
}
]
}
}