Api Endpoint

serp402

Google Flights: Google Flights results, returned as JSON. Structured JSON, USD 0.05 per call in USDC — no API key, no account, no subscription, no minimum. Not affiliated with, endorsed by or an official channel of any of the services the results come from. All trademarks and copyright remain the property of their respective owners.

Open interactive test console

Offering

Provider
serp402.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://serp402.com/api/v1/google-flights
MIME type
Not provided
First seen
2026-10-26T21:57:19.024Z
Last seen
Tags
travel, Google, flights, X402, Agents

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.05 USDC
Atomic price: 50000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0xAA1252D726567293cffE6Ca495e32c6AEcfDC56d"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "50000",
    "payTo": "6srFz6v3mSUWBmz6Fx2XUaHQGHCNFJ59z85Cp9UDCvbK"
  }
]

Observed health

Status
Healthy
Latest latency
44 ms
Average latency
43 ms
HTTP status
204
Last checked
Reachability
100% over 2 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": true,
      "properties": {
        "adults": {
          "description": "number of adults. Default to 1.",
          "type": "string"
        },
        "arrival_id": {
          "description": "arrival airport code or location kgmid. An airport code is an uppercase 3-letter code. You can search for it on Google Flights or IATA . For example, CDG is…",
          "type": "string"
        },
        "currency": {
          "description": "currency of the returned prices. Default to USD . Head to the Google Travel Currencies page for a full list of supported currency codes.",
          "type": "string"
        },
        "deep_search": {
          "description": "Set to true to enable deep search, which may yield better results but with a longer response time. Deep search results are identical to those found on Google…",
          "type": "string"
        },
        "departure_id": {
          "description": "departure airport code or location kgmid. An airport code is an uppercase 3-letter code. You can search for it on Google Flights or IATA . For example, CDG is…",
          "type": "string"
        },
        "exclude_basic": {
          "description": "Set to true to exclude basic results. Resulting fares will have free seat selection and carry on bags. Default to false . As of now, this filter only works…",
          "type": "string"
        },
        "gl": {
          "description": "country to use for the Google Flights search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France) Head…",
          "type": "string"
        },
        "hl": {
          "description": "language to use for the Google Flights search. It's a two or three-letter language code. (e.g., en for English, es for Spanish, or fr for French), optionally…",
          "type": "string"
        },
        "multi_city_json": {
          "description": "flight information for multi-city flights. It's a JSON string containing multiple flight information objects. Each object should contain the following fields:…",
          "type": "string"
        },
        "outbound_date": {
          "description": "outbound date. The format is YYYY-MM-DD. e.g. 2026-10-25 Parameter is required when type is 1 (Round trip) or 2 (One way), unless selected_flights_json is…",
          "type": "string"
        },
        "return_date": {
          "description": "return date. The format is YYYY-MM-DD. e.g. 2026-10-31 Parameter is required when type is 1 (Round trip), unless selected_flights_json is used. Parameter…",
          "type": "string"
        },
        "show_hidden": {
          "description": "Set to true to include the hidden flight results. This is equivalent to clicking 'View more flights' on Google Flights. Default to false .",
          "type": "string"
        },
        "travel_class": {
          "description": "travel class. Available options: 1 - Economy (default) 2 - Premium economy 3 - Business 4 - First",
          "type": "string"
        },
        "type": {
          "description": "type of the flights. Available options: 1 - Round trip (default) 2 - One way 3 - Multi-city When this parameter is set to 3 , use multi_city_json to set the…",
          "type": "string"
        }
      },
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "additionalProperties": true,
      "description": "Google Flights results as structured JSON. The shape follows the source, so fields differ between endpoints; identifiers and routing belonging to the collection layer are stripped.",
      "properties": {
        "attribution": {
          "description": "Where the data comes from and what was done to it. Keep it with the results if you pass them on.",
          "type": "object"
        },
        "endpoint": {
          "description": "Which endpoint answered.",
          "type": "string"
        },
        "meta": {
          "description": "How long the call took.",
          "type": "object"
        },
        "paid": {
          "description": "The settled transaction and network.",
          "type": "object"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}