Weather forecasts

World Weather Online Local Weather API

by worldweatheronline.com

Weather forecasts Added on February 4th, 2011 Checked and working on November 2nd, 2026
Visit worldweatheronline.com →

What it does

The World Weather Online Local Weather API gives current conditions and forecasts up to 14 days for any location worldwide, searched by city, postcode, IP address or coordinates. It returns temperature, precipitation, wind, humidity, visibility, weather descriptions and icons, hourly or daily. Responses are XML, JSON or CSV. Free with a free API key and no card, up to 100 requests a day, for personal, educational and research use; paid plans for commercial use.
  • CSV
  • JSON
  • REST
  • XML

At a glance

API key
Needed, free · More APIs with a free key
Pricing
Free with a free API key and no card, up to 100 requests a day, for personal, educational and research use; paid plans for commercial use.
Commercial use
Not on the free plan
From the browser
Yes (CORS)
Formats
JSON, XML, CSV
Interface
REST
Provider
worldweatheronline.com
Last checked
Working on November 2nd, 2026

More information: https://www.worldweatheronline.com/weather-api/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

worldweatheronline.com
World Weather Online Local Weather API

Example request

curl

curl 'https://api.worldweatheronline.com/premium/v1/weather.ashx?key=YOUR_API_KEY&q=London&format=json'

JavaScript

const response = await fetch("https://api.worldweatheronline.com/premium/v1/weather.ashx?key=YOUR_API_KEY&q=London&format=json");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.worldweatheronline.com/premium/v1/weather.ashx?key=YOUR_API_KEY&q=London&format=json",
    timeout=30,
)
print(response.json())

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried World Weather Online Local Weather API.