Skip to main content
GET
Look up airports

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

q
string

A name, city or code to search for. Up to 80 characters. Ignored when you send codes.

codes
string

Codes to look up, separated by commas, up to 25. Codes that don't exist are left out of the answer.

limit
integer
default:10

With q, how many matches to return, from 1 to 25.

Required range: 1 <= x <= 25

Response

The matching airports and cities, best match first. An empty list when nothing matches or q is empty.

status
enum<string>
Available options:
success
airports
object[]

The matches.