# wttr.in

Category: [Weather forecasts](https://free-web-services.com/web-services/geo/weather/)  
Page: https://free-web-services.com/web-services/geo/weather/wttr-in.html  
Documentation: https://github.com/chubin/wttr.in

wttr.in is a console-oriented weather service: request a URL like wttr.in/London and you get the current weather and a three-day forecast. Add ?format=j1 to get JSON, use the format option to build a one-line custom output, or add .png to get the forecast as an image. It understands city names, airport codes, coordinates and even landmarks, and supports many languages. Handy for scripts, terminals and status bars. Free and open source, no key needed.

- API key: Not needed
- Pricing: Free and open source, no key needed.
- From the browser: Yes (CORS)
- Interface: REST, HTTP-GET
- Provider: github.com
- Last checked: Working on November 16th, 2026

Example request:

```sh
curl 'https://wttr.in/London?format=j1'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

