# Google Flights Search via Stable Travel

> Google Flights Search via Stable Travel is a paid API for AI agents from stable-travel-git-migrate-stabletravel-router-140-merit-systems.vercel.app, paid per call via x402, $0.020000/call, status unknown (last checked 2026-09-14, last successful call 2026-07-21).

Searches Google Flights for flight offers, returning best flights, alternative options, price insights, and airport information.

## Facts

- Endpoint: GET https://stable-travel-git-migrate-stabletravel-router-140-merit-systems.vercel.app/api/google-flights/search
- Price: $0.020000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-07-21
- Success rate: 91% of calls made through Zero
- Rating: 3.0 / 5 from 6 reviews
- Activations on Zero: 57
- Tags: x402
- Canonical page: https://www.zero.xyz/c/google-flights-search-via-stable-travel-593af602
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2va6TcIptwzLRYV-MqOww

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability google-flights-search-via-stable-travel-593af602
```

Example prompt: Search Google Flights for a round-trip economy flight from JFK to LHR, departing June 15 and returning June 22, for 2 adults in USD — nonstop only if possible.

## When to prefer this

Use this endpoint when you need real-time Google Flights data including price insights and best/alternative flight breakdowns. Prefer this over generic travel APIs when you want Google's flight ranking and price comparison signals. Ideal for agents building travel planning workflows that need structured flight search results with pricing context.

## Known failure modes

- Missing required query parameters (departure_id, arrival_id, outbound_date) returns 400 error
- Invalid IATA airport code returns no results or error
- return_date not provided for round-trip (type=1) causes error
- Invalid date format (not YYYY-MM-DD) returns validation error
- Upstream Google Flights data unavailable returns 5xx error
- Payment of 0.02 USDC not provided returns 402 Payment Required

## How this service works

Search Google Flights for flight offers. Returns best flights, other flights, price insights, and airport info.

## Output

Returns best flights and other available flights with pricing, schedules, and airline details, along with price insights (whether prices are low/typical/high for the route) and relevant airport information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "departure_id",
      "arrival_id",
      "outbound_date",
      "type",
      "adults",
      "children",
      "infants_in_seat",
      "infants_on_lap",
      "currency",
      "hl"
     ],
     "properties": {
      "gl": {
       "type": "string",
       "description": "Country code for localization"
      },
      "hl": {
       "type": "string",
       "default": "en",
       "description": "Language code"
      },
      "type": {
       "enum": [
        "1",
        "2",
        "3"
       ],
       "type": "string",
       "default": "1",
       "description": "1 = Round trip, 2 = One way, 3 = Multi-city"
      },
      "stops": {
       "enum": [
        "0",
        "1",
        "2",
        "3"
       ],
       "type": "string",
       "description": "0 = Any, 1 = Nonstop only, 2 = Up to 1 stop, 3 = Up to 2 stops"
      },
      "adults": {
       "type": "integer",
       "default": 1,
       "maximum": 9,
       "minimum": 1
      },
      "children": {
       "type": "integer",
       "default": 0,
       "maximum": 9,
       "minimum": 0
      },
      "currency": {
       "type": "string",
       "default": "USD",
       "maxLength": 3,
       "minLength": 3,
       "description": "Currency code"
      },
      "max_price": {
       "type": "integer",
       "maximum": 9007199254740991,
       "description": "Max price in local currency",
       "exclusiveMinimum": 0
      },
      "arrival_id": {
       "type": "string",
       "description": "Arrival airport code (IATA), city, or kgmid. Comma-separated for multi-city."
      },
      "return_date": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
       "description": "Return date (required for round trip)"
      },
      "departure_id": {
       "type": "string",
       "description": "Departure airport code (IATA), city, or kgmid. Comma-separated for multi-city."
      },
      "travel_class": {
       "enum": [
        "1",
        "2",
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/google-flights-search-via-stable-travel-593af602/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stable-travel-git-migrate-stabletravel-router-140-merit-systems.vercel.app](https://www.zero.xyz/host/stable-travel-git-migrate-stabletravel-router-140-merit-systems.vercel.app/llms.txt)
