Skip to content

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

Get your free weather API key in a minute

100,000 calls a month, free for commercial use. No credit card.