Pay-per-call flight compensation check for AI agents
travel-check-x402.onrender.com/flight-delay-compensation
Pay-per-call flight compensation check for AI agents. Send the airports, what happened (delay, cancellation, denied boarding), the arrival delay or notice given, and the cause, and get whether UK261 or EU261 applies, the distance, the amount owed per passenger, care rights, step-by-step claim and escalation guidance and a ready-to-send claim letter, as JSON. Errors never charged.
GET
https://travel-check-x402.onrender.com/flight-delay-compensationUptime100% 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
// 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://travel-check-x402.onrender.com/flight-delay-compensation?from=LHR&to=JFK");
console.log(await res.json());Example input
{
"from": "LHR",
"to": "JFK"
}