Current Weather Response Schema
Response body for the current weather endpoint
Example
{ "location": { "lat": 40.7128, "lon": -74.006, "name": "New York", "admin": "New York", "country": "United States", "iso2": "US", "timezone": "America/New_York" }, "data": { "time": "2026-02-20T12:00:00Z", "temp": 25.5, "feels_like": 22.3, "dew": 15.2, "humidity": 65, "wind_speed": 12.1, "wind_gust": 18.5, "wind_deg": 270, "wind_dir": "N", "pressure": 101.33, "vis": 24, "clouds": 35, "pop": 50, "precip_amount": 0, "precip_type": "rain", "description": { "code": 520, "name": "Rain" } }, "units": { "temp": "°C", "feels_like": "°C", "dew": "°C", "wind_speed": "km/h", "wind_gust": "km/h", "pressure": "kPa", "vis": "km", "rain": "mm", "snow": "cm" } }
Attributes
-
location
objectDescribes a point on Earth
Object Properties
Property Type Description Schema latnumberLatitude in decimal degreesExample:
40.7128Min:
-90Max:90lonnumberLongitude in decimal degreesExample:
-74.006Min:
-180Max:180namestringCity or locality nameExample:
New YorkadminstringAdministrative region (e.g. state or province)Example:
New YorkcountrystringFull country nameExample:
United Statesiso2stringISO 3166-1 alpha-2 country codeExample:
UStimezonestringIANA timezone identifierExample:
America/New_York -
data
objectDescribes the weather at a moment in time
Object Properties
Property Type Description Schema timestringObservation time in ISO 8601 format (UTC)Example:
2026-02-20T12:00:00ZtempnumberAir temperature. Units will be Celsius for metric or Fahrenheit for imperialExample:
25.5feels_likenumberApparent temperature. Units will be Celsius for metric or Fahrenheit for imperialExample:
22.3dewnumberDew point temperature. Units will be Celsius for metric or Fahrenheit for imperialExample:
15.2humidityintegerRelative humidity percentage (0-100)Example:
65Min:
0Max:100wind_speednumberWind speed. Units are km/h for metric or mph for imperialExample:
12.1wind_gustnumberWind gust speed. Units are km/h for metric or mph for imperialExample:
18.5wind_degnumberWind direction in degrees (0-360)Example:
270Min:
0Max:360wind_dirstringCardinal wind directionExample:
NESWpressurenumberAtmospheric pressure. kPa for metric, inHg for imperialExample:
101.33visnumberVisibility. Kilometers for metric, miles for imperialExample:
24cloudsintegerCloud coverage percentage (0-100)Example:
35Min:
0Max:100popnumberProbability of precipitation (0-100)Example:
50Min:
0Max:100precip_amountnumberTotal precipitation amount. Millimeters for metric, inches for imperialExample:
0precip_typestringType of precipitationExample:
rainAllowed values:nonerainsnowrain_snowice_pelletsfreezing_rainmixed
descriptionobjectProvides a human and machine readable description of the weatherObject Properties
Property Type Description Schema codeintegerNumeric weather condition codeExample:
520Allowed values: 100- Clear200- Mostly sunny210- Partly cloudy220- Mostly cloudy230- Cloudy300- Fog301- Mist310- Smoke400- Chance of thunderstorms410- Thunderstorm420- Heavy thunderstorm500- Drizzle510- Light rain520- Rain530- Heavy rain590- Mixed (daily only)600- Freezing rain610- Sleet620- Ice pellets700- Light snow710- Snow720- Heavy snow730- Blowing snow740- Blizzard
namestringHuman-readable weather condition nameExample:
Rain -
units
objectUnit labels for each measurement in the response.
Object Properties
Property Type Description Schema tempstringUnit label for all temperature values returned by the APIExample:
°Cfeels_likestringUnit label for all apparent temperature values returned by the APIExample:
°CdewstringUnit label for all dew point values returned by the APIExample:
°Cwind_speedstringUnit label for all wind speeds returned by the APIExample:
km/hwind_guststringUnit label for all wind gusts returned by the APIExample:
km/hpressurestringUnit label for all atmospheric pressure values returned by the APIExample:
kPavisstringUnit label for all visibility distances returned by the APIExample:
kmrainstringUnit label for all rainfall amounts returned by the APIExample:
mmsnowstringUnit label for all snowfall amounts returned by the APIExample:
cm