Catalog
TravelGETlive

Flight deals

Search Google Flights for cash-price offers between airports, including provider-native flight arrays, price insights, and short-lived booking_token or departure_token values.

$0.02
per call
Success
100%
p50 latency
2.71s
p95 latency
4.00s
Calls (30d)
5

Provider contract

Call path
/routes/stabletravel-google/travel/flight-deals
Method
GET
Selected provider
stabletravel-googledefault
Provider price
$0.02
Settlement
Base USDC · x402 · 5% h402 fee

Quickstart

Both commands call the selected provider directly.

cURL
curl '/routes/stabletravel-google/travel/flight-deals?departure_id=JFK&arrival_id=LAX&outbound_date=2026-12-01&type=2&adults=1&children=0'
CLI
h402 call 'travel/flight-deals' --provider 'stabletravel-google' --method GET --query '{"departure_id":"JFK","arrival_id":"LAX","outbound_date":"2026-12-01","type":2,"adults":1,"children":0}'

Parameters & live test

pays real USDC

Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.

departure_idstringrequired3–3 chars

Google Flights departure airport id.

arrival_idstringrequired3–3 chars

Google Flights arrival airport id.

outbound_datestringrequired

Outbound travel date.

return_datestringoptional

Return date for round trips.

typeintegerrequired

Google Flights trip type: 1 round trip, 2 one way.

One of
adultsintegeroptional1–9default 1
childrenintegeroptional0–9default 0
travel_classintegeroptional

Google Flights class: 1 economy, 2 premium economy, 3 business, 4 first.

One of
stopsintegeroptional

Google Flights stop filter: 0 any, 1 nonstop, 2 one stop or fewer, 3 two stops or fewer.

One of
max_pricenumberoptional≥ 0

Maximum fare in the selected currency.

currencystringoptional3–3 chars
e.g.
GET/routes/stabletravel-google/travel/flight-deals
Request query
{
  "departure_id": "JFK",
  "arrival_id": "LAX",
  "outbound_date": "2026-12-01",
  "type": 2,
  "adults": 1,
  "children": 0
}

ResponseExample response
{
  "data": {
    "search_metadata": {
      "id": "6a60df34f73e4d3f8cd85fa8",
      "status": "Success",
      "json_endpoint": "https://serpapi.com/searches/u-iCnYhladc6U2JuawYMWw/6a60df34f73e4d3f8cd85fa8.json",
      "created_at": "2026-07-22 15:18:12 UTC",
      "processed_at": "2026-07-22 15:18:12 UTC",
      "google_flights_url": "https://www.google.com/travel/flights?hl=en&gl=us&curr=USD&tfs=CBwQAhoeEgoyMDI2LTEyLTAxagcIARIDSkZLcgcIARIDTEFYQAFIAXABmAEC&tfu=EgIIAQ",
      "raw_html_file": "https://serpapi.com/searches/u-iCnYhladc6U2JuawYMWw/6a60df34f73e4d3f8cd85fa8.html",
      "prettify_html_file": "https://serpapi.com/searches/u-iCnYhladc6U2JuawYMWw/6a60df34f73e4d3f8cd85fa8.prettify",
      "total_time_taken": 2.23
    },
    "search_parameters": {
      "engine": "google_flights",
      "hl": "en",
      "gl": "us",
      "type": "2",
      "departure_id": "JFK",
      "arrival_id": "LAX",
      "outbound_date": "2026-12-01",
      "adults": 1,
      "children": 0,
      "infants_in_seat": 0,
      "infants_on_lap": 0,
      "currency": "USD"
    },
    "best_flights": [
      {
        "flights": [
          {
            "departure_airport": {
              "name": "John F. Kennedy International Airport",
              "id": "JFK",
              "time": "2026-12-01 06:00"
            },
            "arrival_airport": {
              "name": "Los Angeles International Airport",
              "id": "LAX",
              "time": "2026-12-01 09:12"
            },
            "duration": 372,
            "airplane": "Boeing 767",
            "airline": "Delta",
            "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/DL.png",
            "travel_class": "Economy",
            "flight_number": "DL 701",
            "legroom": "31 in",
            "extensions": [
              "Average legroom (31 in)",
              "Free Wi-Fi",
              "In-seat power & USB outlets"
            ]
          }
        ],
        "total_duration": 372,
        "carbon_emissions": {
          "this_flight": 244000,
          "typical_for_this_route": 324000,
          "difference_percent": -25
        },
        "price": 234,
        "type": "One way",
        "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/DL.png",
        "extensions": [
          "Checked baggage for a fee"
        ],
        "booking_token": "[redacted from committed sample]"
      },
      {
        "flights": [
          {
            "departure_airport": {
              "name": "John F. Kennedy International Airport",
              "id": "JFK",
              "time": "2026-12-01 12:30"
            },
            "arrival_airport": {
              "name": "Los Angeles International Airport",
              "id": "LAX",
              "time": "2026-12-01 15:48"
            },
            "duration": 378,
            "airplane": "Airbus A320",
            "airline": "JetBlue",
            "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
            "travel_class": "Economy",
            "flight_number": "B6 223",
            "legroom": "33 in",
            "extensions": [
              "Above average legroom (33 in)",
              "Free Wi-Fi",
              "In-seat power & USB outlets"
            ]
          }
        ],
        "total_duration": 378,
        "carbon_emissions": {
          "this_flight": 426000,
          "typical_for_this_route": 324000,
          "difference_percent": 31
        },
        "price": 234,
        "type": "One way",
        "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
        "extensions": [
          "Checked baggage for a fee"
        ],
        "booking_token": "[redacted from committed sample]"
      },
      {
        "flights": [
          {
            "departure_airport": {
              "name": "John F. Kennedy International Airport",
              "id": "JFK",
              "time": "2026-12-01 17:00"
            },
            "arrival_airport": {
              "name": "Los Angeles International Airport",
              "id": "LAX",
              "time": "2026-12-01 20:13"
            },
            "duration": 373,
            "airplane": "Airbus A320",
            "airline": "JetBlue",
            "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
            "travel_class": "Economy",
            "flight_number": "B6 2023",
            "legroom": "33 in",
            "extensions": [
              "Above average legroom (33 in)",
              "Free Wi-Fi",
              "In-seat power & USB outlets"
            ]
          }
        ],
        "total_duration": 373,
        "carbon_emissions": {
          "this_flight": 426000,
          "typical_for_this_route": 324000,
          "difference_percent": 31
        },
        "price": 234,
        "type": "One way",
        "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
        "extensions": [
          "Checked baggage for a fee"
        ],
        "booking_token": "[redacted from committed sample]"
      }
    ],
    "other_flights": [
      {
        "flights": [
          {
            "departure_airport": {
              "name": "John F. Kennedy International Airport",
              "id": "JFK",
              "time": "2026-12-01 15:30"
            },
            "arrival_airport": {
              "name": "Boston Logan International Airport",
              "id": "BOS",
              "time": "2026-12-01 16:47"
            },
            "duration": 77,
            "airplane": "Airbus A220-300 Passenger",
            "airline": "JetBlue",
            "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
            "travel_class": "Economy",
            "flight_number": "B6 618",
            "legroom": "32 in",
            "extensions": [
              "Above average legroom (32 in)",
              "Free Wi-Fi",
              "In-seat power & USB outlets"
            ],
            "often_delayed_by_over_30_min": true
          },
          {
            "departure_airport": {
              "name": "Boston Logan International Airport",
              "id": "BOS",
              "time": "2026-12-01 20:30"
            },
            "arrival_airport": {
              "name": "Los Angeles International Airport",
              "id": "LAX",
              "time": "2026-12-01 23:59"
            },
            "duration": 389,
            "airplane": "Airbus A320",
            "airline": "JetBlue",
            "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
            "travel_class": "Economy",
            "flight_number": "B6 1077",
            "legroom": "33 in",
            "extensions": [
              "Above average legroom (33 in)",
              "Free Wi-Fi",
              "In-seat power & USB outlets"
            ]
          }
        ],
        "layovers": [
          {
            "duration": 223,
            "name": "Boston Logan International Airport",
            "id": "BOS"
          }
        ],
        "total_duration": 689,
        "carbon_emissions": {
          "this_flight": 495000,
          "typical_for_this_route": 324000,
          "difference_percent": 53
        },
        "price": 220,
        "type": "One way",
        "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
        "extensions": [
          "Checked baggage for a fee"
        ],
        "booking_token": "[redacted from committed sample]"
      },
      {
        "flights": [
          {
            "departure_airport": {
              "name": "John F. Kennedy International Airport",
              "id": "JFK",
              "time": "2026-12-01 06:00"
            },
            "arrival_airport": {
              "name": "Los Angeles International Airport",
              "id": "LAX",
              "time": "2026-12-01 09:18"
            },
            "duration": 378,
            "airplane": "Airbus A320",
            "airline": "JetBlue",
            "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
            "travel_class": "Economy",
            "flight_number": "B6 123",
            "legroom": "33 in",
            "extensions": [
              "Above average legroom (33 in)",
              "Free Wi-Fi",
              "In-seat power & USB outlets"
            ]
          }
        ],
        "total_duration": 378,
        "carbon_emissions": {
          "this_flight": 426000,
          "typical_for_this_route": 324000,
          "difference_percent": 31
        },
        "price": 234,
        "type": "One way",
        "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
        "extensions": [
          "Checked baggage for a fee"
        ],
        "booking_token": "[redacted from committed sample]"
      },
      {
        "flights": [
          {
            "departure_airport": {
              "name": "John F. Kennedy International Airport",
              "id": "JFK",
              "time": "2026-12-01 07:00"
            },
            "arrival_airport": {
              "name": "Los Angeles International Airport",
              "id": "LAX",
              "time": "2026-12-01 10:18"
            },
            "duration": 378,
            "airplane": "Boeing 767",
            "airline": "Delta",
            "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/DL.png",
            "travel_class": "Economy",
            "flight_number": "DL 742",
            "legroom": "31 in",
            "extensions": [
              "Average legroom (31 in)",
              "Free Wi-Fi",
              "In-seat power & USB outlets"
            ]
          }
        ],
        "total_duration": 378,
        "carbon_emissions": {
          "this_flight": 244000,
          "typical_for_this_route": 324000,
          "difference_percent": -25
        },
        "price": 234,
        "type": "One way",
        "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/DL.png",
        "extensions": [
          "Checked baggage for a fee"
        ],
        "booking_token": "[redacted from committed sample]"
      }
    ],
    "price_insights": {
      "lowest_price": 220,
      "price_level": "typical",
      "typical_price_range": [
        70,
        320
      ],
      "price_history": [
        [
          1779508800,
          204
        ],
        [
          1779595200,
          204
        ],
        [
          1779681600,
          204
        ]
      ]
    },
    "airports": [
      {
        "departure": [
          {
            "airport": {
              "id": "JFK",
              "name": "John F. Kennedy International Airport"
            },
            "city": "New York",
            "country": "United States",
            "country_code": "US",
            "image": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRa1dwH1NZQk4dsbPiyA9Vrq2RX75jXSZ-OkHn7NkLHl-11HercqDXoZ4p2cDxJkH6vca2degawrCzHEQ",
            "thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQEaUa9NsdPWGpAUGkTApkZDT_4M6_6V8wTcC0v1b1wJAJX-BuMSiipXbsoznGgcI1xLOc5QiTcR_xovexgjdOz0gqQe0tRQ9h0bUkZ07Q"
          }
        ],
        "arrival": [
          {
            "airport": {
              "id": "LAX",
              "name": "Los Angeles International Airport"
            },
            "city": "Los Angeles",
            "country": "United States",
            "country_code": "US",
            "image": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTFuS2Y5_b7ZIl-g2Hm7jnG7zoi2uk0CQltF_DFbp6gIzfYznnOB6uJm9d6ePT5PJO5XM1j8vigwCNxRA",
            "thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcT4B0K7etaN3KgEgtU5dJajdcmLtB5QSDRYr4KqcwH1iWxMm7TIqwtcUTTHD5AmNyeeFIpVpTnbSDeuD_HVlkYzOam-TO9w1worRSGRTUo"
          }
        ]
      }
    ]
  },
  "h402": {
    "routeId": "travel/flight-deals",
    "provider": "stabletravel-google",
    "selectedCandidateId": "travel/flight-deals/stabletravel-google",
    "routing": "manual",
    "paidBy": "x402-exact"
  }
}

Providers

Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.

stabletravel-google
x402mpp
100
Success
100%
p50
2.71s
Calls
5
100%
$0.02$0.020/call
Last successful call: 25d ago· Aggregated by h402 — not the source provider