Returns 402 with the x402 payment requirements for getPaidSeatmap. It returns no seat data and ignores the X-PAYMENT header. Read the price and payment target here before you pay.
Payment required. The body lists the x402 payment requirements. Sent when the X-PAYMENT header is missing, is not valid base64 JSON, or the facilitator rejects it. The same requirements also appear base64-encoded in the PAYMENT-REQUIRED header.
404
No payment receiving address is configured on the server. The body is {"error": "Not found"}.
429
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.
Returns one live seat map for one flight and date, for one x402 payment of 2.99 USDC. Call without X-PAYMENT to get the 402 requirements, then retry with a signed payment.
Name
In
Required
Type
Description
flight_number
path
Yes
string
Airline IATA code and flight number, such as AA123 or BA456. Case does not matter.
date
query
No
string (date)
Flight date in YYYY-MM-DD format. Defaults to the server's current date. The server parses the value leniently. Other date formats can parse, but the documented format is YYYY-MM-DD.
X-PAYMENT
header
No
string
Base64-encoded x402 PaymentPayload. See the x402PaymentHeader security scheme.
Seat map. The payment is settled only on this 200. The X-PAYMENT-RESPONSE header holds the settlement receipt. Flow: a request without a payment gets 402, the client signs a payment and retries, and the server verifies, delivers and settles.
400
The date parameter is not a valid date. Nothing was charged. The 402 check runs first, so an unpaid request with a bad date gets 402.
402
Payment required. The body lists the x402 payment requirements. Sent when the X-PAYMENT header is missing, is not valid base64 JSON, or the facilitator rejects it. The same requirements also appear base64-encoded in the PAYMENT-REQUIRED header.
404
No live seat data is available. Other causes: the airline does not publish a seat map for this flight, the airline is not covered, the route cannot be found, or the data provider is temporarily unavailable. Nothing was charged. The same 404 is sent when the server has no payment receiving address configured, with the body {"error": "Not found"}.
429
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.
Response fields (200, SeatmapDetail):
Field
Type
Always
Description
flightSeatmapId
integer
No
flightNumber
string
Yes
flightDate
string (date)
Yes
The requested date, or today when the request had no date.
airline
string
Yes
airlineCode
string
No
origin
string
Yes
destination
string
Yes
aircraftName
string
Yes
aircraftCode
string
No
totalSeats
integer
Yes
availableSeats
integer
Yes
decks
array of object
Yes
source
string
No
Where the seat data came from. The source now returns live for real-time data, shown as live.
url
string (uri)
Yes
lopaImageUrl
string (uri)
No
Seat layout (LOPA) image. Present only when one is stored.
Example response with illustrative values. Real responses list every seat.
Returns up to 20 flights, sorted by airline name and then flight number. Every filter is optional. origin and destination match IATA codes exactly, ignoring case. airline matches the airline name or IATA code as a partial, case-insensitive match. Flights whose number is a date are excluded.
Name
In
Required
Type
Description
flight_number
query
No
string
Flight number. Zero-padded and unpadded forms both match, such as EK225 and EK0225.
Matching flights. count is the number of flights returned, not the total number of matches.
429
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.
Response fields (200, FlightSearchResponse):
Field
Type
Always
Description
count
integer
Yes
flights
array of object
Yes
Example response with illustrative values. Real responses list every seat.
The flight number cannot be parsed, or flight_date is not a valid date.
404
Error from the ChatGPT GPT API.
429
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.
Response fields (200, GptSeatmap):
Field
Type
Always
Description
flightNumber
string
Yes
airline
string
No
airlineCode
string
No
airlineLogo
string
No
origin
string
Yes
originCity
string
No
originAirport
string
No
originCountry
string
No
destination
string
Yes
destinationCity
string
No
destinationAirport
string
No
destinationCountry
string
No
aircraft
string
No
aircraftCode
string
No
totalSeats
integer
Yes
availableSeats
integer
Yes
cabins
array of object
Yes
decks
array of object
Yes
url
string (uri)
Yes
Example response with illustrative values. Real responses list every seat.
Recommended seats. Only seats with status AVAILABLE, or with no status, are considered.
400
The flight number cannot be parsed.
404
Error from the ChatGPT GPT API.
429
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.
Returns one airline with up to 50 fleet entries, up to 50 routes, and the baggage fees, carry-on limits and in-flight WiFi that the website shows. Each of baggageFees, carryOn and wifi is null when we have no data for the airline. The IATA code is matched ignoring case.
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.
Response fields (200, AirlineDetail):
Field
Type
Always
Description
name
string
Yes
iata
string
Yes
icao
string
Yes
country
string
Yes
active
boolean
Yes
logo
string
No
seatmapCount
integer
Yes
flightCount
integer
Yes
averageRating
string
Yes
reviewsCount
integer
Yes
fleet
array of object
Yes
routes
array of object
Yes
url
string (uri)
Yes
baggageFees
object
No
Baggage fees in USD, as text, because many are ranges.
carryOn
object
No
Economy carry-on and personal item limits. Dimensions are length, width and height.
Returns up to 100 traveller reviews for one flight, the same reviews as the flight page. To post a review or vote on one, use the MCP tools submit_seat_review and vote_review; they need a signed-in account.
Name
In
Required
Type
Description
flight_number
path
Yes
string
Airline IATA code and flight number, such as AA123 or BA456. Case does not matter.
seat_number
query
No
string
Return only reviews for this seat, such as 12A. Case and spaces do not matter.
order
query
No
string, one of recent, helpful
recent (default) or helpful (most specific and most upvoted first).
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.
Rate limit exceeded. The limit is per client IP, applied by Rack::Attack. The /api/v1 limit is 20 per minute. The /api/chatgpt limit is 30 per minute. Wait the number of seconds in the Retry-After header before you retry.