v1

latestOpenAPI 3.1.02026-07-24200331.1 KB

Realtime Weather

get/weather/realtime

Query parameters

locationstring required
unitsstring

Unit system of the field values, either "metric" or "imperial" - see Field Descriptors

Headers

accept-encodingstring required

Response

200

Example response

{
  "data": {
    "time": "2023-01-26T07:48:00Z",
    "values": {
      "cloudBase": 0.07,
      "cloudCeiling": 0.07,
      "cloudCover": 100,
      "dewPoint": 0.88,
      "humidity": 96,
      "pressureSurfaceLevel": 984.57,
      "temperature": 1.88,
      "temperatureApparent": -0.69,
      "visibility": 9.9,
      "weatherCode": 1001,
      "windDirection": 10,
      "windGust": 3.38,
      "windSpeed": 2.38
    }
  },
  "location": {
    "lat": 43.653480529785156,
    "lon": -79.3839340209961,
    "name": "Old Toronto, Toronto, Golden Horseshoe, Ontario, Canada",
    "type": "administrative"
  }
}