v2
latestSwagger 2.02026-07-131892241.6 KBUse when you want to know if the weather conditions are optimal for a specific activity such as outdoor sporting activities, construction, or farming (results includes soil moisture information).
The Get Daily Indices API is an HTTP GET request returns index values that provide guidance to help when planning future activities. For example, a health mobile application can notify users that today is good weather for running or for other outdoors activities like playing golf or flying a kite. Retail stores can optimize their digital marketing campaigns based on predicted index values. The service returns in daily indices values for current and next 5, 10 and 15 days starting from current day.
Path parameters
Desired format of the response. Only json format is supported.
Query parameters
The API version to use for this operation.
The applicable query specified as a comma separated string composed by latitude followed by longitude e.g. "47.641268,-122.125679".
Weather information is generally available for locations on land, bodies of water surrounded by land, and areas of the ocean that are within approximately 50 nautical miles of a coastline.
Language in which search results should be returned. Should be one of supported IETF language tags, case insensitive. When data in specified language is not available for a specific field, default language is used.
Please refer to Supported Languages for details.
Specifies for how many days the daily indices are returned. By default, the indices data for the current day will be returned. When requesting future indices data, the current day is included in the response as day 1. Available values are
- 1 - Return daily index data for the current day. Default value.
- 5 - Return 5 days of daily index data starting from the current day.
- 10 - Return 10 days of daily index data starting from the current day.
- 15 - Return 15 days of daily index data starting from the current day.
Numeric index identifier that can be used for restricting returned results to the corresponding index type. Cannot be paired with indexGroupId. Please refer to Weather services in Azure Maps for details and to see the supported indices.
Numeric index group identifier that can be used for restricting returned results to the corresponding subset of indices (index group). Cannot be paired with indexId. Please refer to Weather services in Azure Maps for details and to see the supported index groups.
Headers
Indicates the account intended for use with the Microsoft Entra ID security model. This unique ID for the Azure Maps account can be obtained from the Azure Maps management plane Account API. For more information on using Microsoft Entra ID security in Azure Maps, see Manage authentication in Azure Maps.
Response
The request has succeeded.