Core Weather

1 Day

Endpoint:https://dataservice.accuweather.com

1 day by location key and group Id

GET
https://dataservice.accuweather.com
/indices/v1/daily/1day/{locationKey}/groups/{groupID}

Return 1 day of daily indices for a specific group id and location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

1 day by location key and group Idpath Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727
  • groupIDstring

    A numerical value representing a group of related indices. More information can be found here.

    Example: 1

1 day by location key and group Idquery Parameters

  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false

1 day by location key and group IdHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

1 day by location key and group IdResponses

OK

  • LocalDateTimestring · date-time · required

    Valid datetime of the index displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateTimeinteger · int64 · required

    Valid datetime for the index displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • MobileLinkstring · uri · required

    Link to indices on AccuWeather's mobile site for the requested location.

  • Linkstring · uri · required

    Link to indices on AccuWeather's free site for the requested location.

  • Namestring | null

    Name of the index.

  • IDinteger · int32

    Numeric id used to identify the specific index.

  • Ascendingboolean

    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.

  • Valuenumber | null · float

    Index value that ranges from 0.0 to 10.0.

  • Categorystring | null

    Level that the index value falls. Categories differ among indices.

  • CategoryValueinteger · int32

    Level that the index value falls represented by an int. This value can be 1 through 5 and should be used in combination with the ascending flag because it can differ among indices.

  • Textstring | null

    Sentence that can be used for display purposes to sum up the index value and category.


1 day by location key

GET
https://dataservice.accuweather.com
/indices/v1/daily/1day/{locationKey}

Return 1 day of daily indices for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

1 day by location keypath Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

1 day by location keyquery Parameters

  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json
  • groupIDstring

    A numerical value representing a group of related indices. More information can be found here.

    Example: 1
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false

1 day by location keyHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

1 day by location keyResponses

OK

  • LocalDateTimestring · date-time · required

    Valid datetime of the index displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateTimeinteger · int64 · required

    Valid datetime for the index displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • MobileLinkstring · uri · required

    Link to indices on AccuWeather's mobile site for the requested location.

  • Linkstring · uri · required

    Link to indices on AccuWeather's free site for the requested location.

  • Namestring | null

    Name of the index.

  • IDinteger · int32

    Numeric id used to identify the specific index.

  • Ascendingboolean

    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.

  • Valuenumber | null · float

    Index value that ranges from 0.0 to 10.0.

  • Categorystring | null

    Level that the index value falls. Categories differ among indices.

  • CategoryValueinteger · int32

    Level that the index value falls represented by an int. This value can be 1 through 5 and should be used in combination with the ascending flag because it can differ among indices.

  • Textstring | null

    Sentence that can be used for display purposes to sum up the index value and category.


1 day by location key and index Id

GET
https://dataservice.accuweather.com
/indices/v1/daily/1day/{locationKey}/{indexID}

Return 1 day of daily indices for a specific index id and location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

1 day by location key and index Idpath Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727
  • indexIDstring

    A numerical value used to identify a specific index. More information can be found here.

    Example: 29

1 day by location key and index Idquery Parameters

  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false

1 day by location key and index IdHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

1 day by location key and index IdResponses

OK

  • LocalDateTimestring · date-time · required

    Valid datetime of the index displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateTimeinteger · int64 · required

    Valid datetime for the index displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • MobileLinkstring · uri · required

    Link to indices on AccuWeather's mobile site for the requested location.

  • Linkstring · uri · required

    Link to indices on AccuWeather's free site for the requested location.

  • Namestring | null

    Name of the index.

  • IDinteger · int32

    Numeric id used to identify the specific index.

  • Ascendingboolean

    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.

  • Valuenumber | null · float

    Index value that ranges from 0.0 to 10.0.

  • Categorystring | null

    Level that the index value falls. Categories differ among indices.

  • CategoryValueinteger · int32

    Level that the index value falls represented by an int. This value can be 1 through 5 and should be used in combination with the ascending flag because it can differ among indices.

  • Textstring | null

    Sentence that can be used for display purposes to sum up the index value and category.