Skip to main content
GET
Search airports
Use it to fill the origin and destination pickers before you create an air search, then send the airport’s id — or its IATA code — as origin or destination. Matches come most relevant first, and an empty results means nothing matched. An error the travel provider reports about the request is returned with its own status, code and message.

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of your organization.

Format: UUID

Query Parameters

query
string
required

Text to search airports for: part of the airport or city name, a slug or an address (city, region, country), case-insensitive. The IATA code works too.

Minimum string length: 1

Response

Successful response

The airports matching an air location search.

results
object[]
required

Matching airports, most relevant first. Empty when nothing matches.