LocalWeather API Parameters

 

Return to General Information

 

Request parameters | Response parameters

 



LocalWeather API Query String Parameters

Parameter Description Default value
api Hostname for use in production: api.accuweather.com N/A Required
apidev Hostname for use in development: apidev.accuweather.com N/A Required
apikey A unique code used to access the API. N/A Required
version The API version. Currently v1. v1 Required
locationkey A unique ID used to designate a specific location. Use the Locations API to search for the appropriate location key. N/A Required
format The response data format. Currently only JSON is available. JSON Optional
language A string to indicate the language in which to return the resource. en-us Optional
details Boolean value specifies whether or not to include AccuWeather related details with the location False Optional
getphotos Boolean value specifies whether or not to include photos representing the requested location and current condition False Optional
metric Boolean value (true or false) that specifies to return the data in either metric (=true) or imperial units  False Optional

Top of Page



 



LocalWeather API Response Parameters

Parameter Description
Location
Current Conditions
Forecast Summary
Imagery