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.

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
days integer query Number of days of weather forecast. Value ranges from 1 to 10
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 in yyyy-MM-dd format

Quick and Easy Signup for Free Weather API

WeatherAPI.com makes it super easy to integrate our weather forecast data, historical weather, autocomplete, time zone, astronomy and sports data into your new or existing project.