Weatherstack
Real-Time & Historical World Weather Data API
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Weather
Overview
Weatherstack (an APILayer product) provides real-time weather, historical data, and airport weather for any location, with a simple key-based API. The free tier is small but fine for demos and low-traffic widgets.
Quick Start
Current weather (replace YOUR_KEY):
curl "https://api.weatherstack.com/current?access_key=YOUR_KEY&query=London"
With units and language:
curl "https://api.weatherstack.com/current?access_key=YOUR_KEY&query=Paris&units=m&language=zh"
Authentication
- Register at weatherstack.com for a free key (sent by email).
- Send it as the
access_keyquery parameter. queryaccepts city name,lat,lon, or ZIP/postal code.
Rate Limits & Notes
- Free tier: 100 requests/month — plan carefully; the paid tier starts at 1,000/month.
- Free tier updates weather every hour (paid tiers update more often).
- Responses include current conditions, location data, and (on paid tiers) historical & astronomical data.
- HTTPS is enforced on all tiers.
- Data sources vary by region (APILayer aggregates multiple providers).
FAQ
Is Weatherstack free? There’s a free tier (100 requests/month); higher limits are paid.
How do I get a key? Sign up at weatherstack.com — the access key is emailed.
Can I get historical weather? Yes, on paid tiers.