Airport Gap · Schema

Airport

A single airport record as returned by the Airport Gap API (JSON:API format).

AirportsAviationTransportationIATAICAODistance CalculationGeolocation

Properties

Name Type Description
id string IATA airport code (e.g. 'JFK').
type string
attributes object Airport attributes.
View JSON Schema on GitHub

JSON Schema

airport.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://airportgap.com/schemas/airport.json",
  "title": "Airport",
  "description": "A single airport record as returned by the Airport Gap API (JSON:API format).",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "IATA airport code (e.g. 'JFK').",
      "pattern": "^[A-Z]{3}$",
      "examples": ["JFK", "LAX", "LHR"]
    },
    "type": {
      "type": "string",
      "const": "airport"
    },
    "attributes": {
      "type": "object",
      "description": "Airport attributes.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Full name of the airport.",
          "examples": ["John F. Kennedy International Airport"]
        },
        "city": {
          "type": "string",
          "description": "City where the airport is located.",
          "examples": ["New York"]
        },
        "country": {
          "type": "string",
          "description": "Country where the airport is located.",
          "examples": ["United States"]
        },
        "iata": {
          "type": "string",
          "description": "IATA airport code.",
          "pattern": "^[A-Z]{3}$",
          "examples": ["JFK"]
        },
        "icao": {
          "type": "string",
          "description": "ICAO airport code.",
          "pattern": "^[A-Z]{4}$",
          "examples": ["KJFK"]
        },
        "latitude": {
          "type": "string",
          "description": "Latitude coordinate of the airport.",
          "examples": ["40.639751"]
        },
        "longitude": {
          "type": "string",
          "description": "Longitude coordinate of the airport.",
          "examples": ["-73.778925"]
        },
        "altitude": {
          "type": "integer",
          "description": "Elevation of the airport in feet.",
          "examples": [13]
        },
        "timezone": {
          "type": "string",
          "description": "IANA timezone identifier.",
          "examples": ["America/New_York"]
        }
      },
      "required": ["name", "city", "country", "iata", "icao", "latitude", "longitude", "altitude", "timezone"]
    }
  },
  "required": ["id", "type", "attributes"]
}

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/airport"
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.