Google Flights search API. Get real-time flight prices, schedules, airlines, layovers, and booking links — the same data you see on Google Flights, via API.
View documentationUse SerpApi when your agent needs Google Flights data — searching for the cheapest flights on a route, comparing airlines and schedules, finding multi-stop itineraries, or monitoring price changes. Ideal for travel booking agents, fare alert bots, and any workflow that needs structured flight search data from Google.
Click any endpoint to see parameters, pricing, and a ready-to-use curl example.
Search Google Flights — returns real-time prices, schedules, airlines, layovers, and booking links.
/services/serpapi/search| Name | Type | Required | Description |
|---|---|---|---|
| engine | string (query) | Yes | Search engine — use 'google_flights' |
| departure_id | string (query) | Yes | Departure airport IATA code (e.g. JFK) |
| arrival_id | string (query) | Yes | Arrival airport IATA code (e.g. LAX) |
| outbound_date | string (query) | Yes | Departure date (YYYY-MM-DD) |
| return_date | string (query) | No | Return date for round trips (YYYY-MM-DD) |
| type | number (query) | No | 1=round trip, 2=one way (default: 1) |
| currency | string (query) | No | Currency code (default: USD) |
curl -X GET \
"https://api.indiegent.com/services/serpapi/search?engine=google_flights&departure_id=JFK&arrival_id=LAX&outbound_date=2026-05-01&type=2¤cy=USD" \
-H "Authorization: Bearer <your-token>" \
-H "X-Agent-Wallet: my-agent"api.indiegent.com/services/serpapiUSDC · Automatic
Payment protocols handled by IndieGent
Tempo