Interactive API Explorer

WeatherAPI.com interactive API explorer or IO Docs allows you to test our APIs and methods. It returns response headers, response code and response body.

For complete documentation please visit our Weather API Documentation section.

You can also now use our Swagger tool to learn as to how to form weather Request. Visit Swagger Tool

Parameter Value Type Location Description
q string query Pass US Zipcode, UK Postcode, Canada Postalcode, IP address, Latitude/Longitude (decimal degree) or city name. Visit request parameter section to learn more.

Parameter Value Type Location Description
aqi string query Get air quality data

Parameter Value Type Location Description
days integer query Number of days of weather forecast. Value ranges from 1 to 10
aqi string query Get air quality data
alerts string query Get weather alert data
Parameter Value Type Location Description
dt string query Date on or after 1st Jan, 2010 in yyyy-MM-dd format
Parameter Value Type Location Description
dt string query Date between 14 days and 300 days from today in the future in yyyy-MM-dd format
Parameter Value Type Location Description
days integer query Number of days of weather forecast. Value ranges from 1 to 7
Parameter Value Type Location Description
dt string query Date in yyyy-MM-dd format

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, autocomplete, time zone, astronomy and sports data into your new or existing project.