Request URL and API Methods

WeatherAPI.com base URL, HTTP and HTTPS access, JSON and XML formats and the full list of API methods: current, forecast, history, marine, future and more.

Request URL

Request to WeatherAPI.com API consists of base url and API method. You can make both HTTP or HTTPS request to our API.

Base URL: http://api.weatherapi.com/v1

API API Method
Current weather /current.json or /current.xml
Forecast /forecast.json or /forecast.xml
Search or Autocomplete /search.json or /search.xml
History /history.json or /history.xml
Alerts /alerts.json or /alerts.xml
Marine /marine.json or /marine.xml
Future /future.json or /future.xml
Solar PV Energy /solar.json or /solar.xml
Agriculture /agriculture.json or /agriculture.xml
Time Zone /timezone.json or /timezone.xml
Sports /sports.json or /sports.xml
Astronomy /astronomy.json or /astronomy.xml
IP Lookup /ip.json or /ip.xml

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