search_flights
Find available flights between two airports with Google Flights data. Get structured, price-sorted options and filter by airlines, stops, trip type, seat class, and currency using IATA codes and dates.
Instructions
Search Google Flights for available flights between two airports.
Airport codes are 3-letter IATA codes (e.g. IST, AYT, JFK). Dates are YYYY-MM-DD. Returns structured flight options sorted by price.
airlines optionally restricts results to specific 2-letter IATA
airline codes, e.g. ["TK"] for Turkish Airlines only, or ["TK", "PC"]
for Turkish Airlines + Pegasus. Omit it (or pass None/empty) to search
all airlines mixed together in one result list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seat | No | economy | |
| trip | No | one-way | |
| adults | No | ||
| airlines | No | ||
| children | No | ||
| currency | No | USD | |
| max_stops | No | ||
| to_airport | Yes | ||
| max_results | No | ||
| return_date | No | ||
| from_airport | Yes | ||
| departure_date | Yes |