Agents Flight Delay Check
by Flight Delay Check by PayAPI in Weather & location
Flight Delay Check by PayAPI: Check a delayed or cancelled flight against UK261 or EU261 and draft a claim letter.
https://payapi.market/house/agents/flight-delay-check- Price
- $0.03
- per call in USDC
- Uptime
- 94.7%
- last 30 days
- Response time
- 345 ms
- 569 ms slowest 5%
- Last check
- Passed
- 8 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://payapi.market/house/agents/flight-delay-check
Each call costs $0.03 in USDC on Polygon, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://payapi.market/house/agents/flight-delay-check
content-type: application/json
{
"airline": "Ryanair",
"booking_reference": "AB12CD",
"cause": "technical",
"delay_minutes": 200,
"destination": "BCN",
"disruption": "delay",
"origin": "STN",
"passenger_name": "Ada Lovelace"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
airline | string | Yes | Operating airline, for example Ryanair or easyJet. |
booking_reference | string | No | Optional booking reference. |
cause | string | Yes | technical, crew, airline_strike, weather, atc, security, bird_strike, third_party_strike, or unknown. One of: technical, crew, airline_strike, weather, atc, security, bird_strike, third_party_strike, unknown. |
delay_minutes | integer | Yes | Arrival delay in whole minutes. Use 0 if you did not travel. |
destination | string | Yes | Destination airport IATA code, for example BCN. |
disruption | string | Yes | delay, cancellation, or denied_boarding. One of: delay, cancellation, denied_boarding. |
distance_km | number | No | Optional great-circle kilometres, used only when an airport code is not in the list. |
notice_days | integer | No | Optional. Days of notice before a cancellation. |
origin | string | Yes | Origin airport IATA code, for example STN. |
passenger_name | string | No | Optional name for the letter. |
volunteered | boolean | No | Optional. True if the passenger volunteered to give up a seat. |
Example response
The provider's example. We can't check it without paying.
Example response, 30 lines
{
"airline_region": "uk_or_eu",
"band": "short",
"care": "Care (food, drink, and a way to communicate) is a separate right and looks at departure delay: 2 hours or more for this distance. An overnight wait can mean a hotel. This check was not given a departure delay, so care is not scored. Extraordinary circumstances do not automatically remove care.",
"claim_letter": "21 November 2026\n\nTo customer relations at Ryanair,\n\nI am writing about a delay on a flight from STN to BCN.\nBooking reference: AB12CD.\nArrival was 200 minutes after the scheduled arrival time.\nOn these facts the published UK261 band is GBP 220 per passenger. Please pay it if the regulation applies and you cannot show extraordinary circumstances. If you say the circumstances were extraordinary, please say what they were.\nPlease also confirm any care (meals, a way to communicate, and a hotel if the wait was overnight) that was due.\nThis letter is a claim. It is not a statement that you have already accepted it.\n\nAda Lovelace",
"compensation": {
"currency": "GBP",
"per": "passenger",
"reduced": false,
"value": 220
},
"deadline": "Court time limits depend on the country. England and Wales are often 6 years from the flight, Scotland 5, Northern Ireland 6. Other countries set their own, sometimes much shorter. The 8 weeks for ADR is not the court limit. This is not legal advice.",
"distance_km": 1186,
"distance_source": "great_circle",
"eligible": "likely",
"limits": [
"This applies the published UK261 or EU261 bands to the facts you entered. It is not a decision. The airline can refuse compensation where it shows extraordinary circumstances. This is not legal advice.",
"EU261 in this check includes the EEA and Switzerland. Swiss flights follow the Swiss rules, which use the same bands. Ryanair and easyJet operate more than one airline. The ticket shows which one flew. A UK departure is covered either way."
],
"next_steps": [
"Claim with the operating airline first, on its own claim form.",
"Keep boarding passes, the booking, and any message about the cause.",
"If there is no resolution in 8 weeks, or you have a final refusal, use the airline's ADR scheme, or the CAA Passenger Advice and Complaints Team if it has none.",
"CAA delay page: https://www.caa.co.uk/air-passengers/travel-problems-and-rights/flight-delays-and-cancellations/delays/"
],
"reasons": [
"The cause you gave is one that is usually inside the airline's responsibility (technical issues in ordinary operations, crew, or the airline's own staff strike). The airline can still argue the facts."
],
"regime": "UK261"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.03.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://payapi.market/house/agents/flight-delay-check' \
-H 'content-type: application/json' \
--data-raw '{"airline":"Ryanair","booking_reference":"AB12CD","cause":"technical","delay_minutes":200,"destination":"BCN","disruption":"delay","origin":"STN","passenger_name":"Ada Lovelace"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://payapi.market/house/agents/flight-delay-check' \
-H 'content-type: application/json' \
--data-raw '{"airline":"Ryanair","booking_reference":"AB12CD","cause":"technical","delay_minutes":200,"destination":"BCN","disruption":"delay","origin":"STN","passenger_name":"Ada Lovelace"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.03 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.03" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.03 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fpayapi.market%2Fhouse%2Fagents%2Fflight-delay-check&method=POST
const res = await pay("https://payapi.market/house/agents/flight-delay-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"airline": "Ryanair",
"booking_reference": "AB12CD",
"cause": "technical",
"delay_minutes": 200,
"destination": "BCN",
"disruption": "delay",
"origin": "STN",
"passenger_name": "Ada Lovelace"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.03 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.03"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://payapi.market/house/agents/flight-delay-check",
json={
"airline": "Ryanair",
"booking_reference": "AB12CD",
"cause": "technical",
"delay_minutes": 200,
"destination": "BCN",
"disruption": "delay",
"origin": "STN",
"passenger_name": "Ada Lovelace",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 8 h ago | Passed | 402 | 201 ms | $0.03 |
| 2 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 240 ms | $0.03 |
| 4 days ago | Passed | 402 | 359 ms | $0.03 |
| 4 days ago | Passed | 402 | 227 ms | $0.03 |
Show 10 older checks
| 5 days ago | Passed | 402 | 254 ms | $0.03 |
| 5 days ago | Passed | 402 | 352 ms | $0.03 |
| 6 days ago | Passed | 402 | 365 ms | $0.03 |
| 6 days ago | Passed | 402 | 358 ms | $0.03 |
| 6 days ago | Passed | 402 | 345 ms | $0.03 |
| 7 days ago | Passed | 402 | 162 ms | $0.03 |
| 7 days ago | Passed | 402 | 355 ms | $0.03 |
| 7 days ago | Passed | 402 | 569 ms | $0.03 |
| 7 days ago | Passed | 402 | 351 ms | $0.03 |
| 8 days ago | Passed | 402 | 504 ms | $0.03 |