Skip to content

Commit 400e7ef

Browse files
committed
Add Onward Flights to the service directory
1 parent d2eec21 commit 400e7ef

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

‎schemas/services.ts‎

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,55 @@ export const services: ServiceDef[] = [
11201120
],
11211121
},
11221122

1123+
// ── Onward Flights ───────────────────────────────────────────────────
1124+
{
1125+
id: "onward-flights",
1126+
name: "Onward Flights",
1127+
url: "https://onward.flights",
1128+
serviceUrl: "https://onward.flights",
1129+
description:
1130+
"Search real flights and buy an onward ticket (proof of onward travel) for a traveller, as a web page and PDF with their name on it.",
1131+
icon: "https://onward.flights/apple-touch-icon.png",
1132+
categories: ["web"],
1133+
integration: "first-party",
1134+
tags: ["travel", "flights", "tickets", "usdc", "base"],
1135+
status: "active",
1136+
docs: {
1137+
homepage: "https://onward.flights/agents",
1138+
llmsTxt: "https://onward.flights/llms.txt",
1139+
apiReference: "https://onward.flights/openapi.json",
1140+
},
1141+
provider: { name: "Onward Flights", url: "https://onward.flights" },
1142+
realm: "onward.flights",
1143+
intent: "charge",
1144+
payments: [
1145+
{
1146+
method: "evm",
1147+
currency: usdc(8453).address,
1148+
decimals: 6,
1149+
},
1150+
],
1151+
endpoints: [
1152+
{
1153+
healthCheck: { path: "/api/airports?q=bangkok" },
1154+
route: "GET /api/airports",
1155+
desc: "Find airport codes by city, airport or country name",
1156+
},
1157+
{
1158+
healthCheck: false,
1159+
route: "GET /api/flights",
1160+
desc: "Search one-way flights to use as an onward ticket",
1161+
},
1162+
{
1163+
healthCheck: { body: {} },
1164+
route: "POST /api/purchase",
1165+
desc: "Buy the onward ticket for a flight",
1166+
dynamic: true,
1167+
amountHint: "$5, or $10 departing some countries",
1168+
},
1169+
],
1170+
},
1171+
11231172
// ── Apex DB ───────────────────────────────────────────────────────────
11241173
{
11251174
id: "apex-db",

0 commit comments

Comments
 (0)