Actions37
- Search Actions
- Amazon Search
- Baidu Search
- Bing Images
- Bing Search
- DuckDuckGo Search
- eBay Search
- Facebook Profile
- Google AI Mode
- Google AI Overview
- Google Autocomplete
- Google Finance
- Google Flights
- Google Hotels
- Google Images
- Google Images Light
- Google Immersive Product
- Google Jobs
- Google Lens
- Google Light
- Google Local
- Google Maps
- Google Maps Directions
- Google Maps Reviews
- Google News
- Google News Light
- Google Play Games
- Google Play Product
- Google Play Store
- Google Product
- Google Scholar
- Google Search
- Google Shopping
- Google Travel Explore
- Google Trends
- Google Trends Trending Now
- Google Videos
- YouTube Search
Search → Google Flights
AI-generatedOverview
This node performs a live search for flight information using the Google Flights engine via SerpApi. It is useful for retrieving flight options, prices, and details based on specified parameters such as departure and arrival airports, travel dates, flight type, and other filters. Practical applications include travel planning, price comparison, and itinerary generation.
Use Case Examples
- Search for round-trip flights from Austin (AUS) to Paris (CDG) on specific dates.
- Find one-way flights with specific travel class and airline preferences.
- Perform multi-city flight searches by providing JSON flight segments.
Properties
| Name | Meaning |
|---|---|
| Departure airport code / location kgmid (departure_id) | Defines the departure airport code (3-letter IATA) or location kgmid (starts with /m/). Multiple entries can be comma-separated. |
| Arrival airport code / location kgmid (arrival_id) | Defines the arrival airport code (3-letter IATA) or location kgmid (starts with /m/). Multiple entries can be comma-separated. |
| Outbound Date (outbound_date) | Defines the outbound date in YYYY-MM-DD format. |
| Return Date (return_date) | Defines the return date in YYYY-MM-DD format. Required if flight type is round trip. |
| Flight Type (type) | Defines the type of flight: round trip, one way, or multi-city. |
| Additional Fields | Collection of optional parameters to refine the flight search, including country, language, currency, travel class, number of passengers, sorting, stops, airlines to include or exclude, baggage, price limits, time ranges, emissions, layover duration, connecting airports to exclude, max duration, tokens for flight selection and booking, caching, async search, ZeroTrace mode, output format, and JSON restrictor. |
Output
JSON
search_metadata- Metadata about the search query and results.flight_results- Array of flight options and details returned by the search.booking_options- Booking options for selected flights, if requested.
Dependencies
- SerpApi API key credential required for authentication.
Troubleshooting
- Ensure the SerpApi API key credential is correctly configured and valid.
- Verify that required parameters such as departure_id, arrival_id, and outbound_date are provided and correctly formatted.
- If using round trip, ensure return_date is provided.
- Avoid conflicting parameters such as include_airlines and exclude_airlines being used together.
- Check network connectivity and proxy settings if requests fail.
- Be aware of rate limits and caching behavior; use no_cache or async parameters appropriately.
Links
- SerpApi Google Flights API Documentation - Official documentation for the Google Flights API via SerpApi, detailing parameters and usage.