Energy
Hourly
Hourly energy forecasts.
get/api/v1/energy/forecast/hourly/{location}
Request
- Base URL: https://weatherapi.foreca.net
- URL: https://weatherapi.foreca.net/api/v1/energy/forecast/hourly/{location}
- Auth: HTTP bearer
Path parameters
locationstring required
"Longitude,latitude" or location identifier (id) from the location endpoint
Query parameters
periodsstring
Number of time steps (default 220, maximum 350, may contain 345...350 steps)
tzstring
Time zone in response (IANA time zone database names)
tempunitstring
Temperature unit: "C", "F" (default "C")
Response
Success
Example response
{
"forecast": [
{
"dewPoint": 0.7,
"relHumidity": 83,
"ssrd": 351,
"temperature": 3.32,
"time": "2025-04-09T16:00+03:00",
"windd_h100": 298.24,
"windd_h150": 301.07,
"windd_h200": 303.57,
"winds_h100": 12.78,
"winds_h150": 13.63,
"winds_h200": 14.52
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.