Cheapest return flights from any city
apexfaucet.xyz/api/x402/flight-deals
Cheapest return flights from any city: up to 30 destinations with the lowest fare, dates, stops, airline and a booking link. Pass origin=LPA, MAD, LHR. Fares from real searches in the last 48 hours; book on the airline or agency site. Cheapest return flights from any city: pass ?origin= (IATA city or airport code, e.g. LPA, MAD, LHR) and get up to 30 destinations with the lowest return fare each,
GET
https://apexfaucet.xyz/api/x402/flight-dealsUptime100% of 2 checks 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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://apexfaucet.xyz/api/x402/flight-deals?currency=eur&origin=LPA");
console.log(await res.json());Example input
{
"currency": "eur",
"origin": "LPA"
}