Aviation Data

Get airport by IATA code

Look up an airport when you specifically hold an IATA code, not a mixed identifier.

GET/v1/aviation/airports/iata/{iata}Requires X-API-Key
Same record and envelope as GET /v1/aviation/airports/{id}, addressed by a path that only ever means an IATA code — useful when you want the URL itself to document what it expects, rather than relying on the generic lookup's auto-detection. Returns 404 with {data: null, errors: [{code: "not_found", ...}]} when the code is not in the catalogue.

Request example

curl --request GET \
  --url https://api.norba.io/v1/aviation/airports/iata/{iata} \
  --header "X-API-Key: $NORBA_KEY"

Response example

Response example
{
  "data": {
    "id": "mad",
    "name": "Adolfo Suárez Madrid–Barajas Airport",
    "iata_code": "MAD",
    "icao_code": "LEMD",
    "city": "Madrid",
    "country": "ES"
  },
  "meta": {
    "request_id": "2db6c88b57479527"
  },
  "errors": []
}

Authorization

X-API-KeystringRequired
Opaque API key issued from the Norba dashboard. Sent on every request as the X-API-Key HTTP header. Missing or invalid keys are rejected with 401 Unauthorized.

Path parameters

iatastringRequired
Two-letter IATA code.
Example: MAD
GET /v1/aviation/airports/iata/{iata} | Norba API