Features
Pricing
API Explorer
Docs
Contact
Signup
Login
Interactive API Explorer
TheGlobalWeather.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.
Your API Key
Protocol
HTTP
HTTPS
Format
JSON
XML
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.
Current
Forecast
Search/Autocomplete
History
Future
Astronomy
Time Zone
Sports
Parameter
Value
Type
Location
Description
aqi
no
yes
string
query
Get air quality data
Show Response
Parameter
Value
Type
Location
Description
days
1
2
3
4
5
6
7
8
9
10
integer
query
Number of days of weather forecast. Value ranges from 1 to 10
aqi
no
yes
string
query
Get air quality data
alerts
no
yes
string
query
Get weather alert data
Show Response
Show Response
Parameter
Value
Type
Location
Description
dt
string
query
Date on or after 1st Jan, 2010 in yyyy-MM-dd format
Show Response
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
Show Response
Parameter
Value
Type
Location
Description
dt
string
query
Date in yyyy-MM-dd format
Show Response
Show Response
Show Response
Quick and Easy Signup for Weather API
The Global Weather makes it super easy to integrate weather forecast data, historical weather, autocomplete, time zone, astronomy and sports data into your new or existing project.
Get Started