Price alert Hurry up! Google SERP API from $0.03/1K API calls — prices likely to rise 10× from December 2026.Hurry up! Google SERP from $0.03/1K API calls — likely 10× from Dec 2026Google SERP $0.03/1K · likely 10× from Dec$0.03/1K · likely 10× in Dec Deposit Now

Cheapest Google Flights API for Developers

Search flights between any two airports and get prices, times, stops and booking links as JSON.

$0.60 per 1K API calls pay as you go,
from $0.35 on Enterprise Plus,
10 free calls

Request and response
curl -G "https://apiserpent.com/api/google/flights" \
  --data-urlencode "departure_id=JFK" \
  --data-urlencode "arrival_id=LAX" \
  --data-urlencode "outbound_date=2027-01-12" \
  --data-urlencode "price_insights=true" \
  -H "X-API-Key: sk_live_your_api_key"

{
  "flights": [
    { "airlines": ["JetBlue"], "price": 179,
      "total_duration": 382, "stops": 0,
      "segments": [{ "flight_number": "B6 723",
        "departure_time": "2027-01-12T13:59", ... }],
      "best": true, "booking_token": "eyJi..." },
    // ...86 more flights
  ],
  "lowest_price": 179, "price_level": "typical",
  "typical_price_low": 70, "typical_price_high": 215
}

Run a live flight search

Enter two airports and a date, then run it and read the flights we hand back.

One Endpoint, Five Price Tiers

A call is a search, a return-leg step or a booking lookup. The rate falls as your deposit tier rises; there is no monthly plan.

Optional add-on

With price insights

from $0.44
/1K API calls (Enterprise Plus)
  • price_insights=true on the same endpoint, 25% more than a plain search
  • Adds the lowest price, price level, usual price range and price history
  • Billed at this rate on every call that sets it, also when price insights are not available for the search
  • One way or round trip first search, 1 adult
Default$0.75/1K API calls
Growth$0.65/1K API calls
Scale$0.58/1K API calls
Enterprise$0.50/1K API calls
Enterprise Plus$0.44/1K API calls
Read the field notes →

Pay as you go, no subscription. Growth takes one qualifying $100 deposit, Scale $500, Enterprise $1,000 and Enterprise Plus $1,250 for new credit. The deposit is spendable balance rather than a fee. Every account starts with 10 free API calls, shared across all endpoints, and this endpoint can spend them. A search that comes back with an error, and a call we could not complete, are free.

Tier rules

Existing credit keeps its original schedule. Refunded or charged-back amounts don’t count toward your tier.

What Google Flights Data Costs, Everywhere

The published rates per 1,000 searches at each provider we compared, for the full list of flights, with the plan each rate needs.

Each provider’s published rates per 1,000 searches for the full list of flights, public prices read 29 November 2026 on the providers’ own pages.
Provider Cost per 1,000 Unit charged What each rate requires Free tier
Serpent $0.60 to $0.35/1K API calls per API call, the full list of flights Pay as you go from $0.60/1K API calls with no subscription. $0.52 after a $100 deposit, $0.46 at $500, $0.40 at $1,000 and $0.35 at Enterprise Plus ($1,250 deposit that stays as spendable balance). With price insights: $0.75 to $0.44. 10 free API calls
Scrapingdog $1.00 to $0.14/1K searches per search, 5 credits (monthly plan) $40/month: $1.00/1K. $90/month: $0.45/1K. $200/month: $0.33/1K. $5,000/month: about $0.21/1K. The largest listed plan, $30,000/month, is about $0.14/1K. Their documentation sets 5 credits per flights search. 100 credits (20 searches)
SearchApi.io $1.00/1K searches per search $5,000/month plan. Entry rate $4.00/1K on the $40/month plan. Price insights come in the normal answer, with no separate charge listed. 100 requests
HasData $1.04/1K searches per search, 15 credits $208 plan with 3M credits. Entry rate $3.69/1K on the $49 plan. Price insights come in the normal answer, with no separate charge listed. 1,000 credits/month (about 66 searches)
SerpApi $1.96/1K searches per search, assumed 1 per request $106,050/month plan. Entry rate $25.00/1K on the $25 plan. Price insights come in the normal answer, with no separate charge listed. 250 searches/month
Apify mtnrabi/google-flights-real-time-api $3.85/1K searches of 80 flights per search ($0.003), plus $0.00001 per flight and a start fee One price on every Apify tier. The seller’s pricing history sets $0.004 per search from 1 December 2026, about $4.85 per 1,000 searches of 80 flights from then. Apify free-plan credit
Apify kaix/google-flights-scraper $4.00/1K searches of 80 flights per flight ($0.05/1K flights), plus a start fee per run Apify Silver tier or above; $0.06/1K flights on the free and Bronze tiers. A search that keeps fewer than about 12 flights costs less than ours pay as you go, fewer than 7 against Enterprise Plus. Apify free-plan credit
Apify poidata/google-flights-scraper $4.05/1K searches of 80 flights per flight ($0.05/1K flights) plus $0.05/1K searches One price on every Apify tier. 8 users in the last 30 days. A search that keeps fewer than about 11 flights costs less than ours pay as you go. Apify free-plan credit
Apify automation-lab/google-flights-scraper $4.48/1K searches of 80 flights per flight ($0.056/1K flights), plus a start fee per run Apify Diamond tier; $0.23/1K flights on the free Apify tier. Apify free-plan credit
Apify johnvc/google-flights-data-scraper $9.72/1K pages per page of results, plus a small fee per flight and a setup fee per run Apify Gold tier or above; $20.00/1K pages on the free Apify tier. Apify free-plan credit
Apify dz_omar/google-flights-scraper $27.00/1K searches of 80 flights per flight ($0.30/1K flights) plus $3.00/1K searches Apify Gold tier or above; $0.60/1K flights on the free Apify tier. Apify free-plan credit
Apify lergassy/google-flights-scraper $56.00/1K searches of 80 flights per flight ($0.70/1K flights) Apify Gold tier or above; $1.00/1K flights on the free Apify tier. Apify free-plan credit
Apify memo23/google-flights-scraper $160.00/1K searches of 80 flights per flight ($2.00/1K flights), plus a start fee One price on every Apify tier. Apify free-plan credit

For the full list of flights, our $0.60 pay as you go, with no subscription, is below every other provider’s entry rate in the table. Scrapingdog’s monthly plans cost less than ours from its $90 plan ($0.45) upward, and Apify’s per-flight sellers cost less when a search keeps only a few flights, as the kaix and poidata rows show.

How we compared

Public prices read 29 November 2026. Promotional trial rates that end within weeks are not counted. Our row shows the range from pay as you go to Enterprise Plus for a plain search; every other row shows that provider’s lowest published rate, and the plan it needs, with the entry rate in the requirements column (Scrapingdog lists its plans one by one). A full list is about 80 flights, the median of a fixed set of 50 searches; Apify sellers bill per flight, so their rows show what 80 flights cost, and the rows that bill per search or per page say so. SearchApi.io and SerpApi do not say how many searches one flights request counts, so one is assumed; HasData’s documentation sets 15 credits per flights search and Scrapingdog’s sets 5, which is how their plans are converted to a rate per 1,000 searches. The Apify sellers listed are the Google Flights actors with the most users in the last 30 days, and all rates are as the seller’s page shows them. At SearchApi.io, HasData and SerpApi price insights come back in the normal answer and their pages list no separate charge for them; ours are an optional add-on at 25% more.

From Search to Booking Link in Three Calls

One header and a query string. Pick a flight, pass its token to the next call, and end with where to book it.

cURL — one way, then a round trip step by step
# One way: the full list of flights between two airports.
curl -G "https://apiserpent.com/api/google/flights" \
  --data-urlencode "departure_id=JFK" \
  --data-urlencode "arrival_id=LAX" \
  --data-urlencode "outbound_date=2027-01-12" \
  -H "X-API-Key: sk_live_your_api_key"

# Round trip, step 1: add return_date. The answer lists outbound flights.
curl -G "https://apiserpent.com/api/google/flights" \
  --data-urlencode "departure_id=JFK" --data-urlencode "arrival_id=LAX" \
  --data-urlencode "outbound_date=2027-01-12" --data-urlencode "return_date=2027-01-19" \
  -H "X-API-Key: sk_live_your_api_key"

# Step 2: same parameters plus the departure_token of the outbound flight you picked.
curl -G "https://apiserpent.com/api/google/flights" \
  --data-urlencode "departure_id=JFK" --data-urlencode "arrival_id=LAX" \
  --data-urlencode "outbound_date=2027-01-12" --data-urlencode "return_date=2027-01-19" \
  --data-urlencode "departure_token=DEPARTURE_TOKEN" \
  -H "X-API-Key: sk_live_your_api_key"

# Step 3: the booking_token of the return flight you picked gives the booking options.
curl -G "https://apiserpent.com/api/google/flights" \
  --data-urlencode "departure_id=JFK" --data-urlencode "arrival_id=LAX" \
  --data-urlencode "outbound_date=2027-01-12" --data-urlencode "return_date=2027-01-19" \
  --data-urlencode "booking_token=BOOKING_TOKEN" \
  -H "X-API-Key: sk_live_your_api_key"
Python — cheapest round trip, then where to book it
import requests

API_KEY = 'sk_live_your_api_key'
URL = 'https://apiserpent.com/api/google/flights'
TRIP = {'departure_id': 'JFK', 'arrival_id': 'LAX',
        'outbound_date': '2027-01-12', 'return_date': '2027-01-19'}

def flights_call(extra=None):
    resp = requests.get(URL, headers={'X-API-Key': API_KEY},
                        params={**TRIP, **(extra or {})}, timeout=60)
    return resp.json()

def cheapest(rows):
    # price is None on rows that have no price
    priced = [f for f in rows if f['price'] is not None]
    return min(priced, key=lambda f: f['price']) if priced else None

out = cheapest(flights_call()['flights'])
if out:
    ret = cheapest(flights_call({'departure_token': out['departure_token']})['flights'])
    if ret:
        for o in flights_call({'booking_token': ret['booking_token']})['booking_options']:
            print(o['seller'], o['price'], o['link'] or o['phone'])
Node.js — the lowest nonstop fare of each airline
(async () => {
  const params = new URLSearchParams({
    departure_id: 'JFK', arrival_id: 'LAX', outbound_date: '2027-01-12', stops: 'nonstop',
  });
  const res = await fetch(
    'https://apiserpent.com/api/google/flights?' + params,
    { headers: { 'X-API-Key': 'sk_live_your_api_key' } }
  );
  const data = await res.json();
  const lowest = {};
  for (const f of data.flights || []) {
    // price is null on rows that have no price: skip them
    if (f.price == null) continue;
    const airline = f.airlines.join(' + ');
    if (!(airline in lowest) || f.price < lowest[airline]) lowest[airline] = f.price;
  }
  console.log(Object.entries(lowest).sort((a, b) => a[1] - b[1]));
})();
JSON Response (trimmed) — one way with price insights, a real answer from 29 November 2026
{
  "success": true,
  "departure_id": "JFK",
  "arrival_id": "LAX",
  "outbound_date": "2027-01-12",
  "return_date": "",
  "currency": "USD",
  "flights": [
    {
      "airlines": ["JetBlue"],
      "price": 179,
      "total_duration": 382,
      "stops": 0,
      "segments": [
        {
          "airline": "JetBlue",
          "flight_number": "B6 723",
          "departure_airport": { "id": "JFK", "name": "John F. Kennedy International Airport" },
          "arrival_airport": { "id": "LAX", "name": "Los Angeles International Airport" },
          "departure_time": "2027-01-12T13:59",
          "arrival_time": "2027-01-12T17:21",
          "duration": 382,
          "airplane": "Airbus A320",
          "codeshares": []
        }
      ],
      "layovers": [],
      "best": true,
      "departure_token": "",
      "booking_token": "eyJiIjpbW1siSkZLIiwiMjAyNy0wMS0xMiIsIkxBWCIsIkI2IiwiNzIzIl1dXX0"
    },
    // ...86 more flights
  ],
  "lowest_price": 179,
  "price_level": "typical",
  "typical_price_low": 70,
  "typical_price_high": 215,
  "price_history": [
    { "date": "2026-11-25", "price": 179 },
    // ...more days
  ],
  "booking_options": []
}
JSON Response (trimmed) — booking options of a round trip, a real answer from 29 November 2026
{
  "success": true,
  "departure_id": "JFK",
  "arrival_id": "LAX",
  "outbound_date": "2027-01-12",
  "return_date": "2027-01-19",
  "currency": "USD",
  "flights": [],
  "booking_options": [
    {
      "seller": "Delta",
      "price": 357,
      "link": "https://www.google.com/travel/clk/f?u=AAcRjH...",
      "phone": "",
      "flight_numbers": ["DL 773", "DL 934"],
      "tickets": []
    },
    // ...3 more options from the same seller at other prices
  ]
}

Both samples are real answers recorded on 29 November 2026 for JFK to LAX on 12 January 2027, trimmed for display: the first lists one of 87 flights and the price history is cut to its first day, the second lists one of four booking options and shortens its link. Your values will differ as fares move. The response shape is the same on every call.

Measured on 50 fixed searches

A typical search returned a median of 81 flights in a median of 2.9 seconds. Every flight carried an airline, times and flight numbers, and 86% of flights carried a price.

Fixed set of 50 realistic searches from 10 countries, chosen before measuring, run 27 November 2026. Timing: 9 in 10 searches took under 9.8 seconds.

Every Parameter and Field

Twenty request parameters and the response fields, named the same on every call.

Request parameters
ParameterWhat it does
departure_id, arrival_idRequired unless you use multi_city. Airports as three-letter IATA codes, such as JFK and LAX. City codes such as NYC are refused.
outbound_dateRequired unless you use multi_city. Departure date, YYYY-MM-DD.
return_dateReturn date, YYYY-MM-DD. Present means a round trip; left out means one way.
multi_city2 to 5 legs as FROM:TO:YYYY-MM-DD, separated by commas. Use it instead of the four parameters above.
adults, childrenAdults 1 to 9 (default 1) and children 0 to 8.
infants_in_seat, infants_on_lap0 to 4 each. Lap infants cannot outnumber the adults.
travel_classeconomy (default), premium_economy, business or first.
stopsMost stops: any (default), nonstop, one_stop or two_stops.
airlinesOnly these airlines, as comma-separated two-character codes, for example LA,G3.
max_priceHighest total price, in the requested currency.
outbound_timesDeparture hour window as from,to in 24-hour local time, for example 6,11.
currency, country, languageThree-letter currency (default USD), two-letter country of the search (default us) and interface language such as en or pt-BR.
departure_tokenRound trips and multi-city: the token of a chosen flight, sent with the same search parameters, returns the flights for the next leg.
booking_tokenThe token of the last flight you chose returns its booking options.
price_insightstrue adds the price insights, billed at the insights rate whenever it is true. One way or round trip first search, 1 adult, without max_price or outbound_times.
X-API-KeyHeader. Your Serpent API key.
Response fields
FieldWhat it holds
departure_id, arrival_id, outbound_date, return_date, currencyWhat you searched, and the currency of every price in the answer. return_date is empty for one way.
flightsThe flight options. Each has airlines, price, total_duration in minutes, stops, segments, layovers, best, departure_token and booking_token.
segmentsOne entry per leg: airline, flight_number, departure_airport and arrival_airport (each with id and name), local departure_time and arrival_time, duration, airplane and codeshares.
lowest_price, price_levelWith price_insights=true: the lowest price shown for the search, and low, typical or high.
typical_price_low, typical_price_highWith price_insights=true: the ends of the usual price range, when one is shown.
price_historyWith price_insights=true: a list of date and price for the route, when shown.
booking_optionsOnly with booking_token: seller, price, link, phone, flight_numbers and tickets.

Price insights are billed when set

price_insights=true is billed at the insights rate on every call that sets it, also when price insights are not available for that search. Their fields then come back empty. Leave it off for a plain search.

Airport codes only

Use three-letter airport codes. City codes such as NYC or LON are refused with a clear message, and there is no airport lookup endpoint, so keep your own table of codes.

Some rows have no price

price is null on those rows, more often in some markets, for example India. Every row still has its airline, times and flight numbers, so filter on a price before you rank by fare.

price_level is derived

low, typical or high is worked out from where the lowest price sits against the usual price range, so it comes back only when a usual range is shown for the route.

A booking price covers its flights

A booking option’s price covers its flight_numbers. When tickets is not empty the trip is sold as separate tickets, each with its own seller, price and link, and price is their total. A phone-only seller has an empty link and a phone.

Codeshares and no results

codeshares on a leg lists the other airlines’ numbers the same leg is sold under. A search with no flights returns an empty flights list in the same shape; that is a real answer and is billed.

What Is a Google Flights API? What Teams Build With It

A Google Flights API puts the flights and fares for a route into your code: who flies it, when, for how much and where to book. Fares move daily, so store each answer with its date.

Fare tracking and price alerts

Search a route every day with price_insights=true, store lowest_price and price_level, and alert when the level turns low. The price history of the route comes in the same answer.

Travel apps and comparison sites

Show every flight on a route with airlines, times and stops, let the traveller pick an outbound flight, then fetch the return legs and booking links with the tokens from the answer.

Deal finding and travel content

Sweep a list of routes and dates, filter with max_price, stops and outbound_times, and publish the lowest fares in a newsletter, a deals page or a chat bot.

Market and airline research

Compare how a route is priced across cabin classes, stops and markets by changing travel_class, country and currency, and keep the answers in your own table.

Google Flights API Questions

One JSON object per search: the airports and dates you searched, the currency of every price and a flights list, about 80 flights on a typical search and up to 250. Each flight has its airlines, total price, total minutes, number of stops, every leg (airline, flight number, airports with names, local times, minutes, aircraft and codeshares), its layovers, a best flag and the tokens for the next step. With price_insights=true you also get the lowest price, a price level, the usual price range and the price history of the route.
Per 1K API calls, a plain search costs $0.60 on Default, $0.52 on Growth, $0.46 on Scale, $0.40 on Enterprise and $0.35 on Enterprise Plus. With price_insights=true it costs $0.75, $0.65, $0.58, $0.50 and $0.44, which is 25% more. It is pay as you go with no subscription. Growth takes one qualifying $100 deposit, Scale $500, Enterprise $1,000 and Enterprise Plus $1,250 for new credit; the deposit is spendable balance rather than a fee. Every account starts with 10 free API calls, shared across all endpoints, and this endpoint can spend them. Searches that come back with an error, and calls we could not complete, are never charged.
price_insights=true is billed at the insights rate on every call that sets it, including a search for which price insights are not available; those fields then come back empty. Leave it off when you only need the flights and you pay the plain rate. Price insights work on one-way and round-trip first searches for 1 adult, without max_price or outbound_times; any other mix gets a clear 400 and is not charged.
For a round trip, add return_date. The first answer lists outbound flights; pass the departure_token of the one you pick, with the same search parameters, to get the flights for the return leg. A multi-city trip takes multi_city as 2 to 5 legs written FROM:TO:YYYY-MM-DD and separated by commas, and walks through the legs the same way. Each step is its own API call, so a round trip with booking options is three calls: the search, the return leg and the booking options.
Pass the booking_token of the flight you chose last to get booking_options: each has a seller, a price, a link, a phone number, the flight_numbers the price covers and tickets. When tickets is not empty the trip is sold as separate tickets; each ticket has its own seller, price, link and flight numbers, and the option's price is their total. A seller that only takes bookings by phone has an empty link and a phone.
No. Airports only, as three-letter IATA codes such as JFK or LAX. City codes such as NYC or LON are refused with a clear message, and there is no airport lookup endpoint, so look the code up once and keep it in your own table.
price_level is low, typical or high. It shows where the lowest price for the search sits against the usual price range (typical_price_low to typical_price_high), so it is derived from those two numbers rather than a label attached to a flight. It comes back with price_insights=true, when a usual range is shown for the route.
Some rows have no price, and more often in some markets, India for example. For those rows price is null. Every row still carries its airline, times and flight numbers, so leave out the rows where price is null when you rank by fare. In a fixed set of 50 realistic searches, 86% of flights carried a price.
You get the same response shape every time, with an empty flights list. No results is a real answer and is billed like any other call, while a call we could not complete is never billed. Your parser needs no special case.
In a fixed set of 50 searches the median answer took 2.9 seconds and 9 in 10 took under 9.8 seconds. Searches with price_insights=true took a median of 3.9 seconds in a 10-route check. Allow up to about 25 seconds for the slowest.
No. You send one Serpent API key in an X-API-Key header. There is no Google account to link and no separate allowance to track; the same key works on every Serpent endpoint.

Start using the Google Flights API

10 free API calls, shared across every free-eligible endpoint. No card, no subscription, no monthly plan. From $0.35 per 1K API calls.

Get your free API key