Description | : **Get Hourly Forecast** **Applies to**: S0 and S1 pricing tiers. Request detailed weather forecast by the hour for the next 1, 12, 24 (1 day), 72 (3 days), 120 (5 days), and 240 hours (10 days) for the given the given coordinate location. The API returns details such as temperature, humidity, wind, precipitation, and ultraviolet (UV) index. In S0 you can request hourly forecast for the next 1, 12, 24 hours (1 day), and 72 hours (3 days). In S1 you can also request hourly forecast for the next 120 (5 days) and 240 hours (10 days). |
Reference | : Link ¶ |
⚼ Request
GET:
/weather/forecast/hourly/{format}
{
x-ms-client-id:
string
,
subscription-key:
string
,
api-version:
string
,
format:
string
,
query:
string
,
unit:
string
,
duration:
integer
,
language:
string
,
}
⚐ Response (200)
{
forecasts:
}
[
]
,
{
,
date:
string
,
iconCode:
integer
,
iconPhrase:
string
,
hasPrecipitation:
boolean
,
isDaylight:
boolean
,
temperature:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
realFeelTemperature:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
wetBulbTemperature:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
dewPoint:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
wind:
{
,
direction:
{
,
degrees:
number
,
localizedDescription:
string
,
}
speed:
}
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
windGust:
{
,
direction:
{
,
degrees:
number
,
localizedDescription:
string
,
}
speed:
}
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
relativeHumidity:
integer
,
visibility:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
ceiling:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
uvIndex:
integer
,
uvIndexPhrase:
string
,
precipitationProbability:
integer
,
rainProbability:
integer
,
snowProbability:
integer
,
iceProbability:
integer
,
totalLiquid:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
rain:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
snow:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
ice:
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
cloudCover:
integer
,
}
⚐ Response (400)
{
error:
}
{
,
code:
string
,
message:
string
,
details:
[
,
string
,
]
target:
string
,
}
⚐ Response (401)
{
$headers:
{
,
www-authenticate:
string
,
}
$schema:
}
{
,
error:
}
{
,
code:
string
,
message:
string
,
details:
[
,
string
,
]
target:
string
,
}
⚐ Response (403)
{
error:
}
{
,
code:
string
,
message:
string
,
details:
[
,
string
,
]
target:
string
,
}
⚐ Response (404)
{
error:
}
{
,
code:
string
,
message:
string
,
details:
[
,
string
,
]
target:
string
,
}
⚐ Response (500)
{
error:
}
{
,
code:
string
,
message:
string
,
details:
[
,
string
,
]
target:
string
,
}