WeatherAPI · JSON Structure

Weatherapi Current Weather Structure

CurrentWeather schema from WeatherAPI.com

Type: object Properties: 33
WeatherForecastHistoryMarineAstronomyGeolocationSportsAlertsPublic APIs

CurrentWeather is a JSON Structure definition published by WeatherAPI, describing 33 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

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

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weatherapi/refs/heads/main/json-structure/weatherapi-current-weather-structure.json",
  "name": "CurrentWeather",
  "description": "CurrentWeather schema from WeatherAPI.com",
  "type": "object",
  "properties": {
    "last_updated_epoch": {
      "type": "int32",
      "example": 1748441400
    },
    "last_updated": {
      "type": "string",
      "example": "2026-05-28 15:30"
    },
    "temp_c": {
      "type": "double",
      "description": "Temperature °C",
      "example": 18.5
    },
    "temp_f": {
      "type": "double",
      "description": "Temperature °F",
      "example": 65.3
    },
    "is_day": {
      "type": "int32",
      "description": "1=day, 0=night",
      "example": 1
    },
    "condition": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Weather condition description",
          "example": "Partly Cloudy"
        },
        "icon": {
          "type": "string",
          "description": "URL to condition icon",
          "example": "//cdn.weatherapi.com/weather/64x64/day/116.png"
        },
        "code": {
          "type": "int32",
          "description": "Condition code (see conditions.json)",
          "example": 1003
        }
      }
    },
    "wind_mph": {
      "type": "double",
      "example": 12.4
    },
    "wind_kph": {
      "type": "double",
      "example": 12.4
    },
    "wind_degree": {
      "type": "int32",
      "example": 1
    },
    "wind_dir": {
      "type": "string",
      "description": "16-point compass direction",
      "example": "WSW"
    },
    "pressure_mb": {
      "type": "double",
      "example": 1013.0
    },
    "pressure_in": {
      "type": "double",
      "example": 1013.0
    },
    "precip_mm": {
      "type": "double",
      "example": 0.5
    },
    "precip_in": {
      "type": "double",
      "example": 0.5
    },
    "humidity": {
      "type": "int32",
      "description": "Humidity %",
      "example": 65
    },
    "cloud": {
      "type": "int32",
      "description": "Cloud cover %",
      "example": 40
    },
    "feelslike_c": {
      "type": "double",
      "example": 17.8
    },
    "feelslike_f": {
      "type": "double",
      "example": 17.8
    },
    "windchill_c": {
      "type": "double",
      "example": 12.4
    },
    "windchill_f": {
      "type": "double",
      "example": 12.4
    },
    "heatindex_c": {
      "type": "double",
      "example": 1.0
    },
    "heatindex_f": {
      "type": "double",
      "example": 1.0
    },
    "dewpoint_c": {
      "type": "double",
      "example": 1.0
    },
    "dewpoint_f": {
      "type": "double",
      "example": 1.0
    },
    "vis_km": {
      "type": "double",
      "example": 10.0
    },
    "vis_miles": {
      "type": "double",
      "example": 10.0
    },
    "uv": {
      "type": "double",
      "description": "UV Index",
      "example": 4.0
    },
    "gust_mph": {
      "type": "double",
      "example": 22.1
    },
    "gust_kph": {
      "type": "double",
      "example": 22.1
    },
    "short_rad": {
      "type": "double",
      "description": "GHI W/m² (paid plans)",
      "example": 1.0
    },
    "diff_rad": {
      "type": "double",
      "description": "DHI W/m² (paid plans)",
      "example": 1.0
    },
    "air_quality": {
      "type": "object",
      "description": "Air quality data. Returned when aqi=yes.",
      "properties": {
        "co": {
          "type": "double",
          "description": "Carbon monoxide µg/m³",
          "example": 1.0
        },
        "o3": {
          "type": "double",
          "description": "Ozone µg/m³",
          "example": 1.0
        },
        "no2": {
          "type": "double",
          "description": "Nitrogen dioxide µg/m³",
          "example": 1.0
        },
        "so2": {
          "type": "double",
          "description": "Sulphur dioxide µg/m³",
          "example": 1.0
        },
        "pm2_5": {
          "type": "double",
          "description": "PM2.5 µg/m³",
          "example": 1.0
        },
        "pm10": {
          "type": "double",
          "description": "PM10 µg/m³",
          "example": 1.0
        },
        "us-epa-index": {
          "type": "int32",
          "description": "US EPA index 1–6 (1=Good, 6=Hazardous)",
          "example": 1
        },
        "gb-defra-index": {
          "type": "int32",
          "description": "UK DEFRA index 1–10",
          "example": 1
        }
      }
    },
    "pollen": {
      "type": "object",
      "description": "Pollen data in grains/m³. Returned when pollen=yes (Pro+ and above).",
      "properties": {
        "Hazel": {
          "type": "double",
          "example": 1.0
        },
        "Alder": {
          "type": "double",
          "example": 1.0
        },
        "Birch": {
          "type": "double",
          "example": 1.0
        },
        "Oak": {
          "type": "double",
          "example": 1.0
        },
        "Grass": {
          "type": "double",
          "example": 1.0
        },
        "Mugwort": {
          "type": "double",
          "example": 1.0
        },
        "Ragweed": {
          "type": "double",
          "example": 1.0
        }
      }
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/weatherapi-current-weather-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.