FreeAPIHub
HomeAPIsAI ModelsAI ToolsBlog
Favorites
FreeAPIHub

The central hub for discovering, testing, and integrating the world's best AI models and APIs.

Platform

  • Categories
  • AI Models
  • APIs

Company

  • About Us
  • Contact
  • FAQ

Help

  • Terms of Service
  • Privacy Policy
  • Cookies

© 2026 FreeAPIHub. All rights reserved.

GitHubTwitterLinkedIn
  1. Home
  2. Categories
  3. Weather
  4. WeatherAPI
published

WeatherAPI

WeatherAPI provides developers with free access to extensive weather data services, including real-time updates, forecasts, and historical records, suitable for various applications.

Developed by WeatherAPI.com

Live API
99.90%Uptime
200msLatency
0Stars
No AuthAuth
NoCredit Card
RESTStyle
v1Version

Reference

API Endpoints

Endpoints

Available routes, request structures, and code examples.

Get current weather data

Endpoint URL
https://api.weatherapi.com/v1/current.json
Code Example
curl -X GET 'https://api.weatherapi.com/v1/current.json' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Request Payload
{
  "q": "London",
  "key": "API_KEY"
}
Expected Response
{
  "current": {
    "temp_c": 18,
    "condition": {
      "text": "Partly cloudy"
    }
  },
  "location": {
    "name": "London"
  }
}
Version:v1
Limit:1000000 requests/month

Integration

Quick Start

cURL ExampleREST
curl -X GET "https://api.weatherapi.com/v1/current.json?q=London"

Docs

Technical Documentation

What this API does

WeatherAPI is a comprehensive service that offers real-time weather data, including current conditions, forecasts for up to 14 days, historical weather data since 2010, and air quality metrics. This API enables developers to integrate accurate and dynamic weather information into their applications.

How it works

Developers can retrieve weather data by sending HTTP requests with queries based on city names, postal codes, latitude/longitude coordinates, or IP addresses. The API supports JSON and XML responses, facilitating easier data manipulation across various programming environments.

Authentication

No authentication or API key is required to access the WeatherAPI. Developers can start integrating the API immediately, allowing for quick testing and deployment.

Example usage

  • /current.json?q=London - Retrieves the current weather for London.
  • /forecast.json?q=New York&days=5 - Fetches a 5-day weather forecast for New York.
  • /history.json?q=Paris&dt=2021-10-01 - Gets historical weather data for Paris on October 1, 2021.
  • /airquality.json?q=Tokyo - Retrieves air quality data for Tokyo.

Limits

WeatherAPI allows up to 1,000,000 calls per month for free. This makes it one of the most generous free weather APIs available.

Ideal use cases

  • Building mobile applications that provide current weather updates.
  • Creating websites featuring weather forecast data.
  • Developing tools for historical weather analysis.
  • Integrating air quality metrics into environmental apps.

Examples

Real-World Applications

  • Creating weather dashboard applications
  • Integrating weather data into travel planning tools
  • Building mobile apps that provide real-time weather updates
  • Developing monitoring solutions for environmental metrics

Evaluation

Advantages & Limitations

Advantages
  • ✓ Generous free tier with 1,000,000 calls per month
  • ✓ No authentication or API key required for immediate access
  • ✓ Supports both JSON and XML response formats
  • ✓ Includes historical data going back to 2010 and 14-day forecasts
Limitations
  • ✗ No official public SDKs available
  • ✗ Rate limiting may be imposed on very high usage despite no documented limits
  • ✗ Some advanced features require paid plans
  • ✗ Limited direct support for OAuth2 or advanced authentication

Support

Frequently Asked Questions

Important Notice

Verify Before You Decide

Last verified · Apr 30, 2026

The details on this page — including pricing, features, and availability — are based on our last review and may not reflect the provider's current offering. Providers update their products frequently, sometimes without prior notice.

What may have changed

Pricing Plans
Features & Limits
Availability
Terms & Policies

Always visit the official provider website to confirm the latest pricing, terms, and feature availability before subscribing or integrating.

Check official site

External Resources

Documentation Official Website Pricing Details Postman Collection

API Specifications

v1
Pricing Model
Freemium with paid plans for extended features and higher limits
Credit Card
Not Required
Response Formats
JSON, XML
Supported Languages
6 Languages
SDK Support
REST Only
Rate Limit

1,000,000 calls per month

Time to Hello World

Under 5 minutes

Free Tier

Up to 1,000,000 API calls per month with access to current weather, forecasts, historical data, and air quality without requiring a credit card

Best For

Developers needing free, extensive weather data for apps without complicated authentication

Not Ideal For

Enterprise users requiring stringent SLA and guaranteed uptime with advanced security

Tags

#generous#no-credit-card#weatherapi#historical#free-api#air-quality#forecast#weather

You Might Also Like

More APIs Similar to WeatherAPI

Weather.gov API

The Weather.gov API offers developers free access to real-time US weather data, forecasts, alerts, and radar imagery suitable for applications.

publicREST

Open-Meteo API

The Open-Meteo API provides developers with free access to extensive global historical weather data, including over 80 variables for precise integration.

publicREST

OpenWeatherMap API

The OpenWeatherMap API offers developers free access to current weather and 7-day forecasts for over 200,000 cities, facilitating diverse application scenarios.

publicREST