Overview
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. It provides data for any location worldwide and supports both coordinates and city name lookups. Beginners can access the free tier which allows up to 500 calls per day and covers current weather and 16-day daily forecasts.
Beginner Tip
Sign up at weatherbit.io for a free API key. Use the units=M parameter for metric (Celsius, m/s) or units=I for imperial (Fahrenheit, mph) output to avoid manual unit conversion.
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
data[0].temp Current air temperature in the unit specified (Celsius for M, Fahrenheit for I) data[0].rh Relative humidity as a percentage data[0].weather.description Textual description of the current weather condition data[0].wind_spd Wind speed in meters per second (or mph for imperial units) data[0].aqi Air Quality Index value for the location data[0].ob_time Observation time in YYYY-MM-DD HH:MM format UTC Implementation Example
// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://www.weatherbit.io/api";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); 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
Similar APIs
View All →AccuWeather
AccuWeather's API provides highly detailed weather forecasts, current conditions, and severe weather alerts for locations around the world.
Aemet
Aemet OpenData is Spain's official meteorological agency API providing weather forecasts, observations, and climate data for Spanish territory including the Canary Islands and Balearics.
APIXU
APIXU (now rebranded as Weatherstack) is a weather data API that provides current conditions, forecasts, and historical weather for locations around the world.
AQICN
⭐ Beginner's PickAQICN (Air Quality Index CN) provides real-time air quality data for over 1,000 cities worldwide, including PM2.5, PM10, ozone, and other pollutant readings.
ColorfulClouds
ColorfulClouds (Caiyun Weather) is a Chinese weather API that delivers real-time and forecast weather data with minute-level precipitation predictions.