OpenWeatherMap · Schema

OpenWeatherMap Current Weather

Schema for the OpenWeather Current Weather Data API response object.

WeatherForecastClimateAir PollutionAir QualitySolarGeocodingHistoryMapsRoad RiskPublic APIs

Properties

Name Type Description
coord object
weather array
main object
visibility integer
wind object
clouds object
rain object
snow object
dt integer
sys object
timezone integer
id integer
name string
cod integer
View JSON Schema on GitHub

JSON Schema

openweathermap-current-weather-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/openweathermap/main/json-schema/openweathermap-current-weather-schema.json",
  "title": "OpenWeatherMap Current Weather",
  "description": "Schema for the OpenWeather Current Weather Data API response object.",
  "type": "object",
  "required": ["coord", "weather", "main", "dt", "name"],
  "properties": {
    "coord": {
      "type": "object",
      "properties": {
        "lon": { "type": "number" },
        "lat": { "type": "number" }
      }
    },
    "weather": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": { "type": "integer" },
          "main": { "type": "string" },
          "description": { "type": "string" },
          "icon": { "type": "string" }
        }
      }
    },
    "main": {
      "type": "object",
      "properties": {
        "temp": { "type": "number" },
        "feels_like": { "type": "number" },
        "temp_min": { "type": "number" },
        "temp_max": { "type": "number" },
        "pressure": { "type": "integer" },
        "humidity": { "type": "integer" }
      }
    },
    "visibility": { "type": "integer" },
    "wind": {
      "type": "object",
      "properties": {
        "speed": { "type": "number" },
        "deg": { "type": "integer" },
        "gust": { "type": "number" }
      }
    },
    "clouds": {
      "type": "object",
      "properties": {
        "all": { "type": "integer" }
      }
    },
    "rain": {
      "type": "object",
      "properties": {
        "1h": { "type": "number" },
        "3h": { "type": "number" }
      }
    },
    "snow": {
      "type": "object",
      "properties": {
        "1h": { "type": "number" },
        "3h": { "type": "number" }
      }
    },
    "dt": { "type": "integer" },
    "sys": {
      "type": "object",
      "properties": {
        "country": { "type": "string" },
        "sunrise": { "type": "integer" },
        "sunset": { "type": "integer" }
      }
    },
    "timezone": { "type": "integer" },
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "cod": { "type": "integer" }
  }
}

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/openweathermap-current-weather"
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.