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-KeySame 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": []
}Path parameters
iatastringRequiredTwo-letter IATA code.
Example:
MAD