Provides current weather conditions for any city, airport code, or zip code using wttr.in without requiring an API key.

My Weather

Get current weather using wttr.in (no API key required).

Example

bash
curl -s "wttr.in/78023?format=3"
# Output: San Antonio: ⛅️ +28°C

Location

Use city name, airport code, or zip code:

bash
curl -s "wttr.in/London?format=3"
curl -s "wttr.in/JFK?format=3"
curl -s "wttr.in/78023?format=3"

Format options

  • ?format=3 - Compact one-liner
  • ?format=%l:+%c+%t+%h+%w - Custom format
  • ?T - Full forecast
  • ?0 - Current only
  • ?1 - Today only

Units

  • ?m - Metric
  • ?u - USCS