wttr.in API guide

wttr.in

Use wttr.in to check current temperature, humidity, and wind or get a one- to three-day forecast for a location.

Actions and inputs

wttr current

Check current weather conditions for a location.

Inputs city, coordinates, airport ICAO code, or @domain

wttr forecast

Get daily temperatures, conditions, and sunrise and sunset times.

Inputs location, optional forecast days (1–3)

Saved wttr.in forecast lookup in Smith

Create

Save a wttr.in forecast lookup in Smith.

Inputs lookup name, location, forecast days

Read

View the location and forecast length for the saved lookup.

Inputs saved lookup ID

Update

Change the saved forecast location or number of days.

Inputs saved lookup ID, new location or forecast days

Delete

Remove the saved wttr.in forecast lookup from Smith.

Inputs saved lookup ID