Legacy API Parameters

Legacy API Query String Parameters

Parameter Description Default value
hostname Unique name used to identify the API, specific to each client/customer N/A Required
locationkey Unique ID provided by AccuWeather for a specific location N/A Required
language String indicating the language in which to return the resource en-us Optional
metric Integer indicating the units to display the data in - Imperial (0) or Metric (1)  0 Optional
xmlVersion Version of the XML returned from service N/A Optional