1 Day of Daily Index Values for a Specific Index

GET

1 Day of Daily Index Values for a Specific Index

Returns daily index data for a specific index, by location key.

Resource URL

http://dataservice.accuweather.com /indices/v1/daily/1day/{locationKey}/{ID}

Query Parameters


Name Values Description
apikey
(required)

Provided API Key

language

String indicating the language in which to return the resource

details

Boolean value (true or false) that specifies whether or not to include a truncated version of the indices object, or the full object (details=true).


Request Body

locationKey Unique ID used to search for a specific location. Use the Locations API to get a locationKey. true

ID Index ID. true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400

    Request had bad syntax or the parameters supplied were invalid

  • 401

    Unauthorized. API authorization failed

  • 403

    Unauthorized. You do not have permission to access this endpoint

  • 404

    Server has not found a route matching the given URI

  • 500

    Server encountered an unexpected condition which prevented it from fulfilling the request

Working...

Available Daily Indices | Daily Index Categories and Level Values

 

Response Parameters

Parameter Type Description
Name string Name of the index.
ID int32 Numeric ID used to identify a specific index. May be NULL.
Ascending boolean Bit that describes the direction of the index value. When true, the poorest value is 0, best value is 10. When false, the poorest value is 10, best value is 0.
LocalDateTime string Valid dateTime of the index, displayed in ISO8601 format.
EpochDateTime int64 Valid dateTime of the index, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Value float Index value. Ranges from 0.0 to 10.0. May be NULL.
Category string Level that the index value falls into. Categories differ from index to index.
CategoryValue int32 Level that the index value falls into, represented by an integer. This value can be 1 through 5 and should be used in combination with the ascending flag because it can differ between indices.
Text string Sentence that can be used for display purposes to sum up the index value and category. Only displayed when details=true.
MobileLink string Link to indices on AccuWeather`s mobile site for the requested location.
Link string Link to indices on AccuWeather`s web site for the requested location.