What is Google Flights?
Google Flights results come back as a list of itineraries with airline, origin, destination, departure and arrival, number of stops, duration, and the booking URL. Useful for travel assistants, corporate travel bots, and flight-deal aggregators that need structured fare data.
Example Response
{ "flights": [{ "airline": "United", "price": 487, "stops": 0, "duration": "5h12m" }] }Use Cases
- Travel assistants and copilots
- Corporate travel automation
- Flight-deal alert bots
- Price-drop monitors
Why Google Flights Matters
Google Flights aggregates fares across most major airlines and OTAs, so one query covers the market.
LangChain Example
Drop google flights data into your LangChain agent in a few lines:
tool.invoke({"query": "SFO to JFK may 12", "vertical": "flights"})