API Bouncer

Buy me a coffee

Weatherstack

Real-Time & Historical World Weather Data API

WeatherAuth: API KeyHTTPS: YesCORS: unknownStatus: alive

Last verified: April 1, 2026

Getting Started

This API requires an API key for authentication. Here's how to get started:

  1. Sign up — Visit the API's website and create a free account.
  2. Get your key — After signing up, you'll receive a unique API key (usually found in your dashboard or account settings).
  3. Include it in requests — Add your API key to each request, typically as a query parameter (?api_key=YOUR_KEY) or in the request header (Authorization: Bearer YOUR_KEY). Check the API's documentation for the exact format.

API keys are free for most public APIs. They're used to identify your application and enforce rate limits — not to charge you.

CORS Support

CORS support for this API is unknown. If you get cross-origin errors in the browser, try calling the API from your server instead.

Quick Example

// Using cURL curl -H "Authorization: Bearer YOUR_API_KEY" https://weatherstack.com/?utm_source=Github&utm_medium=Referral&utm_campaign=Public-apis-repo-Best-sellers
// Using JavaScript fetch() const response = await fetch(apiUrl, { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }); const data = await response.json();

About Weatherstack

Weatherstack is a free API in the Weather category. It requires a free API key, which you can obtain by signing up on their website. This API supports HTTPS for secure connections and has unknown CORS support — test from your environment to confirm.

Frequently Asked Questions

What weather data does Weatherstack provide?

Weatherstack is a weather API that can provide meteorological data such as temperature, humidity, wind speed, precipitation, and forecasts. The exact data fields depend on the API's endpoints — check the documentation for a full list of available weather parameters. Many weather APIs also provide UV index, air quality, and severe weather alerts.

Can I get historical weather data from Weatherstack?

Historical weather data availability varies by API. Some weather APIs like Weatherstack offer historical records going back years, while others focus only on current conditions and forecasts. Check the API documentation to see if historical endpoints are available and whether they require a different plan or rate limit.

How accurate are the forecasts from Weatherstack?

Weather API accuracy depends on the data sources the provider uses (e.g., government stations, satellites, radar). Short-term forecasts (1-3 days) are generally reliable across most weather APIs, while extended forecasts become less accurate. Weatherstack may source data from national weather services or proprietary models — see their documentation for details on data sources and update frequency.

Does Weatherstack support location-based weather lookups?

Most weather APIs support lookups by geographic coordinates (latitude/longitude), city name, or zip code. Weatherstack likely supports at least one of these methods. Coordinate-based lookups tend to be the most precise. Check the Weather category for other weather APIs if you need a specific lookup method.

Is Weatherstack free to use?

Yes, Weatherstack is listed as a free public API. You will need to create a free account to get an API key, but the key itself is free. Some APIs have rate limits on their free tier, so check the official documentation for current limits.

Is Weatherstack still working in 2026?

Yes! According to our most recent health check (Weatherstack's last ping: 2026-04-01 13:44:54), this API is responding normally. We periodically verify all listed APIs to ensure they are still online and functioning.