v1

latestOpenAPI 3.0.02026-07-247251950.2 KB
Airports

Search airports

Overview

Search for airports by name, city, or IATA code using a text query. Returns matching airports for use in autocomplete and search inputs.

When to Use

  • Airport autocomplete - Power origin/destination search inputs with type-ahead suggestions
  • Airport discovery - Find airports in a city or region by name
  • Search validation - Look up airports before constructing a flight search request

What You Get

  • Matching airports ranked by relevance to the query
  • IATA codes for legs[].origin and legs[].destination on POST /flights/rates
  • City and country details for display purposes
  • Geographic coordinates for map-based interfaces

Quick Start

Provide a q query string (minimum 2 characters) to search by airport name, city, or code. Returns matching airports ordered by relevance.

get/data/flights/airports

Query parameters

qstring required

Search query (minimum 2 characters, e.g., 'JFK' or 'New York')

Response

Successful response