Weatherstack
APIInstant, accurate global weather data in lightweight JSON format
Overview
Weatherstack provides RESTful endpoints for current, historical, and forecast weather data for any global location. Responses are in lightweight JSON, including metrics like temperature, humidity, wind speed, precipitation, and weather conditions. Ideal for integrating into travel apps, weather widgets, IoT devices, or location-based services to deliver real-time or historical weather insights to users.
Example Integration (JavaScript)
fetch('https://weatherstack.com/?utm_source=Github&utm_medium=Referral&utm_campaign=Public-apis-repo-Best-sellers')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err)); Key Features
- RESTful architecture
- Lightweight JSON responses
- Global location coverage
- Current, historical, and forecast weather data
- Multiple data metrics (temperature, humidity, wind, etc.)
Frequently Asked Questions
? Is Weatherstack free to use?
Yes, Weatherstack offers a free tier with basic current weather data and limited monthly requests. Paid plans unlock advanced features like historical data, extended forecasts, and higher rate limits.
? Does Weatherstack require an API key?
Yes, you need to sign up for an account to obtain an API key, which is required to authenticate all requests to the API.
? What response format does Weatherstack support?
Weatherstack exclusively uses lightweight JSON for all responses, making it easy to parse and integrate into most applications.
Top Alternatives
People Also Ask about Weatherstack
Tool Info
Pros
- ⊕ Easy to integrate
- ⊕ Accurate real-time data
- ⊕ Flexible pricing tiers (including free)
- ⊕ Comprehensive documentation
Cons
- ⊖ Rate limits on free tier
- ⊖ Paid plans for advanced features (extended forecasts, historical data)
- ⊖ No XML support