WeatherAPI.com
Free Weather and Geolocation API for developers, trusted by 300,000+ developers worldwide.
Developers
300,000+
Free API Calls/Month
1,000,000
Forecast Days
3
Data Formats
JSON, XML
About WeatherAPI.com
WeatherAPI.com offers a powerful and flexible API service for accessing extensive weather and location data. Developers can retrieve real-time weather conditions, detailed forecasts up to 14 days, historical weather information, and astronomical data like moon phases and sun/moon times. The API also includes geolocation features, allowing users to query by city, zip code, latitude/longitude, or IP address. It supports multiple data formats including JSON and XML, and provides various SDKs and a Postman collection for easy integration. With a generous free tier and scalable paid plans, it serves a wide range of users from hobbyist developers to enterprise-level applications requiring millions of daily calls.
Core Data APIs
Realtime Api
Get current weather conditions for any location.
Forecast Api
Provides weather forecast for up to 14 days.
History Api
Access historical weather data for a specific date.
Astronomy Api
Get sunrise, sunset, moon phase, and moonrise data.
Time Zone Api
Retrieve current time zone information for a location.
Location & Search
Search/Autocomplete Api
Find locations based on user input.
Ip Lookup Api
Get location details from an IP address.
Location Querying
Supports city name, ZIP code, latitude/longitude, and IP address.
Developer Features
Authentication
API Key sent as a query parameter.
Response Formats
JSON (default) and XML.
Sdks
Provides code examples for various programming languages.
Bulk Requests
Supported for certain endpoints and plans.