Cabin Flights
by @kobuta23
Search and book real flights with USDC payments. Gives your AI agent the power to find flights across 500+ airlines and complete bookings paid in USDC on Base. No credit cards, no banks β crypto-native travel commerce.
clawhub install cabinπ About This Skill
name: cabin description: Search and book real flights with USDC payments. Gives your AI agent the power to find flights across 500+ airlines and complete bookings paid in USDC on Base. No credit cards, no banks β crypto-native travel commerce. metadata: {"clawdbot":{"emoji":"βοΈ","homepage":"https://github.com/yolo-maxi/cabin","requires":{"bins":["node"]}}}
Cabin β Flight Search & Booking with USDC
Search real flights across 500+ airlines and book with USDC on Base.
API Base URL
https://api.cabin.team
Endpoints
Search Flights
When the user wants to find flights:
curl -X POST https://api.cabin.team/v1/search \
-H "Content-Type: application/json" \
-d '{
"from": "HAN",
"to": "ATH",
"date": "2026-03-15",
"return_date": "2026-03-22",
"adults": 1,
"class": "ECONOMY",
"currency": "USD",
"max_results": 5
}'
Parameters:
from (required): Origin IATA airport codeto (required): Destination IATA airport codedate (required): Departure date (YYYY-MM-DD)return_date (optional): Return date for round-tripadults (optional, default 1): Number of passengersclass (optional): ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRSTcurrency (optional, default USD): Currency for pricesmax_results (optional, default 10): Maximum resultsResponse includes:
results[] β Array of flight offers with prices, airlines, times, stopsimage_url β URL to a rendered PNG comparison image of resultssearch_id β ID to reference when bookingPresenting results to users:
Book a Flight
When the user wants to book:
curl -X POST https://api.cabin.team/v1/book \
-H "Content-Type: application/json" \
-d '{
"offer_id": "offer_1",
"search_id": "abc123",
"passengers": [{
"type": "adult",
"given_name": "John",
"family_name": "Doe",
"email": "john@example.com",
"born_on": "1990-01-15",
"gender": "m"
}]
}'
Required passenger info:
Response includes:
booking_id β Cabin booking reference (CBN-YYYY-XXXX)amount_usdc β Amount to pay in USDCpayment.deposit_address β USDC deposit address on Basepayment.checkout_url β Payment page URL to share with userUSDC Payment Flow
After booking, the user needs to pay in USDC on Base:
1. Show the user the amount_usdc and payment.checkout_url
2. User can either:
a. Send USDC directly to payment.deposit_address on Base
b. Visit checkout_url for a guided payment experience
3. After payment, booking is confirmed automatically
If the agent has wallet capabilities (e.g., evm-wallet skill):
# Check USDC balance on Base
node src/balance.js base --jsonSend USDC to deposit address
node src/send.js base USDC --yes --json
Check Booking Status
curl https://api.cabin.team/v1/booking/CBN-2026-XXXX
Statuses: awaiting_payment β confirmed β checked_in
Get Confirmation Page
https://api.cabin.team/v1/booking/CBN-2026-XXXX/confirmation
Share this URL with the user after payment confirmation.Get Check-in Page
https://api.cabin.team/v1/booking/CBN-2026-XXXX/checkin
Share when it's time to check in for the flight.Common IATA Codes
| Code | City | |------|------| | HAN | Hanoi | | BKK | Bangkok | | SIN | Singapore | | NRT | Tokyo Narita | | HND | Tokyo Haneda | | ICN | Seoul | | LHR | London | | CDG | Paris | | FCO | Rome | | ATH | Athens | | JFK | New York | | LAX | Los Angeles | | SFO | San Francisco | | DXB | Dubai | | IST | Istanbul |