Search for flight options with price and duration optimization. Find top 5 cheapest flights and top 5 fastest flights between airports. Use when user needs flight recommendations, price comparisons, travel time comparisons, or flight booking research. Supports multiple search strategies (cheapest first, fastest first).
Find and compare flight options across multiple dimensions.
Run the search script:
python3 scripts/search_flights.py \
--origin SIN \
--destination BKK \
--date 2025-04-15 \
--passengers 1 \
--cabin economy
| Flag | Description | Example |
|---|
--origin, -o | Origin IATA code | SIN, KUL, CGK |
--destination, -d | Destination IATA code | BKK, NRT, HKG |
--date | Departure date | 2025-04-15 |
--passengers, -p | Number of travelers | 1, 2 |
--cabin, -c | Cabin class | economy, business |
--json | Output as JSON | (flag) |
The current scaffold uses placeholder data. For production use, integrate with:
See references/ for API documentation and scraping guides.
python3 scripts/search_flights.py -o SIN -d BKK --date 2025-05-01
python3 scripts/search_flights.py -o SIN -d NRT --date 2025-06-10 --json
python3 scripts/search_flights.py -o SIN -d LHR --date 2025-07-20 --cabin business