Get Current Conditions
Applies to: S0 and S1 pricing tiers.
Get Current Conditions service returns detailed current weather conditions such as precipitation, temperature and wind for a given coordinate location. Also, observations from the past 6 or 24 hours for a particular location can be retrieved. The basic information returned with the response include details such as observation date and time, brief description of the weather conditions, weather icon, precipitation indicator flags, and temperature. Additional details such as RealFeel™ Temperature and UV index are also returned.
Query parameters
Version number of Azure Maps API.
The applicable query specified as a comma separated string composed by latitude followed by longitude e.g. "47.641268,-122.125679".
Specifies to return the data in either metric units or imperial units. Default value is metric.
Return full details for the current conditions. Available values are
- true - Returns full details. By default all details are returned.
- false - Returns a truncated version of the current condition data, which includes observation date time, weather phrase, icon code, precipitation indicator flag, and temperature.
Time frame of the returned weather conditions. By default, the most current weather conditions will be returned. Default value is 0. Supported values are:
- 0 - Return the most current weather conditions.
- 6 - Return weather conditions from past 6 hours.
- 24 - Return weather conditions from past 24 hours.
Parameters
Response
OK