wttr.in
App · 3 actions
Free weather for any city, landmark or pair of coordinates from wttr.in: current conditions, a 3-day forecast with sunrise, sunset and moon phase, or the weather as one short line with emoji for chat messages and status updates. Metric or imperial. No account or API key required.
Actions
| Action | What it does |
|---|---|
| Get current weather | Get the weather right now at a city, landmark or pair of coordinates: conditions in words, temperature and what it feels like, humidity, cloud, rain, pressure, visibility, UV and wind, in metric or imperial units. |
| Get forecast | Get the forecast for today and the next two days: high, low and average temperature, chance of rain and snow, wind, sunshine, sunrise and sunset, and the moon's phase, with 3-hourly detail if you want it. |
| Get weather as one line | Get the weather as one short line of text with emoji, such as 'London: ☀️ +13°C', ready to drop into a chat message, an email subject or a status. |
Get current weather
Get the weather right now at a city, landmark or pair of coordinates: conditions in words, temperature and what it feels like, humidity, cloud, rain, pressure, visibility, UV and wind, in metric or imperial units. No API key required.
Inputs
- Location
locationtextRequired - A city or town (London, Salt Lake City), coordinates such as 48.85,2.35, or a landmark with ~ in front (~Eiffel Tower).
- Units
unitstext - Metric (°C, km/h, mm) or imperial (°F, mph, inches). Defaults to metric.One of:
metric(Metric (°C, km/h, mm)),imperial(Imperial (°F, mph, inches)). Default:metric.
Outputs
cloud_covernumber- Share of the sky covered by cloud, in percent.
conditiontext- The weather in words, e.g. 'Partly cloudy'.
feels_likenumber- What the temperature feels like, with wind and humidity.
humiditynumber- Relative humidity, in percent.
locationtext- The location that was asked for.
observation_time_utctext- When the conditions were observed, in UTC, e.g. '06:07 PM'.
placeobject- The place wttr.in found for it.
precipitationnumber- Rain or snow falling, in mm or inches.
pressurenumber- Air pressure, in hPa or inches of mercury.
summarytext- One line, e.g. 'Belgravia, United Kingdom: Clear, 13°C, feels like 9°C, wind 16 km/h NNW'.
temperaturenumber- The temperature, in the chosen units.
unit_labelsobject- The unit of each kind of value in this result.
unitstext- 'metric' or 'imperial'.
uv_indexnumber- The UV index, 0 upwards.
visibilitynumber- How far one can see, in km or miles.
weather_codenumber- World Weather Online's weather code, e.g. 113 for clear.
wind_directiontext- Where the wind blows from, on a 16-point compass, e.g. 'NNW'.
wind_direction_degreesnumber- Where the wind blows from, in degrees (0 is north).
wind_speednumber- Wind speed, in km/h or mph.
Example output
{
"cloud_cover": 4,
"condition": "Clear",
"feels_like": 9,
"humidity": 51,
"location": "London",
"observation_time_utc": "06:07 PM",
"place": {
"area": "Belgravia",
"country": "United Kingdom",
"latitude": 51.5,
"longitude": -0.15,
"region": "Westminster Greater London",
"resolved_as": "Lat 51.51 and Lon -0.13"
},
"precipitation": 0,
"pressure": 1026,
"summary": "Belgravia, United Kingdom: Clear, 13\u00b0C, feels like 9\u00b0C, wind 16 km/h NNW",
"temperature": 13,
"unit_labels": {
"precipitation": "mm",
"pressure": "hPa",
"snow": "cm",
"temperature": "\u00b0C",
"visibility": "km",
"wind_speed": "km/h"
},
"units": "metric",
"uv_index": 0,
"visibility": 10,
"weather_code": 113,
"wind_direction": "NNW",
"wind_direction_degrees": 327,
"wind_speed": 16
}Get forecast
Get the forecast for today and the next two days: high, low and average temperature, chance of rain and snow, wind, sunshine, sunrise and sunset, and the moon's phase, with 3-hourly detail if you want it. No API key required.
Inputs
- Location
locationtextRequired - A city or town (London, Salt Lake City), coordinates such as 48.85,2.35, or a landmark with ~ in front (~Eiffel Tower).
- Units
unitstext - Metric (°C, km/h, mm) or imperial (°F, mph, inches). Defaults to metric.One of:
metric(Metric (°C, km/h, mm)),imperial(Imperial (°F, mph, inches)). Default:metric. - Include 3-hourly detail
include_hourlytrue/false - Also return each day in 3-hour steps. Leave off for a shorter, daily result.Default:
false.
Outputs
countnumber- How many days are in the forecast (3: today and the next two).
dayslist- One entry a day, today first.
locationtext- The location that was asked for.
placeobject- The place wttr.in found for it.
summarytext- One line about today's forecast.
unit_labelsobject- The unit of each kind of value in this result.
unitstext- 'metric' or 'imperial'.
Example output
{
"count": 1,
"days": [
{
"average_temperature": 14,
"chance_of_rain": 30,
"chance_of_snow": 0,
"condition": "Partly Cloudy",
"date": "2026-10-16",
"hourly": [
{
"chance_of_rain": 30,
"chance_of_snow": 0,
"chance_of_thunder": 0,
"cloud_cover": 100,
"condition": "Patchy rain nearby",
"feels_like": 10,
"humidity": 85,
"precipitation": 0,
"pressure": 1020,
"temperature": 12,
"time": "09:00",
"uv_index": 0,
"visibility": 10,
"weather_code": 176,
"wind_direction": "NNW",
"wind_gust": 38,
"wind_speed": 15
},
{
"chance_of_rain": 6,
"chance_of_snow": 0,
"chance_of_thunder": 0,
"cloud_cover": 32,
"condition": "Partly Cloudy",
"feels_like": 13,
"humidity": 61,
"precipitation": 0,
"pressure": 1022,
"temperature": 15,
"time": "12:00",
"uv_index": 2,
"visibility": 10,
"weather_code": 116,
"wind_direction": "NNW",
"wind_gust": 26,
"wind_speed": 18
}
],
"max_temperature": 16,
"max_wind_speed": 18,
"min_temperature": 11,
"moon_illumination": 26,
"moon_phase": "Waxing Crescent",
"moonrise": "02:08 PM",
"moonset": "08:49 PM",
"sun_hours": 6,
"sunrise": "07:26 AM",
"sunset": "06:05 PM",
"total_snow": 0,
"uv_index": 2
}
],
"location": "London",
"place": {
"area": "Belgravia",
"country": "United Kingdom",
"latitude": 51.5,
"longitude": -0.15,
"region": "Westminster Greater London",
"resolved_as": "Lat 51.51 and Lon -0.13"
},
"summary": "Belgravia, United Kingdom, 1 day; 2026-10-16: Partly Cloudy, 11 to 16\u00b0C, 30% chance of rain",
"unit_labels": {
"precipitation": "mm",
"pressure": "hPa",
"snow": "cm",
"temperature": "\u00b0C",
"visibility": "km",
"wind_speed": "km/h"
},
"units": "metric"
}Get weather as one line
Get the weather as one short line of text with emoji, such as 'London: ☀️ +13°C', ready to drop into a chat message, an email subject or a status. Use one of wttr.in's preset formats or build your own from % codes. No API key required.
Inputs
- Location
locationtextRequired - A city or town (London, Salt Lake City), coordinates such as 48.85,2.35, or a landmark with ~ in front (~Eiffel Tower).
- Format
line_formattext - 1 to 4 for wttr.in's presets (3, the default, gives the place and weather), or your own line using % codes: %l place, %c weather icon, %C weather in words, %t temperature, %f feels like, %h humidity, %w wind, %p rain, %P pressure, %m moon phase, %S sunrise, %s sunset.Default:
3. - Units
unitstext - Metric (°C, km/h, mm) or imperial (°F, mph, inches). Defaults to metric.One of:
metric(Metric (°C, km/h, mm)),imperial(Imperial (°F, mph, inches)). Default:metric.
Outputs
line_formattext- The format used: 1 to 4, or the custom % format.
locationtext- The location that was asked for.
texttext- The weather as one line, e.g. 'London: ☀️ +13°C'.
unitstext- 'metric' or 'imperial'.
Example output
{
"line_format": "3",
"location": "London",
"text": "London: \u2600\ufe0f +13\u00b0C",
"units": "metric"
}