Skip to content

wttr.in API

Current conditions and a three-day forecast for a city name, as JSON or plain text.
Status
Working
API key
Not needed
Browser calls
Runs in the browser
Latency
145 ms

Build snapshot, not live. One verifier run on , from the machine that built this site. How we check

Example request

GEThttps://wttr.in/London?format=j1

Sent from your browser straight to wttr.in. No proxy: this site never sees the request or the answer.

Copy the request

Shell
curl -s 'https://wttr.in/London?format=j1'

Response stored by the verifier

This is what wttr.in answered when the verifier sent the request above on : HTTP 200, text/plain. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.

text/plain · stored
{
  "current_condition": [
    {
      "FeelsLikeC": "2",
      "FeelsLikeF": "35",
      "cloudcover": "99",
      "humidity": "80",
      "observation_time": "05:45 AM",
      "precipInches": "0.0",
      "precipMM": "0.0",
      "pressure": "1018",
      "pressureInches": "30",
      "temp_C": "5",
      "temp_F": "40",
      "uvIndex": "0",
      "visibility": "10",
      "visibilityMiles": "6"
    }
  ],
  "nearest_area": [
    {
      "areaName": [
        {}
      ],
      "country": [
        {}
      ],
      "latitude": "51.508",
      "longitude": "-0.121",
      "population": "0",
      "region": [
        {}
      ],
      "weatherUrl": [
        {}
      ]
    }
  ],
  "request": [
    {
      "query": "Lat 51.51 and Lon -0.13",
      "type": "LatLon"
    }
  ],
  "weather": [
    {
      "astronomy": [
        {}
      ],
      "avgtempC": "4",
      "avgtempF": "40",
      "date": "2026-11-26",
      "hourly": [
        {},
        {}
      ],
      "maxtempC": "6",
      "maxtempF": "43",
      "mintempC": "2",
      "mintempF": "35",
      "sunHour": "6.0",
      "totalSnow_cm": "0.0",
      "uvIndex": "1"
    },
    {
      "astronomy": [
        {}
      ],
    
…

Availability

Up 1 of 1 day checked · 30-day window

What counts as up for this API: an answer within five seconds, a 2xx status, and the JSON body must contain the field "current_condition".

Last check: — passed, HTTP 200 in 145 ms.

The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.

Badge for your README

If you maintain this API, you can show its last check in your README. The image is made when the site is built, so it shows that check and its date; it is not live, and it can be older than the status page until the site is published again. The link goes back to this page.

freeapi.today: Working, checked 2026-11-26
Markdown
[![freeapi.today status](https://freeapi.today/badge/wttr-in.svg/)](https://freeapi.today/apis/wttr-in/)

Questions

Does the wttr.in API need an API key?

No. The sample request on this page was answered without a key, token or account.

Can I call the wttr.in API from the browser?

Yes. wttr.in answered our verifier with an Access-Control-Allow-Origin header on Nov 26, 2026, so a fetch call from a web page can read the response.

Is the wttr.in API working?

At the check on Nov 26, 2026 it returned HTTP 200 with the expected data in 145 ms. The status at the top of this page shows the most recent result we have.