- 1,000,000 Calls per month
- Realtime weather
- 3 day city and town weather. Daily and Hourly.
- Search API
- Astronomy API
- Sports API
- Weather History (Last 7 days only)
- Weather Alerts
- Air Quality Data
- Response available as JSON or XML
Example
Astronomy API JSON
{
"location": {
"name": "London",
"region": "City of London, Greater London",
"country": "United Kingdom",
"lat": 51.52,
"lon": -0.11,
"tz_id": "Europe/London",
"localtime_epoch": 1672085536,
"localtime": "2022-12-26 20:12"
},
"astronomy": {
"astro": {
"sunrise": "08:06 AM",
"sunset": "03:56 PM",
"moonrise": "10:59 AM",
"moonset": "07:45 PM",
"moon_phase": "Waxing Crescent",
"moon_illumination": "18"
}
}
}
Download
https://github.com/ttheekshana2003/weatherapi.com-API-Python-.git