Google Flights API
Google Flights API for live flight prices
FlightPowers is a flights API for developers and AI agents: live Google Flights fares with Google's low/typical/high price band and a round trip priced as one request, over REST, MCP and n8n on one RapidAPI key. Free tier of 50 searches, PRO $10 for 2,500. Best for price tracking, date scans and AI agents; no booking.
Also called a flight price API, airfare API or flight search API. PRO is about a sixth of SerpApi's price per search (their cheapest plan is $25 for 1,000).
POST /onewayandPOST /roundtrip: round-trips come back as paired itineraries, not stapled legsprice_insights_low / high+ Google's verdict when Google shows one, on every planX-Search-Statusseparates "no flights" from "the search failed"
Free tier on RapidAPI. No card to try. See every plan
{
"from_airport": "JFK",
"to_airport": "CUN",
"departure_date": "2027-01-01",
"limit": 5,
"currency": "usd"
}Short answer
What the FlightPowers Google Flights API returns
POST /v1/flights/oneway and POST /v1/flights/roundtrip, on api.flightpowers.com, or the same two as /api/google_flights/oneway/v1 and /api/google_flights/roundtrip/v1 on google-flights-live-api.p.rapidapi.com with a RapidAPI key. Both take IATA codes and YYYY-MM-DD dates and return flat JSON: live Google Flights fares with a booking link, plus Google's own price band and a low | typical | high verdict when Google shows one.[
{
"from_airport": "New York (JFK)",
"to_airport": "Cancun (CUN)",
"departure_date": "2027-01-01",
"airline": "American",
"price": "$177",
"price_as_number": 177,
"duration": "4 hr 25 min",
"stops": 0,
"price_insights_low": 140,
"price_insights_high": 180,
"price_range_in_relation_to_other_periods": "typical"
},
{
"from_airport": "New York (JFK)",
"to_airport": "Cancun (CUN)",
"departure_date": "2027-01-01",
"airline": "American",
"price": "$177",
"price_as_number": 177,
"duration": "4 hr 30 min",
"stops": 0,
"price_insights_low": 140,
"price_insights_high": 180,
"price_range_in_relation_to_other_periods": "typical"
}
]| Field | Type | Meaning | First row |
|---|---|---|---|
price / price_as_number | string · number | The fare as a display string and as a sortable number. On a round trip the same pair is total_price / total_price_as_number, for the whole paired itinerary. | $177 · 177 |
price_insights_low / price_insights_high | number | null | Google's own usual price range for this route and these dates. Null when Google publishes no band. | 140 – 180 |
price_range_in_relation_to_other_periods | "low" | "typical" | "high" | null | Google's verdict on this fare against that band. It rides on the round-trip pair too, so one request judges a whole trip. | typical |
airline · duration · stops | string · string · int | Carrier, flying time (also as duration_seconds) and stop count, with stops_info per layover. | American · 4 hr 25 min · 0 |
buy_link | string | Reopens that exact itinerary on Google Flights, in the currency you requested. | google.com/travel/flights?tfs=… |
X-Search-Status | "ok" | "empty" | "partial" | "degraded" | A response header, not a body field: it separates a real empty result from a search that did not complete. | ok |
Airports come back as "City (IATA)" display strings. A round trip is one request, not two: the return-leg fan-out happens inside the API and bills as a single call.
Rate limits are 150 / 250 / 500 requests/minute on the paid plans, which is what makes a month-long parallel date scan finish in one burst.
Is there a free API for flights?
Yes, with limits: the BASIC plan on RapidAPI is 50 searches a month at $0 with no card, and the free, ad-supported MCP server gives 50 searches a day (250 a month) with a Google sign-in; PRO is $10 for 2,500.
Is Google Flights API free?
Google has no public flights API (QPX Express closed in 2018); this is an independent API that reads Google Flights live at request time, and its free tier is 50 searches a month.
The endpoints
Two endpoints, five things worth a page each
Every plan gets all of it. You only ever choose volume and rate limit.
POST /oneway
One-way search
The base endpoint: route and date in, every live fare out. Full filter set, flat JSON.
POST /roundtrip
Round-trip search
One object per itinerary, both legs pre-paired, with combined price, duration, and stops.
POST /cheapest_dates
Cheapest dates
Google’s lowest fare for every date of a month (or up to 61 days) in one request.
POST /*_multi_airport
Multi-airport search
Up to 4 airports a side and 8 airport pairs in one request, one ranked list back.
response fields
Price insights
Google’s historical price band and its low | typical | high verdict, when Google shows one.
response headers
Search status
ok | empty | partial | degraded. An empty array is an answer, never a shrug.
rate limits
Parallel date scans
150 / 250 / 500 req/min by plan: a whole month of dates in one burst.
After hotel data instead? The Booking.com Hotels API docs are documented to the same depth: destination search, name lookup, room-level pricing and geo-pricing.
Calling it from code? The official clients wrap every endpoint here: npm install flightpowers or pip install flightpowers, documented on the SDKs page.
POST /api/google_flights/oneway/v1
One-way: the full request surface
Three required fields; everything else narrows the search. The dedicated one-way page covers each response field too.
Required
departure_datestringThe travel date as YYYY-MM-DD.
from_airportstringOrigin IATA code. New York is JFK.
to_airportstringDestination IATA code.
Optional · filtering
max_stopsintMaximum stops per itinerary. 0 for nonstop only.
airline_codes / exclude_airline_codesstring[]Restrict results to these carriers, or keep everything except them.
departure_time_min / _max, arrival_time_min / _maxint 0–23Hour-of-day windows for departure and arrival: 8 means 08:00, and "08:00" works too.
max_priceintUpper bound on the fare, in the requested currency.
seat_typeintCabin: 1 Economy, 2 Premium economy, 3 Business, 4 First.
Optional · shape & behavior
sort_type"Overall" | "Price" | "Duration"Default Overall. Note that "Price" reflects Google's own ordering, not a strict sort. Sort locally on price_as_number for exact price order.
passengersint[]Passenger mix: 1 adult, 2 child, 3 infant on lap, 4 infant in seat.
currencystringDefaults to USD.
limitintMaximum results returned. Defaults to 10.
strictboolOpt-in, default false: a search that did not complete returns HTTP 503 instead of an empty array. Details on the search-status page.
use_ext_proxyboolDefault true: routes through a residential proxy to reduce blocks. Set false for lower latency on easy routes.
POST /api/google_flights/roundtrip/v1
Round-trip: same controls, split per leg
Four required fields, and every one-way filter exists twice: once for the outbound, once for the return.
Required
departure_date / return_datestringBoth travel dates, YYYY-MM-DD.
from_airport / to_airportstringIATA codes, as on one-way.
Optional · per leg
max_departure_stops / max_return_stopsintStop limits set independently. Nonstop out, one stop back is a valid ask.
departure_airline_codes / return_airline_codesstring[]Per-leg carrier restrictions, with matching _exclude_ variants for both legs.
departure_* / return_* time windowsint 0–23departure_departure_time_min/_max, departure_arrival_time_min/_max, and the return_-prefixed equivalents.
There is no max_stops field here: on the RapidAPI endpoints use max_departure_stops / max_return_stops. It is accepted as a convenience alias only when calling through api.flightpowers.com.
Optional · shared
sort_type · currency · max_price · seat_type · passengers · limit · strict · use_ext_proxyExactly as on one-way, applied to the paired search as a whole.
returns_per_outboundint 1–5How many return flights to pair with each outbound flight, 1 to 5. Defaults to 2. The paired itineraries are ranked together and limit still caps how many come back. limit also sets how many outbound flights are searched (one return lookup each), so a higher limit is slower. With the default limit, 5 means the 10 results are the best of up to 50 pairings instead of 20. Not applied to results that come from the fallback source (X-Search-Fallback: used without X-Search-Notes: upstream_no_render). Must be a whole number from 1 to 5 (null is rejected).
Why this one
Common gaps in other Google Flights APIs
Each row is a failure mode this API was designed against, and every right-hand answer is provable on the pages above, not adjectives.
| The problem | How this API handles it |
|---|---|
| Round-trips return broken or unpaired legs | A real /roundtrip endpoint with paired itineraries and combined totals. |
| No sense of whether a price is good | Google’s own price band and a low | typical | high verdict when Google shows one. |
| You have to bring your own SerpApi key and pay twice | One subscription. No third-party key, no second bill. |
| An empty response could mean “no flights” or a failed scrape, and you cannot tell which | Failed reads are retried, and an empty array counts as an answer only when the page said so. X-Search-Status tells a real empty apart from a degraded search, and opt-in strict turns a degraded one into a 503. |
| Blocked by Google under load | Residential proxy routing on by default, switchable per request. |
| Filters are a thin subset of the Google Flights UI | Stops, airlines, exclusions, time-of-day windows per leg, cabin, passenger mix, max price, currency. |
| Serial only, so flexible dates take minutes | Rate limits sized for parallel date scans: 150 / 250 / 500 requests per minute by plan. |
Pricing
Every plan gets every endpoint
| Plan | Price / mo | Requests | $ / 1k req | Overage | Rate limit | |
|---|---|---|---|---|---|---|
| BASIC | Free | 50 / mo | — | hard cap | — | Get this plan → |
| PRO | $10 | 2,500 / mo | $4.00 | $0.003 / req | 150 / min | Get this plan → |
| ULTRArecommended | $25 | 10,000 / mo | $2.50 | $0.002 / req | 250 / min | Get this plan → |
| MEGA | $50 | 25,000 / mo | $2.00 | $0.0015 / req | 500 / min | Get this plan → |
Swipe the table sideways for overage and rate limits.
Every plan on this API includes all of its endpoints; flights and hotels are separate subscriptions. Read from the live listing on 2026-11-08; the listing is authoritative.
Need hotels too? The pricing page puts the flights, Booking.com, Airbnb and Google Hotels plans side by side.
Questions, answered plainly
- Is there a free Google Flights API?
- Yes, with limits. The FlightPowers Google Flights API on RapidAPI has a BASIC plan with 50 requests per month at $0, no card required. That is enough to verify your key and see the response shape, not to evaluate or use day-to-day. Google's own QPX Express API was retired in 2018 and is no longer available. The RapidAPI free tier is not affiliated with or endorsed by Google; it is an independent API that reads the public Google Flights site live at request time. Retrieved 2026-09-01: 368 subscribers, 4.2/5 rating on the RapidAPI listing.
- Is this an official Google API?
- No. FlightPowers is an independent API that reads the public Google Flights site live at request time; it is not affiliated with or endorsed by Google. The fields it returns, including the price band and the low | typical | high verdict, are the values Google shows travellers, passed through as-is.
- What data does each flight result include?
- Flat JSON per itinerary: price as a display string and a number (price / price_as_number), airline, duration in text and seconds, stop count with per-layover details, local departure and arrival times, a buy_link that reopens the exact itinerary on Google Flights, and Google’s price_insights_low / price_insights_high band with a low | typical | high verdict.
- Is the round-trip endpoint really one search?
- Yes. POST /roundtrip returns one object per itinerary with total_price, total_duration_seconds, total_stops, and the outbound and return legs already paired, not two one-way responses you have to combine yourself. Each leg takes its own filters.
- What happens when a route has no flights?
- The response says so explicitly. X-Search-Status: empty means the search completed and Google genuinely has no itineraries. The empty array is the answer. X-Search-Status: degraded means the search did not complete and the empty array says nothing about availability. Opt-in strict: true turns a degraded search into an HTTP 503 instead.
- How do I search flexible dates?
- Two ways. To find the cheapest day, POST /cheapest_dates returns Google Flights' lowest fare for every departure date of a month (or any range up to 61 days), one-way or a round trip of N nights, as one request. For full fares on every date (airlines, stops, booking links), send one request per date in parallel: “3 to 5 nights, JFK to Paris or Prague, anywhere in May” is 31 dates × 3 durations × 2 destinations = 186 requests, and the per-minute rate limits (150 on Pro, 250 on Ultra, 500 on Mega) are sized so that finishes in a burst or two, not a serial loop.
- Is there a flight price calendar API?
- Yes: POST /cheapest_dates is a price calendar. Send a route and a month and you get one row per departure date with the lowest fare Google Flights shows for it, plus the cheapest date, billed as one request. The prices are Google’s calendar estimates without flight details, so confirm the date you pick with the one-way or round-trip endpoint.
- Do I need a SerpApi key or another scraping subscription?
- No. One RapidAPI subscription covers everything on this page. There is no third-party key to bring and no second bill.
- How much does the Google Flights API cost?
- Plans on RapidAPI: a $0 BASIC tier (50 requests/month, hard cap: it verifies your key, it doesn’t evaluate), then $10, $25, $50 per month for 2,500, 10,000, 25,000 requests. Every plan includes both endpoints and every response field.
- How fast is a search?
- Results are scanned live against Google Flights at request time, not served from a cache, so response time tracks route complexity. Dense routes with many connections take longer than trunk routes, and a search that has to retry an unreadable page takes longer still. Set a generous client timeout.
Keep going
Related
Hotels API
Booking.com rates, with per-country pricing
Flight price checker
Try the API free, no signup
MCP servers
The same data, one URL for your agent
Compare
vs SerpApi, Duffel, HasData and more, with dates
Moving off Amadeus Self-Service (closed July 17, 2026)? The options you can still get a key for are in Amadeus Self-Service alternatives. Writing Python? The requests version is How to get Google Flights prices with Python, and the browser version, with where it stops paying for itself, is the Google Flights scraper in Python.
Fares with Google's verdict, from one subscription
Live Google Flights data: a booking link on every result, plus the price band and verdict when Google shows one.
Free tier: 50 requests/month. No card to try.
Docs: the Flights API and the MCP servers.