The Deep Links API provides direct links to content on the AccuWeather website and mobile site for a given location.
For full request and response field details, see Deep Links Parameters.
Base URLs
- Production: api.accuweather.com
- Development: apidev.accuweather.com
Examples below use the production host. Swap in apidev.accuweather.com for development.
Deep links by location key
Retrieve direct links to AccuWeather content for a specific location, optionally filtered by content type.
https://{baseUrl}/content/{version}/links/{locationKey}{.format}?apikey={your key}&types={data types}&daynumber={start day}&hournumber={start hour}&metric={true or false}&language={language code}
Example
https://api.accuweather.com/content/v1/links/335315?apikey={your key}&types=dailyforecasts,hourlyforecasts,currentconditions&language=ko
[
{
"Type": "DailyForecasts",
"Link": "https://www.accuweather.com/ko/us/state-college-pa/16801/daily-weather-forecast/335315",
"MobileLink": "https://m.accuweather.com/ko/us/state-college-pa/16801/daily-weather-forecast/335315"
},
{
"Type": "HourlyForecasts",
"Link": "https://www.accuweather.com/ko/us/state-college-pa/16801/hourly-weather-forecast/335315",
"MobileLink": "https://m.accuweather.com/ko/us/state-college-pa/16801/hourly-weather-forecast/335315"
},
{
"Type": "CurrentConditions",
"Link": "https://www.accuweather.com/ko/us/state-college-pa/16801/current-weather/335315",
"MobileLink": "https://m.accuweather.com/ko/us/state-college-pa/16801/current-weather/335315"
}
]
Last modified on