Aviation Data

Get airport by ICAO code

Look up an airport by its four-letter ICAO code — LEMD, EGLL, KJFK.

GET/v1/aviation/airports/icao/{icao}Requires X-API-Key
Same record and envelope as GET /v1/aviation/airports/{id}, addressed by a path that only ever means a four-letter ICAO code. 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/icao/{icao} \
  --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

icaostringRequired
Four-letter ICAO code.
Example: LEMD
GET /v1/aviation/airports/icao/{icao} | Norba API