airports-search
Search for airport and flight details using Google Flights. Input departure and arrival airport codes, dates, and trip type to retrieve essential flight information, price insights, and booking links.
Instructions
Search for airport and flight information using Google Flights
Input Schema
Name | Required | Description | Default |
---|---|---|---|
arrival_id | Yes | Arrival airport code (e.g., 'NRT', 'LAX', 'JFK', 'LHR'). Use 3-letter IATA codes. | |
departure_id | Yes | Departure airport code (e.g., 'CDG', 'AUS', 'LAX', 'SFO'). Use 3-letter IATA codes. | |
include_airports | No | Include airport information | |
include_links | No | Include booking links for each flight (off by default) | |
include_price_insights | No | Include price insights and history | |
max_best_flights | No | Maximum number of best flights to return | |
max_other_flights | No | Maximum number of other flights to return | |
multi_city_json | No | JSON string for multi-city trips with multiple legs (required when type=3) | |
outbound_date | No | Outbound date in YYYY-MM-DD format | |
return_date | No | Return date in YYYY-MM-DD format for round-trip (REQUIRED when type=1) | |
summary_only | No | Return only essential flight information | |
type | No | Trip type: 1=Round-trip (requires return_date), 2=One-way (default), 3=Multi-city (requires multi_city_json). Use type=2 for one-way trips to avoid errors. |