Airlabs · Schema

Airport

Global airport database record

AviationFlightsAirlinesAirportsFlight TrackingFlight StatusReal-Time Data

Properties

Name Type Description
name string Airport name
iata_code string Airport IATA code
icao_code string Airport ICAO code
lat number Latitude in decimal degrees
lng number Longitude in decimal degrees
alt integer Elevation in meters
city string City name
city_code string City IATA code
un_locode string UN/LOCODE
timezone string Timezone (tz database name)
country_code string Country ISO 2 code
phone string Airport phone number
website string Airport website URL
popularity integer Popularity rank
is_major boolean Whether this is a major airport
slug string URL-friendly slug
View JSON Schema on GitHub

JSON Schema

airport.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://airlabs.co/json-schema/airport",
  "title": "Airport",
  "description": "Global airport database record",
  "type": "object",
  "properties": {
    "name": { "type": "string", "description": "Airport name" },
    "iata_code": { "type": "string", "description": "Airport IATA code" },
    "icao_code": { "type": "string", "description": "Airport ICAO code" },
    "lat": { "type": "number", "description": "Latitude in decimal degrees" },
    "lng": { "type": "number", "description": "Longitude in decimal degrees" },
    "alt": { "type": "integer", "description": "Elevation in meters" },
    "city": { "type": "string", "description": "City name" },
    "city_code": { "type": "string", "description": "City IATA code" },
    "un_locode": { "type": "string", "description": "UN/LOCODE" },
    "timezone": { "type": "string", "description": "Timezone (tz database name)" },
    "country_code": { "type": "string", "description": "Country ISO 2 code" },
    "phone": { "type": "string", "description": "Airport phone number" },
    "website": { "type": "string", "description": "Airport website URL" },
    "popularity": { "type": "integer", "description": "Popularity rank" },
    "is_major": { "type": "boolean", "description": "Whether this is a major airport" },
    "slug": { "type": "string", "description": "URL-friendly slug" }
  }
}

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 email required.

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