Skip to content
Fourohtwo

Google Flights search API for AI agents

api.fastaf.co/x402/v1/flights

Google Flights search API for AI agents: itineraries and current fares as JSON between two airports given as IATA codes, one way or round trip. For travel planning and fare comparison; it does not book tickets. Provided by Google Flights. Price: $0.005000 USDC per successful call. Docs: https://fastaf.co

BaseAnswering
GEThttps://api.fastaf.co/x402/v1/flights

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.fastaf.co/x402/v1/flights?arrival_id=LHR&departure_id=JFK&outbound_date=2027-01-15&type=2");
console.log(await res.json());

Example input

{
  "arrival_id": "LHR",
  "departure_id": "JFK",
  "outbound_date": "2027-01-15",
  "type": "2"
}

More from FastAF