WeatherAPI · Schema

ForecastDay

ForecastDay schema from WeatherAPI.com

WeatherForecastHistoryMarineAstronomyGeolocationSportsAlertsPublic APIs

Properties

Name Type Description
maxtemp_c number
maxtemp_f number
mintemp_c number
mintemp_f number
avgtemp_c number
avgtemp_f number
maxwind_mph number
maxwind_kph number
totalprecip_mm number
totalprecip_in number
totalsnow_cm number
avgvis_km number
avgvis_miles number
avghumidity integer
daily_will_it_rain integer
daily_chance_of_rain integer
daily_will_it_snow integer
daily_chance_of_snow integer
condition object
uv number
air_quality object Air quality data. Returned when aqi=yes.
View JSON Schema on GitHub

JSON Schema

weatherapi-forecast-day-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weatherapi/refs/heads/main/json-schema/weatherapi-forecast-day-schema.json",
  "title": "ForecastDay",
  "description": "ForecastDay schema from WeatherAPI.com",
  "type": "object",
  "properties": {
    "maxtemp_c": {
      "type": "number",
      "example": 18.5
    },
    "maxtemp_f": {
      "type": "number",
      "example": 65.3
    },
    "mintemp_c": {
      "type": "number",
      "example": 18.5
    },
    "mintemp_f": {
      "type": "number",
      "example": 65.3
    },
    "avgtemp_c": {
      "type": "number",
      "example": 18.5
    },
    "avgtemp_f": {
      "type": "number",
      "example": 65.3
    },
    "maxwind_mph": {
      "type": "number",
      "example": 12.4
    },
    "maxwind_kph": {
      "type": "number",
      "example": 12.4
    },
    "totalprecip_mm": {
      "type": "number",
      "example": 0.5
    },
    "totalprecip_in": {
      "type": "number",
      "example": 0.5
    },
    "totalsnow_cm": {
      "type": "number",
      "example": 1.0
    },
    "avgvis_km": {
      "type": "number",
      "example": 10.0
    },
    "avgvis_miles": {
      "type": "number",
      "example": 10.0
    },
    "avghumidity": {
      "type": "integer",
      "example": 65
    },
    "daily_will_it_rain": {
      "type": "integer",
      "example": 1
    },
    "daily_chance_of_rain": {
      "type": "integer",
      "example": 1
    },
    "daily_will_it_snow": {
      "type": "integer",
      "example": 1
    },
    "daily_chance_of_snow": {
      "type": "integer",
      "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": "integer",
          "description": "Condition code (see conditions.json)",
          "example": 1003
        }
      }
    },
    "uv": {
      "type": "number",
      "example": 4.0
    },
    "air_quality": {
      "type": "object",
      "description": "Air quality data. Returned when aqi=yes.",
      "properties": {
        "co": {
          "type": "number",
          "description": "Carbon monoxide µg/m³",
          "example": 1.0
        },
        "o3": {
          "type": "number",
          "description": "Ozone µg/m³",
          "example": 1.0
        },
        "no2": {
          "type": "number",
          "description": "Nitrogen dioxide µg/m³",
          "example": 1.0
        },
        "so2": {
          "type": "number",
          "description": "Sulphur dioxide µg/m³",
          "example": 1.0
        },
        "pm2_5": {
          "type": "number",
          "description": "PM2.5 µg/m³",
          "example": 1.0
        },
        "pm10": {
          "type": "number",
          "description": "PM10 µg/m³",
          "example": 1.0
        },
        "us-epa-index": {
          "type": "integer",
          "description": "US EPA index 1–6 (1=Good, 6=Hazardous)",
          "example": 1
        },
        "gb-defra-index": {
          "type": "integer",
          "description": "UK DEFRA index 1–10",
          "example": 1
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/weatherapi-forecast-day"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.