Discover/wttr.in API
live

wttr.in APIwttr.in

Get current weather conditions and 3-day forecasts with hourly breakdowns for any location worldwide. Temperature, wind, humidity, UV index, and more.

Endpoints
2
Updated
6h ago
Try it
Location to get weather for. Accepts city names (e.g. 'New York', 'London'), coordinates (
api.parse.bot/scraper/8b6c67cb-8ac9-4eee-959a-ff31ae1720ef/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/8b6c67cb-8ac9-4eee-959a-ff31ae1720ef/get_weather' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Get current weather conditions and a 3-day forecast with hourly breakdowns for a given location. Returns temperature, wind, humidity, precipitation, UV index, astronomy data (sunrise/sunset/moon), and hourly forecasts for each day.

Input
ParamTypeDescription
locationrequiredstringLocation to get weather for. Accepts city names (e.g. 'New York', 'London'), coordinates (e.g. '48.8566,2.3522'), airport codes (e.g. 'JFK'), or landmarks.
Response
{
  "type": "object",
  "fields": {
    "current": "object with temp_c, temp_f, feels_like_c, feels_like_f, humidity, weather_desc, wind_speed_kmph, wind_speed_mph, wind_direction, pressure_mb, visibility_km, uv_index, cloud_cover, precip_mm, observation_time",
    "forecast": "array of 3 day objects each with date, max/min/avg temps, sunrise, sunset, moon_phase, and hourly array",
    "location": "object with name, country, region, latitude, longitude"
  },
  "sample": {
    "current": {
      "temp_c": "18",
      "temp_f": "64",
      "humidity": "70",
      "uv_index": "1",
      "precip_mm": "0.0",
      "cloud_cover": "0",
      "pressure_mb": "1015",
      "feels_like_c": "11",
      "feels_like_f": "52",
      "weather_desc": "Sunny",
      "visibility_km": "10",
      "wind_direction": "NNW",
      "wind_speed_mph": "8",
      "wind_speed_kmph": "12",
      "observation_time": "12:28 PM"
    },
    "forecast": [
      {
        "date": "2026-06-01",
        "hourly": [
          {
            "time": "0",
            "temp_c": "18",
            "temp_f": "65",
            "humidity": "40",
            "uv_index": "0",
            "precip_mm": "0.0",
            "cloud_cover": "0",
            "feels_like_c": "18",
            "weather_desc": "Clear ",
            "chance_of_rain": "0",
            "wind_direction": "ENE",
            "wind_speed_kmph": "13"
          }
        ],
        "sunset": "08:21 PM",
        "moonset": "05:53 AM",
        "sunrise": "05:27 AM",
        "moonrise": "10:05 PM",
        "avg_temp_c": "19",
        "avg_temp_f": "66",
        "max_temp_c": "24",
        "max_temp_f": "75",
        "min_temp_c": "15",
        "min_temp_f": "59",
        "moon_phase": "Waning Gibbous"
      }
    ],
    "location": {
      "name": "Greenwich Village",
      "region": "New York",
      "country": "United States of America",
      "latitude": "40.728",
      "longitude": "-74.003"
    }
  }
}

About the wttr.in API

The wttr.in API exposes 2 endpoints that return current weather conditions and multi-day forecasts for any location worldwide. The get_weather endpoint delivers a full 3-day forecast with hourly breakdowns, astronomy data, and 15+ response fields per day. The get_current_weather endpoint returns a flat snapshot of present conditions including temperature, pressure, UV index, cloud cover, and precipitation without forecast data.

Endpoints and What They Return

The get_weather endpoint accepts a location string — city names like London or coordinates like 48.8566,2.3522 — and returns three top-level objects: current, forecast, and location. The current object includes temp_c, temp_f, feels_like_c, feels_like_f, humidity, weather_desc, wind_speed_kmph, wind_speed_mph, wind_direction, and related fields. The forecast array contains 3 day objects, each with date, max/min/avg temperatures, sunrise, sunset, moon_phase, and an hourly array for granular intraday data.

Current-Conditions Endpoint

The get_current_weather endpoint targets use cases where forecast data is unnecessary. It returns a flat object with temp_c, temp_f, feels_like_c, humidity, pressure_mb, uv_index, cloud_cover, precip_mm, wind_degree, and a location sub-object containing name, country, region, latitude, and longitude. This endpoint is lighter and suitable for dashboards or status displays that only need a real-time snapshot.

Location Input

Both endpoints accept the same location parameter. City names, region names, and decimal coordinate pairs are all valid inputs. The location object in each response echoes back the resolved name, country, region, and latitude/longitude, so you can confirm which location the response corresponds to — useful when passing ambiguous city names.

Common use cases
  • Display current temperature and humidity on a travel planning dashboard using get_current_weather
  • Build a 3-day trip weather summary using the forecast array from get_weather
  • Show sunrise and sunset times for a given city by reading sunrise and sunset fields in the forecast day objects
  • Alert users when UV index exceeds a threshold using the uv_index field from get_current_weather
  • Render an hourly temperature chart for today using the hourly array in the first forecast day object
  • Display moon phase information for astronomy or gardening apps using moon_phase from the forecast
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does wttr.in have an official developer API?+
Yes. wttr.in offers a public JSON API documented at https://wttr.in/:help. It supports multiple output formats and is free to use directly for low-volume requests.
What does the `get_weather` endpoint return that `get_current_weather` does not?+
get_weather includes a forecast array with 3 day objects, each containing max/min/avg temperatures, sunrise, sunset, moon_phase, and an hourly breakdown. get_current_weather returns only a flat snapshot of present conditions with no forecast or astronomy data.
Does the API return hourly forecasts beyond a 3-day window?+
Not currently. The forecast array covers 3 days with hourly data per day. You can fork this API on Parse and revise it to request extended forecast ranges if the underlying source supports them.
Are historical weather records available through this API?+
Not currently. Both endpoints return current conditions and forward-looking forecasts only. You can fork this API on Parse and revise it to add a historical weather endpoint targeting a date-based query.
How specific can the `location` input be — can I pass a zip code or airport code?+
The location parameter accepts city names and decimal coordinate pairs. Zip codes and airport codes are not explicitly listed as supported inputs. If a city name is ambiguous, the resolved location is echoed back in the location response object — check name, country, and region to verify the match.
Page content last updated . Spec covers 2 endpoints from wttr.in.
Related APIs in WeatherSee all →
metoffice.gov.uk API
Access detailed UK weather forecasts, real-time lightning tracking, and weather warnings from the Met Office. Search locations to retrieve hourly, daily, regional, and long-range predictions, and monitor storm activity with spot forecasts across any geographic area.
surfline.com API
Check real-time surf conditions, forecasts for waves and wind, tide predictions, and live camera feeds from thousands of surf spots around the world. Browse spots by geographic region and access detailed weather data to plan your perfect surfing session.
vail.com API
Access live snow conditions, weather forecasts, and real-time terrain status for Vail and other Vail Resorts properties. Retrieve current snow reports, upcoming weather, and run and lift statuses across supported resorts.
bom.gov.au API
Get accurate weather forecasts for Australian cities with temperature, precipitation, UV index, and conditions from the Bureau of Meteorology. Search for any location and retrieve multi-day forecasts to plan your activities with confidence.
iqair.com API
Monitor real-time and historical air quality data worldwide, including global rankings, city-specific pollution details, and map visualizations. Search live city rankings and access comprehensive air quality information to track pollution levels across the globe.
wunderground.com API
Access real-time weather conditions, multi-day forecasts, and detailed historical weather data from thousands of personal and airport weather stations worldwide. Search and retrieve current observations, hourly history, and monthly records to power your weather applications and analysis.
forecast.weather.gov API
Get National Weather Service station metadata plus the latest and recent weather observations (temperature, wind, pressure, humidity, and METAR text) for a specified station ID.
bigwhite.com API
Stay on top of Big White Ski Resort conditions with live snow reports, weather forecasts, lift and grooming status, plus webcam feeds and pow cam images. Plan your visit and find deals with access to ticket pricing, events, park conditions, and resort information all in one place.