Flights
by SiteCheck in Weather & location
Flight fares for one route and date, one-way or round trip: the cheapest, the fastest and the cheapest nonstop option, then up to 20 itineraries sorted by price with carrier, stops, duration, departure and arrival times (local and UTC), every flight segment and aircraft. Cabin, maximum stops and market (sets the currency) are optional. Fares for a single traveller from Ignav; a fare search, not a booking.
https://api.sitecheck-api.workers.dev/api/flights- Price
- $0.05
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 620 ms
- 2.4 s slowest 5%
- Last check
- Passed
- 4 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.sitecheck-api.workers.dev/api/flights
Each call costs $0.05 in USDC on Base, 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.
GET https://api.sitecheck-api.workers.dev/api/flights?date=2026-11-20&from=IST&to=LHRParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cabin | string | No | economy (default), premium_economy, business or first |
date | string | Yes | Departure date YYYY-MM-DD (today to 330 days ahead) |
from | string | Yes | Departure airport, 3-letter IATA code, e.g. IST |
limit | string | No | Itineraries to return, 1-20, default 10 |
market | string | No | 2-letter country code that sets the currency, default US (USD); e.g. GB, DE, TR |
maxStops | string | No | Maximum stops per direction: 0, 1, 2 or 3 (optional) |
return | string | No | Return date YYYY-MM-DD for a round trip (optional) |
to | string | Yes | Arrival airport, 3-letter IATA code, e.g. LHR |
Example response
The provider's example. We can't check it without paying.
Example response, 183 lines
{
"cheapest": {
"carrier": "LOT",
"durationMinutes": 390,
"price": {
"amount": 106,
"currency": "USD",
"status": "verified"
},
"stops": 1
},
"cheapestNonstop": {
"carrier": "British Airways",
"durationMinutes": 250,
"price": {
"amount": 126,
"currency": "USD",
"status": "verified"
},
"stops": 0
},
"checkedAt": "2026-10-15T07:05:15.817Z",
"count": 11,
"currency": "USD",
"fastest": {
"carrier": "Turkish Airlines",
"durationMinutes": 235,
"price": {
"amount": 142,
"currency": "USD",
"status": "verified"
},
"stops": 0
},
"itineraries": [
{
"cabin": "economy",
"ignavId": "482f12b5f25b480d970f05c178d91b5a",
"inbound": null,
"outbound": {
"arrival": {
"airport": "LHR",
"local": "2026-11-20T22:00:00",
"utc": "2026-11-20T22:00:00Z"
},
"carrier": "LOT",
"departure": {
"airport": "IST",
"local": "2026-11-20T18:30:00",
"utc": "2026-11-20T15:30:00Z"
},
"durationMinutes": 390,
"segments": [
{
"aircraft": "Boeing 737MAX 8 Passenger",
"arrivalLocal": "2026-11-20T19:05:00",
"departureLocal": "2026-11-20T18:30:00",
"durationMinutes": 155,
"flight": "LO136",
"from": "IST",
"operatedBy": "LOT",
"to": "WAW"
},
{
"aircraft": "Boeing 737MAX 8 Passenger",
"arrivalLocal": "2026-11-20T22:00:00",
"departureLocal": "2026-11-20T20:15:00",
"durationMinutes": 165,
"flight": "LO285",
"from": "WAW",
"operatedBy": "LOT",
"to": "LHR"
}
],
"stops": 1
},
"price": {
"amount": 106,
"currency": "USD",
"status": "verified"
},
"selfTransfer": false
},
{
"cabin": "economy",
"ignavId": "cacde4b37b904c149a0d00574afb4715",
"inbound": null,
"outbound": {
"arrival": {
"airport": "LHR",
"local": "2026-11-20T19:55:00",
"utc": "2026-11-20T19:55:00Z"
},
"carrier": "British Airways",
"departure": {
"airport": "IST",
"local": "2026-11-20T18:45:00",
"utc": "2026-11-20T15:45:00Z"
},
"durationMinutes": 250,
"segments": [
{
"aircraft": "Airbus A320",
"arrivalLocal": "2026-11-20T19:55:00",
"departureLocal": "2026-11-20T18:45:00",
"durationMinutes": 250,
"flight": "BA679",
"from": "IST",
"operatedBy": "British Airways",
"to": "LHR"
}
],
"stops": 0
},
"price": {
"amount": 126,
"currency": "USD",
"status": "verified"
},
"selfTransfer": false
},
{
"cabin": "economy",
"ignavId": "c83ce5b4b6c345258b6246b7cc0a9e16",
"inbound": null,
"outbound": {
"arrival": {
"airport": "LHR",
"local": "2026-11-20T12:20:00",
"utc": "2026-11-20T12:20:00Z"
},
"carrier": "Air Serbia",
"departure": {
"airport": "IST",
"local": "2026-11-20T05:25:00",
"utc": "2026-11-20T02:25:00Z"
},
"durationMinutes": 595,
"segments": [
{
"aircraft": "Embraer 190",
"arrivalLocal": "2026-11-20T05:10:00",
"departureLocal": "2026-11-20T05:25:00",
"durationMinutes": 105,
"flight": "JU427",
"from": "IST",
"operatedBy": "Air Serbia",
"to": "BEG"
},
{
"aircraft": "Airbus A319",
"arrivalLocal": "2026-11-20T12:20:00",
"departureLocal": "2026-11-20T10:10:00",
"durationMinutes": 190,
"flight": "JU210",
"from": "BEG",
"operatedBy": "Air Serbia",
"to": "LHR"
}
],
"stops": 1
},
"price": {
"amount": 135,
"currency": "USD",
"status": "verified"
},
"selfTransfer": false
}
],
"note": "Fares for a single traveller as observed by Ignav; prices change, confirm them on the airline or agency site before booking. selfTransfer true means separate tickets (you re-check bags). This is a fare search, not a booking.",
"observedAt": "2026-10-15T07:04:11.923565Z",
"query": {
"cabin": "economy",
"date": "2026-11-20",
"from": "IST",
"market": "US",
"maxStops": null,
"return": null,
"to": "LHR"
},
"source": "Ignav fare search (https://ignav.com)"
}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.05.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.sitecheck-api.workers.dev/api/flights?date=2026-11-20&from=IST&to=LHR'
# 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 - 'https://api.sitecheck-api.workers.dev/api/flights?date=2026-11-20&from=IST&to=LHR' \
| 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.05 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.05" });
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.05 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.sitecheck-api.workers.dev%2Fapi%2Fflights
const res = await pay("https://api.sitecheck-api.workers.dev/api/flights?date=2026-11-20&from=IST&to=LHR");
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.05 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.05"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api.sitecheck-api.workers.dev/api/flights?date=2026-11-20&from=IST&to=LHR")
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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 620 ms | $0.05 |
| 8 h ago | Passed | 402 | 134 ms | $0.05 |
| 18 h ago | Passed | 402 | 2.4 s | $0.05 |