Hourly
Hourly forecasts, up to 7 days. The values represent the conditions at the associated timestamp unless otherwise specified.
Request
- Base URL: https://weatherapi.foreca.net
- URL: https://weatherapi.foreca.net/api/v1/forecast/hourly/{location}
- Auth: HTTP bearer
Path parameters
"Longitude,latitude" or location identifier (id) from the location endpoint
Query parameters
Number of time steps (default 24, maximum 169)
Altitude in meters
Temperature unit: "C", "F" (default "C")
Wind unit: "MS" (m/s), "KTS" (knots), "KMH" (km/h), or "MPH" (mph) (default m/s)
Time zone in response (IANA time zone database names)
Variable set: "standard" or "full" (default "standard")
History: whether to include past 24 hours (1 or 0, default 0)
Language (ISO 639-1 codes). Options: ar, bg, bn, ca, cs, da, de, el, en, en_gb = en, en_us = en, es, et, fa, fi, fr, gu, he, hi, hr, hu, id, is, it, ja, kn, ko, lt, lv, ml, nb, nl, no, pa, pl, pt = pt_pt, pt_br, pt_pt, ro, ru, sk, sq, sr, sv, ta, te, th, tr, uk, vi, zh (Simplified Chinese), zh_hk (Traditional Chinese). (default en)
Rounding of some variables to nearest integer: 0 or 1 (default 1 for no decimals)
Response
Success
Example response
{
"forecast": [
{
"time": "2021-12-20T13:00+04:00",
"symbol": "d400",
"symbolPhrase": "overcast",
"temperature": -0.78,
"feelsLikeTemp": -6,
"windSpeed": 4.68,
"windGust": 10.43,
"relHumidity": 73,
"dewPoint": -3.59,
"windDir": 250,
"windDirString": "W",
"precipProb": 44,
"precipAccum": 0.01,
"snowAccum": 0.01,
"cloudiness": 99,
"pressure": 994.789,
"visibility": 26554,
"precipType": "snow",
"solarRadiation": 140,
"snowDepth": 12
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.