# REST API overview

Two HTTP APIs return seat maps as JSON. Neither uses an API key.

## Two APIs

| API | Base | path | Access | Limit |
| --- | --- | --- | --- | --- |
| Free lookup API | `https://flightseatmap.com/api/chatgpt` | No account, no key | 30 requests per minute per IP |
| Pay-per-call API | `https://flightseatmap.com/api/v1` | One x402 payment of $2.99 per live seat map | 20 requests per minute per IP |

- Use the **free lookup API** to search flights, read cached seat maps, get seat recommendations, read reviews and list airlines, airports and routes. It was first built for a custom GPT, which is why the path says `chatgpt`. It does not trigger a live import.
- Use the **pay-per-call API** to buy one live seat map for one flight and date, fetched from airline booking systems. An agent that holds USDC can pay without an account.
- Use the [MCP server](https://flightseatmap.com/docs/mcp) when the caller is an AI assistant that supports MCP.

## Getting access

Flight Seatmap does not issue API keys. There is nothing to sign up for to call either API.

1. Call the free lookup API directly. Try `curl "https://flightseatmap.com/api/chatgpt/seatmap/QF1"`.
2. For live seat maps, follow [Authentication and payment](https://flightseatmap.com/docs/api/authentication).
3. For commercial use, take the [Enterprise plan](https://flightseatmap.com/docs/plans#enterprise). It is a licence, not a key.

## OpenAPI spec

Both APIs are described by one OpenAPI 3 document at [`/openapi.json`](https://flightseatmap.com/openapi.json). The same document is served at `/.well-known/openapi.json`. The [endpoint reference](https://flightseatmap.com/docs/api/reference) in these docs is generated from the same source, so they cannot disagree.

```bash
curl https://flightseatmap.com/openapi.json
```

## Conventions

- Responses are JSON. Errors have an `error` string. See [Errors and rate limits](https://flightseatmap.com/docs/api/errors).
- Flight numbers are the airline IATA code followed by the number, such as `QF1` or `BA178`. Case does not matter.
- Dates are `YYYY-MM-DD`.
- The free lookup API sends CORS headers that allow `GET` from any origin, so you can call it from a browser.
- Seat data comes from airline seat maps and airline booking systems. Where a response has a `source` field, `live` means real-time data from airline booking systems.

---

Source: https://flightseatmap.com/docs/api
