Wttr.in

wttr.in provides weather information through a web service and terminal interface, with weather API and command-line topics in its repository.

github.com/chubin/wttr.in
Wttr.in homepage screenshot

About Wttr.in

Wttr.in is a console-oriented weather forecast service queried through URLs from shell tools or a browser. It returns forecasts for cities, 3-letter airport codes, landmarks, IP addresses, or @-prefixed domain names, and uses IP-based location when no location is given.

It supports ANSI, plain-text, HTML, PNG, JSON, and Prometheus metrics outputs, with ANSI and HTML selected by User-Agent. Units default to USCS for queries from the USA and metric elsewhere, with ?u, ?m, and ?M overrides.

Key features

  • Retrieve forecasts with curl, wget, httpie, or PowerShell
  • Query by city, landmark, airport code, IP, or @domain
  • Defaults to IP-based location when location is omitted
  • Supports ANSI, plain-text, HTML, PNG, JSON, Prometheus outputs
  • Override units with ?u, ?m, or ?M parameters
  • Force PNG with .png suffix and _-separated options
Best for: Terminal users and script authors who need weather data via command-line requests.
Good for
  • Works from shell clients and web browsers
  • Offers JSON and Prometheus metrics outputs for scripts and APIs
  • Code is open source via its GitHub repository

Wttr.in at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Wttr.in alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 12 alternatives

Popular in Maps, Navigation & Weather

Well-known listings from the same topic.

All 203

Wttr.in FAQ

How do I get weather for a specific place?
Add the location to the URL, such as curl wttr.in/London, curl wttr.in/muc for an airport, or curl wttr.in/@github.com for a domain.
What happens if I do not specify a location?
You get the report for your current location based on your IP address.
How do I change measurement units?
Add ?u for USCS, ?m for metric, or ?M for metric with wind speed in m/s. Queries from the USA default to USCS and others default to metric.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing