Xweather · Schema

Location

Location schema from Xweather Weather API

Air QualityCompanyDataForecastLightningMaritimeObservationsSevere WeatherWeather

Properties

Name Type Description
id string Location identifier.
name string Location name.
state string State or province code.
stateFull string Full state or province name.
country string Country code (ISO 3166-1 alpha-2).
countryFull string Full country name.
lat number Latitude.
lon number Longitude.
elevM number Elevation in meters.
elevFT number Elevation in feet.
profile object Additional location profile data.
View JSON Schema on GitHub

JSON Schema

xweather-location-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-location-schema.json",
  "title": "Location",
  "description": "Location schema from Xweather Weather API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Location identifier."
    },
    "name": {
      "type": "string",
      "description": "Location name."
    },
    "state": {
      "type": "string",
      "description": "State or province code."
    },
    "stateFull": {
      "type": "string",
      "description": "Full state or province name."
    },
    "country": {
      "type": "string",
      "description": "Country code (ISO 3166-1 alpha-2)."
    },
    "countryFull": {
      "type": "string",
      "description": "Full country name."
    },
    "lat": {
      "type": "number",
      "format": "float",
      "description": "Latitude."
    },
    "lon": {
      "type": "number",
      "format": "float",
      "description": "Longitude."
    },
    "elevM": {
      "type": "number",
      "description": "Elevation in meters."
    },
    "elevFT": {
      "type": "number",
      "description": "Elevation in feet."
    },
    "profile": {
      "type": "object",
      "description": "Additional location profile data."
    }
  }
}

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-location"
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.