v1
latestOpenAPI 3.1.02026-07-24200331.1 KBWeather Forecast
get/weather/forecast
Query parameters
locationstring required
timestepsstring[]
Timesteps includes: hourly: "1h", daily: "1d"
unitsstring
Unit system of the field values, either "metric" or "imperial" - see Field Descriptors
Headers
accept-encodingstring required
Response
200
Example response
{
"timelines": {
"minutely": [
{
"time": "2025-02-09T08:05:00Z",
"values": {
"cloudBase": 0.2,
"cloudCeiling": 0.2,
"cloudCover": 100,
"dewPoint": -5.3,
"hailProbability": 91.4,
"hailSize": 1.13,
"humidity": 88,
"pressureSeaLevel": 1009,
"pressureSurfaceLevel": 995,
"temperature": -3.6,
"temperatureApparent": -10.1,
"visibility": 14.73,
"weatherCode": 1001,
"windDirection": 85,
"windGust": 6.8,
"windSpeed": 6.1
}
}
],
"hourly": [
{
"time": "2025-02-09T08:00:00Z",
"values": {
"cloudBase": 0.2,
"cloudCeiling": 0.2,
"cloudCover": 100,
"dewPoint": -5.3,
"evapotranspiration": 0.009,
"hailProbability": 66.9,
"hailSize": 9.92,
"humidity": 88,
"pressureSeaLevel": 1009,
"pressureSurfaceLevel": 995,
"snowAccumulationLwe": 0.47,
"temperature": -3.6,
"temperatureApparent": -10.1,
"visibility": 14.73,
"weatherCode": 1001,
"windDirection": 85,
"windGust": 6.8,
"windSpeed": 6.1
}
}
],
"daily": [
{
"time": "2025-02-08T11:00:00Z",
"values": {
"cloudBaseAvg": 0.4,
"cloudBaseMax": 0.8,
"cloudBaseMin": 0.1,
"cloudCeilingAvg": 0.4,
"cloudCeilingMax": 0.9,
"cloudCoverAvg": 96,
"cloudCoverMax": 100,
"cloudCoverMin": 13,
"dewPointAvg": -6.7,
"dewPointMax": -3.9,
"dewPointMin": -9.6,
"evapotranspirationAvg": 0.021,
"evapotranspirationMax": 0.072,
"evapotranspirationMin": 0.009,
"evapotranspirationSum": 0.512,
"hailProbabilityAvg": 42.3,
"hailProbabilityMax": 92.9,
"hailProbabilityMin": 8.5,
"hailSizeAvg": 5.64,
"hailSizeMax": 9.08,
"hailSizeMin": 1.83,
"humidityAvg": 77,
"humidityMax": 93,
"humidityMin": 62,
"moonriseTime": "2025-02-08T18:06:45Z",
"moonsetTime": "2025-02-08T09:56:14Z",
"precipitationProbabilityAvg": 28.3,
"precipitationProbabilityMax": 100,
"pressureSeaLevelAvg": 1018,
"pressureSeaLevelMax": 1026,
"pressureSeaLevelMin": 1009,
"pressureSurfaceLevelAvg": 1004,
"pressureSurfaceLevelMax": 1012,
"pressureSurfaceLevelMin": 995,
"snowAccumulationAvg": 2.75,
"snowAccumulationLweAvg": 0.28,
"snowAccumulationLweMax": 2.06,
"snowAccumulationLweSum": 6.83,
"snowAccumulationMax": 20.99,
"snowAccumulationSum": 66.05,
"snowIntensityAvg": 0.35,
"snowIntensityMax": 2.15,
"sunriseTime": "2025-02-08T12:06:00Z",
"sunsetTime": "2025-02-08T22:28:00Z",
"temperatureApparentAvg": -8.4,
"temperatureApparentMax": -2.3,
"temperatureApparentMin": -12.8,
"temperatureAvg": -3.2,
"temperatureMax": -1.7,
"temperatureMin": -5.6,
"uvIndexMax": 1,
"visibilityAvg": 11.25,
"visibilityMax": 16,
"visibilityMin": 0.4,
"weatherCodeMax": 5100,
"weatherCodeMin": 5100,
"windDirectionAvg": 149,
"windGustAvg": 6.3,
"windGustMax": 9.6,
"windGustMin": 1.8,
"windSpeedAvg": 4.9,
"windSpeedMax": 7.8,
"windSpeedMin": 1.3
}
}
]
},
"location": {
"lat": 43.15616989135742,
"lon": -75.8449935913086,
"name": "New York, United States",
"type": "administrative"
}
}