climate

Weather

Real time weather forecast

Introduction

Get real time weather information including historic and future forecast data.

Features

Forecast

Get the weather forecast for the next 1-10 days

Now

Get the current weather report for a location by postcode, city, zip code, ip address

Pricing

EndpointCredits
ForecastBase
NowBase

Base requests are 0.000001 credit per request (1 credit = $1 USD)

Example

Forecast Request

Response

{
    "location": "London",
    "region": "City of London, Greater London",
    "country": "City of London, Greater London",
    "latitude": 51.52,
    "longitude": -0.11,
    "timezone": "Europe/London",
    "local_time": "2022-03-01 20:13",
    "forecast": [
        {
            "date": "2021-09-21",
            "max_temp_c": 21.8,
            "max_temp_f": 71.2,
            "min_temp_c": 13,
            "min_temp_f": 55.4,
            "avg_temp_c": 17.3,
            "avg_temp_f": 63.1,
            "will_it_rain": true,
            "chance_of_rain": 70,
            "condition": "Partly cloudy",
            "icon_url": "//cdn.weatherapi.com/weather/64x64/day/116.png",
            "sunrise": "06:45 AM",
            "sunset": "07:01 PM",
            "max_wind_mph": 4.3,
            "max_wind_kph": 6.8
        },
        {
            "date": "2021-09-22",
            "max_temp_c": 24.1,
            "max_temp_f": 75.4,
            "min_temp_c": 13.4,
            "min_temp_f": 56.1,
            "avg_temp_c": 18.1,
            "avg_temp_f": 64.6,
            "will_it_rain": false,
            "chance_of_rain": 0,
            "condition": "Partly cloudy",
            "icon_url": "//cdn.weatherapi.com/weather/64x64/day/116.png",
            "sunrise": "06:47 AM",
            "sunset": "06:58 PM",
            "max_wind_mph": 4.3,
            "max_wind_kph": 6.8
        }
    ]
}