Overview
AccuWeather's API provides highly detailed weather forecasts, current conditions, and severe weather alerts for locations around the world. You first look up a location key using a city or coordinates, then use that key to retrieve forecasts or current conditions. It is well-suited for building weather apps, travel tools, or IoT dashboards that need reliable, professional-grade data.
Beginner Tip
You must first call the Locations API to get a locationKey for your city, then use that key to call Current Conditions or Forecasts endpoints; skipping this step is the most common beginner mistake. The free tier gives 50 calls per day, so cache location keys and results to stay within limits.
Available Data
Example Response
{
"location": "Tokyo",
"temperature": {
"current": 22,
"feels_like": 24,
"min": 18,
"max": 26
},
"condition": "Partly Cloudy",
"humidity": 65,
"wind": {
"speed": 12,
"direction": "NE"
},
"forecast": [
{
"date": "2025-01-16",
"high": 25,
"low": 17,
"condition": "Sunny"
}
]
} Field Reference
LocalObservationDateTime ISO 8601 timestamp of when the current observation was recorded locally. WeatherText Human-readable description of the current weather, such as Mostly Cloudy. Temperature.Metric.Value Current temperature in Celsius at the observed location. RelativeHumidity Current relative humidity as a percentage. Wind.Speed.Metric.Value Wind speed in kilometers per hour. HasPrecipitation Indicates whether precipitation is currently occurring at the location. Implementation Example
// Get current conditions (requires location key lookup first)
const locationKey = "349727"; // NYC location key from Location API
const url = `https://dataservice.accuweather.com/currentconditions/v1/${locationKey}`;
const response = await fetch(url, {
headers: {
"Authorization": "Bearer YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
const current = data[0];
console.log(`Temperature: ${current.Temperature.Imperial.Value}°F (RealFeel: ${current.RealFeelTemperature.Imperial.Value}°F)`);
console.log(`Conditions: ${current.WeatherText}`);
console.log(`Humidity: ${current.RelativeHumidity}%`); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Alternatives to AccuWeather
Technical alternatives for different use cases.
More affordable with larger free tier
Budget projects needing decent weather data
Minute-by-minute precipitation forecasts
Micro-weather and hyperlocal forecasting capabilities
Hyperlocal weather for logistics and agriculture
General consumer weather app use cases
Better free tier and simpler pricing model
Startups and small projects with limited budget
Enterprise clients needing AccuWeather brand trust
Similar APIs
View All →OpenWeatherMap
⭐ Beginner's PickOpenWeatherMap is one of the most popular weather APIs, providing current conditions, forecasts, and historical data for millions of locations worldwide.
WeatherAPI
⭐ Beginner's PickWeatherAPI is a feature-rich weather platform that delivers real-time weather, 14-day forecasts, historical data, and extras like astronomy data (sunrise/sunset, moon phases) and geolocation lookups.
Weatherbit
Weatherbit is a professional-grade weather API offering current observations, hourly and daily forecasts, historical weather, and severe weather alerts sourced from global meteorological stations.
Weatherstack
⭐ Beginner's PickWeatherstack is a real-time and historical weather data API that covers over 200,000 locations worldwide.
Visual Crossing
⭐ Beginner's PickVisual Crossing offers comprehensive historical weather data, current conditions, and forecasts for any location worldwide, making it particularly valuable for data analysis and building weather-driven insights.