Search airports
search_airportsFind airports by city, airport name, country, or IATA/ICAO code. Turn city names into IATA codes for flight price, status, and schedule lookups.
Instructions
Find airports by city, airport name, country, or IATA/ICAO code (e.g. "Lahore", "Heathrow", "JED", "OPLA"). Use this first to turn a city name into the 3-letter IATA codes required by search_flight_prices, get_flight_status and get_airport_schedule. Works offline from a bundled OurAirports dataset and uses no API credits. Larger airports are ranked first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (1-20, default 8). | |
| query | Yes | City, airport name, country, or IATA/ICAO code. Examples: "London", "Madinah", "LHE". |