LocalWeather API Parameters

 

Request parameters | Response parameters

 



LocalWeather API Query String Parameters

Parameter Description Default value
api Hostname to be used only in production: api.accuweather.com N/A Required
apidev Hostname to be used only in development: apidev.accuweather.com N/A Required
apikey Unique code used to access the API N/A Required
version Current version of the API v1 Required
locationkey Unique ID used to search for a specific location N/A Required
format Format of the response JSON Optional
language String indicating 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