Weather and forecast data.
AccuWeather's developer platform provides a REST API for retrieving weather data, including a current conditions endpoint that returns observed conditions for a given location key. Requests are authenticated via a bearer API key and can be filtered by parameters such as response format, language, and whether to include extended details or photos.
The current conditions endpoint returns data such as observation date and time, weather text and icon, temperature, RealFeel temperature, humidity, dew point, wind and wind gust speed and direction, UV index, visibility, cloud cover, pressure, precipitation amounts and type, wind chill, heat index, and other derived temperature metrics. Location keys used in requests are obtained from other endpoints such as city search or geoposition lookup.
This API is intended for developers building applications that require weather data integration, such as displaying current conditions for a specific location within a website or app.
Requests use an Authorization header with a Bearer token containing your API key.
The API returns JSON by default, with a format parameter available to specify the response type.
You provide a locationKey string, which is a unique ID obtained from another endpoint such as city search or geoposition.
Yes, a language query parameter lets you specify the response language, defaulting to en-us.
Yes, the details and getPhotos boolean parameters let you request extended information or photos of the location, both defaulting to false.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers