Endpoint reference

Every endpoint of the free lookup API and the pay-per-call API, generated from the same OpenAPI source as /openapi.json.

View as Markdown

Base URL: https://flightseatmap.com. The full machine-readable spec is at /openapi.json. Errors and limits are in Errors and rate limits.

Pay-per-call API (/api/v1) #

Each live seat map needs an x402 payment of $2.99. See Authentication and payment. Limited to 20 requests per minute per IP.

Read the price and payment terms #

GET /api/v1

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.

curl
curl "https://flightseatmap.com/api/v1"
Status Meaning
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 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.

Buy one live seat map (x402) #

GET /api/v1/seatmaps/{flight_number}

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.
curl
curl "https://flightseatmap.com/api/v1/seatmaps/QF1?date=2026-12-01" \
  -H "X-PAYMENT: <base64 payment payload>"
Status Meaning
200 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.
{
  "flightSeatmapId": 1,
  "flightNumber": "QF1",
  "flightDate": "2026-12-20",
  "airline": "Qantas Airways",
  "airlineCode": "QF",
  "origin": "SYD",
  "destination": "LAX",
  "aircraftName": "B787-9",
  "aircraftCode": "B787-9",
  "totalSeats": 2,
  "availableSeats": 1,
  "decks": [
    {
      "deck": "main",
      "seats": [
        {
          "number": "12A",
          "cabin": "economy",
          "features": [
            "window"
          ],
          "status": "available"
        },
        {
          "number": "12B",
          "cabin": "economy",
          "features": [],
          "status": "blocked"
        }
      ]
    }
  ],
  "source": "live",
  "url": "https://flightseatmap.com/flights/QF1"
}

Free lookup API (/api/chatgpt) #

No account, no key. Limited to 30 requests per minute per IP. These endpoints read cached data and never start a live import.

Search flights #

GET /api/chatgpt/search_flights

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.
origin query No string Origin IATA code.
destination query No string Destination IATA code.
airline query No string Airline name or IATA code. Partial match.
curl
curl "https://flightseatmap.com/api/chatgpt/search_flights?origin=SYD&destination=LAX"
Status Meaning
200 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.
{
  "count": 1,
  "flights": [
    {
      "flightNumber": "QF1",
      "airline": "Qantas Airways",
      "airlineCode": "QF",
      "origin": "SYD",
      "originCity": "Sydney",
      "destination": "LAX",
      "destinationCity": "Los Angeles",
      "aircraft": "B787-9",
      "aircraftCode": "B787-9",
      "totalSeats": 2,
      "cabinClasses": [
        "economy"
      ],
      "url": "https://flightseatmap.com/flights/QF1"
    }
  ]
}

Get a seat map #

GET /api/chatgpt/seatmap/{flight_number}

Returns the full seat map for one flight. With flight_date, the seat map uses that date's configuration.

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.
flight_date query No string (date) Flight date in YYYY-MM-DD format. Omit it to use the current seat configuration.
curl
curl "https://flightseatmap.com/api/chatgpt/seatmap/QF1?flight_date=2026-12-01"
Status Meaning
200 Seat map with cabin summaries and every seat.
400 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.
{
  "flightNumber": "QF1",
  "airline": "Qantas Airways",
  "airlineCode": "QF",
  "origin": "SYD",
  "destination": "LAX",
  "aircraft": "B787-9",
  "aircraftCode": "B787-9",
  "totalSeats": 2,
  "availableSeats": 1,
  "cabins": [
    {
      "name": "Economy",
      "totalSeats": 2,
      "availableSeats": 1,
      "features": [
        "Window"
      ]
    }
  ],
  "decks": [
    {
      "deck": "main",
      "seats": [
        {
          "number": "12A",
          "cabin": "Economy",
          "available": true,
          "features": [
            "Window"
          ]
        },
        {
          "number": "12B",
          "cabin": "Economy",
          "available": false,
          "features": []
        }
      ]
    }
  ],
  "url": "https://flightseatmap.com/flights/QF1"
}

Recommend seats #

GET /api/chatgpt/seat_recommendations/{flight_number}

Returns up to 10 available seats that match preference. Unknown preference values return all available seats.

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.
preference query No string Seat preference. Defaults to window. Values: window, aisle, extra_legroom (or legroom), exit_row (or exit), bulkhead, front (lowest row numbers first), quiet.
cabin_class query No string Cabin to filter on, compared in upper case. Use the value as the seat data stores it, such as ECONOMY.
curl
curl "https://flightseatmap.com/api/chatgpt/seat_recommendations/QF1?preference=window&cabin_class=ECONOMY"
Status Meaning
200 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.

Response fields (200, SeatRecommendationsResponse):

Field Type Always Description
flightNumber string Yes
airline string No
aircraft string No
preference string Yes
cabinClass string No The cabin_class value in upper case, or null when none was sent.
totalAvailableSeats integer Yes
recommendedSeats array of object Yes
url string (uri) Yes
updatedAt string (date-time) No

Search airlines #

GET /api/chatgpt/airlines

Returns active passenger airlines, ordered by name. limit is clamped to the range 1 to 50. Other values are not rejected.

Name In Required Type Description
search query No string Matches airline name or IATA code.
limit query No integer, 1 to 50 Maximum number of airlines. Clamped to 1 to 50.
curl
curl "https://flightseatmap.com/api/chatgpt/airlines?search=Qantas"
Status Meaning
200 Matching airlines.
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, AirlinesResponse):

Field Type Always Description
count integer Yes
airlines array of object Yes

Get an airline #

GET /api/chatgpt/airlines/{iata}

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.

Name In Required Type Description
iata path Yes string Airline IATA code.
curl
curl "https://flightseatmap.com/api/chatgpt/airlines/QF"
Status Meaning
200 Airline detail.
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, 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.
wifi object No

Get flight reviews #

GET /api/chatgpt/reviews/{flight_number}

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).
curl
curl "https://flightseatmap.com/api/chatgpt/reviews/QF1?seat_number=12A"
Status Meaning
200 Reviews for the flight.
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.

Response fields (200, FlightReviewsResponse):

Field Type Always Description
flightNumber string Yes
airline string No
seatFilter string No
reviewCount integer Yes
averageRating number No
reviews array of object Yes
url string (uri) Yes

Search airports #

GET /api/chatgpt/airports

Matches name, city, IATA code or country. Results are ordered by name. limit is clamped to the range 1 to 50.

Name In Required Type Description
search query No string Partial match on name, city, IATA code or country.
country query No string Exact country name, ignoring case.
limit query No integer, 1 to 50 Maximum number of airports. Clamped to 1 to 50.
curl
curl "https://flightseatmap.com/api/chatgpt/airports?search=Sydney&country=Australia"
Status Meaning
200 Matching airports.
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, AirportsResponse):

Field Type Always Description
count integer Yes
airports array of object Yes

Search routes #

GET /api/chatgpt/routes

Returns up to 30 flights, ordered by airline name. Flights whose number is a date are excluded.

Name In Required Type Description
origin query No string Origin IATA code, ignoring case.
destination query No string Destination IATA code, ignoring case.
airline_iata query No string Airline IATA code, ignoring case.
curl
curl "https://flightseatmap.com/api/chatgpt/routes?origin=SYD&destination=LAX&airline_iata=QF"
Status Meaning
200 Matching routes.
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, RoutesResponse):

Field Type Always Description
count integer Yes
routes array of object Yes