Home
WeatherAPI
Weatherapi Current Weather Example
Weatherapi Current Weather Example
Weather Forecast History Marine Astronomy Geolocation Sports Alerts Public APIs
Weatherapi Current Weather Example is an example object payload from WeatherAPI, with 33 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
last_updated_epoch last_updated temp_c temp_f is_day condition wind_mph wind_kph wind_degree wind_dir pressure_mb pressure_in precip_mm precip_in humidity cloud feelslike_c feelslike_f windchill_c windchill_f heatindex_c heatindex_f dewpoint_c dewpoint_f vis_km vis_miles uv gust_mph gust_kph short_rad diff_rad air_quality pollen
Example Payload
{
"last_updated_epoch": 1748441400,
"last_updated": "2026-05-28 15:30",
"temp_c": 18.5,
"temp_f": 65.3,
"is_day": 1,
"condition": {
"text": "Partly Cloudy",
"icon": "//cdn.weatherapi.com/weather/64x64/day/116.png",
"code": 1003
},
"wind_mph": 12.4,
"wind_kph": 12.4,
"wind_degree": 1,
"wind_dir": "WSW",
"pressure_mb": 1013.0,
"pressure_in": 1013.0,
"precip_mm": 0.5,
"precip_in": 0.5,
"humidity": 65,
"cloud": 40,
"feelslike_c": 17.8,
"feelslike_f": 17.8,
"windchill_c": 12.4,
"windchill_f": 12.4,
"heatindex_c": 1.0,
"heatindex_f": 1.0,
"dewpoint_c": 1.0,
"dewpoint_f": 1.0,
"vis_km": 10.0,
"vis_miles": 10.0,
"uv": 4.0,
"gust_mph": 22.1,
"gust_kph": 22.1,
"short_rad": 1.0,
"diff_rad": 1.0,
"air_quality": {
"co": 1.0,
"o3": 1.0,
"no2": 1.0,
"so2": 1.0,
"pm2_5": 1.0,
"pm10": 1.0,
"us-epa-index": 1,
"gb-defra-index": 1
},
"pollen": {
"Hazel": 1.0,
"Alder": 1.0,
"Birch": 1.0,
"Oak": 1.0,
"Grass": 1.0,
"Mugwort": 1.0,
"Ragweed": 1.0
}
}