Weather API Documentation

WeatherAPI.com provides access to free weather and geo data via a JSON/XML restful API. It allows developers to create desktop, web and mobile applications using this data very easy.

We provide following data through our API:

  • Real-time weather
  • 14 day weather forecast
  • Historical weather
  • Marine Weather and Tide Data
  • Future Weather (Upto 365 days ahead)
  • Daily and hourly intervals
  • Pollen forecast (Pro+ plan and above) New
  • 15 min intervalNew (Enterprise only)
  • Astronomy
  • Time zone
  • Sports
  • Weather Maps New
  • Location data
  • Search or Autocomplete API
  • Weather Alerts
  • Air Quality Data
  • Bulk Request
  • Solar Irradiance
  • Solar PV Energy Forecast (Business plan and above) New
  • Agriculture: growing degree days, crop water use, spray windows, disease and frost risk (Business plan and above) New
  • Evapotranspiration (Enterprise)
  • Wind at 100m (Enterprise) New
  • Pollen History (Enterprise) New

Quick start

  1. Sign up free and copy your API key from your account.
  2. Call any endpoint with your key, for example current weather for London:
    https://api.weatherapi.com/v1/current.json?key=YOUR_API_KEY&q=London
  3. Explore every endpoint and parameter in the guides below, or try requests in the API Explorer.

Introduction

APIs

Resources

Quick and Easy Signup for Weather API

WeatherAPI.com makes it super easy to integrate our realtime, daily, hourly and 15 min interval weather forecast data, historical weather, marine weather, bulk request, air quality data, pollen, evapotranspiration, autocomplete, time zone, astronomy and sports data into your new or existing project.