Docs/APIs/Airports Lookup

Airports Lookup

Get airport data

OperationalCredits 2 per callp50 833msTransportationStar

Overview

Query the database by passing a 3-letter IATA code to retrieve the airport's official name, state, city, and country code. The dataset covers over 40,000 airports and receives weekly updates. Upgraded subscriptions can also query directly by 4-letter ICAO code and receive geographic coordinates, runway elevation, timezone identifiers, and alternate city names.

Live Test Airports Lookup API →

Endpoint

One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.

GEThttps://api.apiverve.com/v1/airports
curl "https://api.apiverve.com/v1/airports?iata=MCI" \
  -H "x-api-key: your_api_key_here"

Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.

Authentication

Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.

401 is the only auth verdict

A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.

Parameters

Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.

ParameterTypeDescription
iataRequiredstringThe IATA code of the airport for which you want to get the information (e.g., MCI)

Response

Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.

Sample response
{
  "status": "ok",
  "error": null,
  "data": {
    "icao": "KMCI",
    "iata": "MCI",
    "name": "Kansas City International Airport",
    "city": "Kansas City",
    "state": "Missouri",
    "country": "US",
    "elevation": 1026,
    "lat": 39.2975997925,
    "lon": -94.7138977051,
    "tz": "America/Chicago",
    "city_info": {
      "name": "Kansas City",
      "altName": "",
      "country": "US"
    }
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
icaostring"KMCI"International Civil Aviation Organization airport code
iatastring"MCI"International Air Transport Association airport code
namestring"Kansas City International Airport"Official name of the airport
citystring"Kansas City"City where the airport is located
statestring"Missouri"State or province where airport is located
countrystring"US"Country code where airport is located
elevationPremiumnumber1026Airport elevation in feet above sea level
latPremiumnumber39.2975997925Airport latitude coordinate for mapping
lonPremiumnumber-94.7138977051Airport longitude coordinate for mapping
tzPremiumstring"America/Chicago"IANA timezone name for the airport location
city_infoPremiumobject{...}Additional city information including alternate names
namePremiumstring"Kansas City"Primary city name for the airport location
altNamePremiumstring""Alternate name for the city if available
countryPremiumstring"US"Country code for the city location

Errors

Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.

StatusMeaningWhat to do
400Input was rejectedRead error; it names the parameter.
401Key missing or invalidCheck the header name and the key value.
403Key valid, but not permittedA key restriction or IP allow-list; see key scoping.
429Rate limited, or out of creditsRead error to tell them apart; see rate limits.

Use cases

Flight Booking Confirmation
When passengers enter an airport code, travel sites translate the code into the full facility name and destination city on itineraries.
Air Freight Routing
Logistics platforms convert flight manifests containing IATA codes into verified destination countries and cities to plan regional ground transfers.
Flight Plan Mapping
To plot flight paths, aviation software queries ICAO codes on paid plans to map runway coordinates and airport elevation.
Expense Report Auditing
Audit corporate travel receipts by matching ticket codes against declared employee itineraries to catch incorrect destination claims.

Other ways to use Airports Lookup

Set up Airports Lookup on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.

Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Transportation:

Was this page helpful?