Xweather · Schema

ForecastPeriod

ForecastPeriod schema from Xweather Weather API

Air QualityCompanyDataForecastLightningMaritimeObservationsSevere WeatherWeather

Properties

Name Type Description
timestamp integer Unix timestamp for the forecast period.
dateTimeISO string
maxTempC number Maximum temperature in Celsius.
maxTempF number Maximum temperature in Fahrenheit.
minTempC number Minimum temperature in Celsius.
minTempF number Minimum temperature in Fahrenheit.
avgTempC number
avgTempF number
precipMM number Precipitation amount in mm.
precipIN number Precipitation amount in inches.
pop integer Probability of precipitation (0-100).
humidity integer Relative humidity percentage.
windSpeedKPH number
windSpeedMPH number
windDir string
windDirDEG number
weather string
weatherCoded array
icon string
isDay boolean
View JSON Schema on GitHub

JSON Schema

xweather-forecast-period-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xweather/refs/heads/main/json-schema/xweather-forecast-period-schema.json",
  "title": "ForecastPeriod",
  "description": "ForecastPeriod schema from Xweather Weather API",
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "integer",
      "description": "Unix timestamp for the forecast period."
    },
    "dateTimeISO": {
      "type": "string",
      "format": "date-time"
    },
    "maxTempC": {
      "type": "number",
      "description": "Maximum temperature in Celsius."
    },
    "maxTempF": {
      "type": "number",
      "description": "Maximum temperature in Fahrenheit."
    },
    "minTempC": {
      "type": "number",
      "description": "Minimum temperature in Celsius."
    },
    "minTempF": {
      "type": "number",
      "description": "Minimum temperature in Fahrenheit."
    },
    "avgTempC": {
      "type": "number"
    },
    "avgTempF": {
      "type": "number"
    },
    "precipMM": {
      "type": "number",
      "description": "Precipitation amount in mm."
    },
    "precipIN": {
      "type": "number",
      "description": "Precipitation amount in inches."
    },
    "pop": {
      "type": "integer",
      "description": "Probability of precipitation (0-100)."
    },
    "humidity": {
      "type": "integer",
      "description": "Relative humidity percentage."
    },
    "windSpeedKPH": {
      "type": "number"
    },
    "windSpeedMPH": {
      "type": "number"
    },
    "windDir": {
      "type": "string"
    },
    "windDirDEG": {
      "type": "number"
    },
    "weather": {
      "type": "string"
    },
    "weatherCoded": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "icon": {
      "type": "string"
    },
    "isDay": {
      "type": "boolean"
    }
  }
}

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/xweather-forecast-period"
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 email required.

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