Description | : The `Get Hourly Forecast` API is an HTTP `GET` that 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. For more information, see [Request hourly weather forecast data](/azure/azure-maps/how-to-request-weather-data#request-hourly-weather-forecast-data). If you are using the Gen1 S0 pricing tier, you can request hourly forecast for the next 1, 12, 24 hours (1 day), and 72 hours (3 days). If you are using Gen1 S1 or Gen2 pricing tier, you can also request hourly forecast for the next 120 (5 days) and 240 hours (10 days). |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "Weather_GetHourlyForecast", "$responses": { "200": { "$properties": { "forecasts": { "$properties": [ { "#name": "iconCode", "Description": { "new": "Numeric value representing an image that corresponds to the current weather condition described by the `Phrase` property. For more information, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#weather-icons). May be NULL.", "old": "Numeric value representing an image that displays the `iconPhrase`. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#weather-icons) for details." } }, { "temperature": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] }, { "realFeelTemperature": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] }, { "wetBulbTemperature": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] }, { "dewPoint": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] }, { "wind": [ { "speed": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] } ] }, { "windGust": [ { "speed": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] } ] }, { "visibility": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] }, { "ceiling": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] }, { "totalLiquid": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] }, { "rain": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] }, { "snow": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] }, { "ice": [ { "#name": "unitType", "Description": { "new": "An integer representing the unit type. For example, 17 for Celsius, 18 for Fahrenheit. Can be used for unit translation. For a complete list, see [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types).", "old": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details." } } ] } ] } } } } }
⚼ Request
GET:
/weather/forecast/hourly/{format}
{
x-ms-client-id:
string
,
api-version:
string
,
format:
string
,
query:
array
,
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:
integer
,
localizedDescription:
string
,
}
speed:
}
{
,
value:
number
,
unit:
string
,
unitType:
integer
,
}
windGust:
{
,
direction:
{
,
degrees:
integer
,
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 (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}