apilayer weatherstack

API

Real-time & historical global weather data API

Visit Website

Overview

The apilayer weatherstack API provides RESTful access to real-time, historical (30+ years), and 14-day forecast weather data across 200k+ global locations. Core endpoints include /current (live conditions: temp, humidity, wind), /historical (past weather by date), /forecast (upcoming trends), and /location (search tool). Responses are JSON-formatted. Ideal for weather apps, travel platforms, logistics optimization, event planning, and IoT devices needing weather insights.

Example Integration (JavaScript)

script.js JS

fetch('https://weatherstack.com/')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful API
  • JSON Responses
  • Real-Time Weather Data
  • 30+ Years Historical Weather
  • 14-Day Forecast
  • Global Coverage (200k+ Locations)
  • Location Search Endpoint
  • HTTPS Encrypted

Frequently Asked Questions

? Is apilayer weatherstack free to use?

Yes, it offers a free tier with 1000 monthly requests, access to real-time weather data, and basic location search. Paid plans unlock higher limits, historical data, forecasts, and priority support.

? Does it require an API Key?

Yes, you need to sign up for a free account to get an API key, which is required to authenticate all requests to the API.

? What is the response format?

All responses from the apilayer weatherstack API are in JSON format, which is lightweight and easy to parse for most programming languages.

Top Alternatives

OpenWeatherMap API Search Google
Weatherbit API Search Google
AccuWeather API Search Google

People Also Ask about apilayer weatherstack

apilayer weatherstack vs OpenWeatherMap APIapilayer weatherstack vs Weatherbit APIapilayer weatherstack vs AccuWeather API apilayer weatherstack 2025 review

Tool Info

Pricing Freemium
Category Weather
Platform Public API

Pros

  • Easy Integration with Detailed Docs
  • Comprehensive Data Sets (Current/Historical/Forecast)
  • High Uptime & Reliability
  • Flexible Freemium Pricing Tiers
  • Supports Location Autocomplete

Cons

  • Free Tier Has 1000 Monthly Request Limit
  • Advanced Historical Data Requires Paid Plans
  • No XML Response Format Option

More Weather Tools