api-ninjas-com · Schema

AirportConvert

CompanyDataFinanceDevelopers

Properties

Name Type Description
icao string International Civil Aviation Organization (ICAO) 4-character airport code.
iata string International Air Transport Association (IATA) 3-character airport code.
ident string Universal airport identifier. Equals the ICAO code where one exists, otherwise a local or regional code.
name string Airport name.
city string Airport city.
region string Administrative region such as state or province within a country.
region_code string ISO 3166-2 region code (e.g. US-CA).
country string 2-letter ISO country code.
country_name string Full country name.
continent string Continent code (AF, AN, AS, EU, NA, OC, SA).
elevation_ft integer Airport elevation in feet.
elevation_m number Airport elevation in meters.
latitude number Latitude of the airport.
longitude number Longitude of the airport.
timezone string Airport timezone.
type string Facility type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed.
size string Airport size.
scheduled_service boolean Whether the airport has scheduled airline service.
is_closed boolean Whether the facility is permanently closed.
gps_code string GPS/navigation database code.
local_code stringnull Local/national airport code.
View JSON Schema on GitHub

JSON Schema

api-ninjas-com-airport-convert-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-ninjas-com/json-schema/api-ninjas-com-airport-convert-schema.json",
  "title": "AirportConvert",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-ninjas-com-airports-api-openapi.yml#/components/schemas/AirportConvert",
  "type": "object",
  "properties": {
    "icao": {
      "type": "string",
      "description": "International Civil Aviation Organization (ICAO) 4-character airport code."
    },
    "iata": {
      "type": "string",
      "description": "International Air Transport Association (IATA) 3-character airport code."
    },
    "ident": {
      "type": "string",
      "description": "Universal airport identifier. Equals the ICAO code where one exists, otherwise a local or regional code."
    },
    "name": {
      "type": "string",
      "description": "Airport name."
    },
    "city": {
      "type": "string",
      "description": "Airport city."
    },
    "region": {
      "type": "string",
      "description": "Administrative region such as state or province within a country."
    },
    "region_code": {
      "type": "string",
      "description": "ISO 3166-2 region code (e.g. US-CA)."
    },
    "country": {
      "type": "string",
      "description": "2-letter ISO country code."
    },
    "country_name": {
      "type": "string",
      "description": "Full country name."
    },
    "continent": {
      "type": "string",
      "enum": [
        "AF",
        "AN",
        "AS",
        "EU",
        "NA",
        "OC",
        "SA"
      ],
      "description": "Continent code (AF, AN, AS, EU, NA, OC, SA)."
    },
    "elevation_ft": {
      "type": "integer",
      "description": "Airport elevation in feet."
    },
    "elevation_m": {
      "type": "number",
      "format": "double",
      "description": "Airport elevation in meters."
    },
    "latitude": {
      "type": "number",
      "format": "double",
      "description": "Latitude of the airport."
    },
    "longitude": {
      "type": "number",
      "format": "double",
      "description": "Longitude of the airport."
    },
    "timezone": {
      "type": "string",
      "description": "Airport timezone."
    },
    "type": {
      "type": "string",
      "enum": [
        "large_airport",
        "medium_airport",
        "small_airport",
        "heliport",
        "seaplane_base",
        "balloonport",
        "closed"
      ],
      "description": "Facility type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed."
    },
    "size": {
      "type": "string",
      "description": "Airport size.",
      "enum": [
        "large",
        "medium",
        "small"
      ]
    },
    "scheduled_service": {
      "type": "boolean",
      "description": "Whether the airport has scheduled airline service."
    },
    "is_closed": {
      "type": "boolean",
      "description": "Whether the facility is permanently closed."
    },
    "gps_code": {
      "type": "string",
      "description": "GPS/navigation database code."
    },
    "local_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "Local/national airport code."
    }
  }
}

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/api-ninjas-com-airport-convert"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.