# REST API endpoint reference

Every endpoint under /api/v1, generated from the OpenAPI spec.

Base URL: `https://airportloungelist.com/api/v1`. Send `X-API-Key` on every request, as described in the [REST API overview](https://airportloungelist.com/docs/api.md). The machine-readable version is the [OpenAPI spec](https://airportloungelist.com/openapi.json).

| Method | Path | Summary |
| --- | --- | --- |
| GET | `/lounges/nearby` | Lounges within a radius of a point |
| GET | `/lounges/search` | Full-text lounge search |
| GET | `/lounges/{id}` | One lounge, by slug or id |
| GET | `/lounges/{slug}/reviews` | Reviews for one lounge |
| GET | `/lounges/{slug}/busyness` | How busy a lounge is |
| GET | `/airports` | Airports, optionally filtered by query |
| GET | `/airports/nearby` | Airports within a radius of a point |
| GET | `/airports/{iata}` | One airport, by IATA code |
| GET | `/airports/{iata}/lounges` | Every lounge at one airport |
| GET | `/access` | Lounge access methods |
| GET | `/access/{method}` | Lounges reachable by one access method |
| GET | `/networks` | Lounge networks |
| GET | `/networks/{slug}` | Lounges in one network |
| GET | `/amenities` | Amenities |
| GET | `/amenities/{slug}` | Lounges with one amenity |
| GET | `/brands` | Airline lounge brands |
| GET | `/brands/{slug}` | Lounges of one brand |
| GET | `/passports/{username}` | A public lounge passport |
| POST | `/feedback` | Send feedback |

## Lounges

Find lounges by location or text, and read one lounge in full.

### GET /lounges/nearby

Lounges within a radius of a point

Returns up to 50 lounges near a point, nearest first. When none are in the radius, the search widens to the lounges at the 5 nearest airports, within 500 miles.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `lat` | query | number | yes | Latitude, from -90 to 90. (false) |
| `lon` | query | number | yes | Longitude, from -180 to 180. (false) |
| `radius` | query | integer | no | Search radius in miles. (min 1, max 300, default 60) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `422` | `lat` or `lon` is out of range, or both are 0. |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/lounges/nearby?lat=51.47&lon=-0.4543"
```

### GET /lounges/search

Full-text lounge search

Searches lounge names, airports and cities. Returns up to 50 lounges, in name order.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Search text. (false) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `400` | A required parameter is missing. |
| `401` | The `X-API-Key` header is missing or not valid. |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/lounges/search?q=Plaza+Premium"
```

### GET /lounges/{id}

One lounge, by slug or id

Returns one lounge with its full details.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Lounge slug or numeric id. (false) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/lounges/plaza-premium-lounge-lhr-t2"
```

### GET /lounges/{slug}/reviews

Reviews for one lounge

Returns every review for one lounge, newest first.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `slug` | path | string | yes | Lounge slug. (false) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/lounges/plaza-premium-lounge-lhr-t2/reviews"
```

### GET /lounges/{slug}/busyness

How busy a lounge is

Returns the lounge page's crowd level: typical busyness for each hour of the week, the busiest and quietest hours today in the lounge's local time, and a live reading when one is available. The live reading is cached for 20 minutes.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `slug` | path | string | yes | Lounge slug, from a search or list. (false) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/lounges/centurion-lounge-dfw/busyness"
```

## Airports

Airports that have at least one lounge, and the lounges at each.

### GET /airports

Airports, optionally filtered by query

Lists airports that have lounges, by country, city and name. Use `q` to filter by name, IATA code, city or country.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | no | Filter by airport name, IATA code, city or country. (false) |
| `page` | query | integer | no | Page number. Each page has 50 items. (min 1, max 100, default 1) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/airports"
```

### GET /airports/nearby

Airports within a radius of a point

Returns up to 20 airports with lounges near a point. When none are in the radius, returns the 5 nearest within 500 miles.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `lat` | query | number | yes | Latitude, from -90 to 90. (false) |
| `lon` | query | number | yes | Longitude, from -180 to 180. (false) |
| `radius` | query | integer | no | Search radius in miles. (min 1, max 300, default 60) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `422` | `lat` or `lon` is out of range, or both are 0. |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/airports/nearby?lat=51.47&lon=-0.4543"
```

### GET /airports/{iata}

One airport, by IATA code

Returns one airport. The IATA code is not case sensitive.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `iata` | path | string | yes | Three-letter IATA airport code. (false) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/airports/LHR"
```

### GET /airports/{iata}/lounges

Every lounge at one airport

Returns every lounge at one airport, with a count for each terminal.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `iata` | path | string | yes | Three-letter IATA airport code. (false) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/airports/LHR/lounges"
```

## Access

Ways to get into a lounge, such as a credit card or a membership, and the lounges each one opens.

### GET /access

Lounge access methods

Lists every access method: credit cards, memberships, airline status and more.

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/access"
```

### GET /access/{method}

Lounges reachable by one access method

Returns the lounges you can get into with one access method, 50 for each page.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `method` | path | string | yes | Access method slug, from `GET /access`. (false) |
| `page` | query | integer | no | Page number. Each page has 50 items. (min 1, max 100, default 1) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/access/amex-platinum"
```

## Networks

Lounge networks, such as Priority Pass and LoungeKey, and their lounges.

### GET /networks

Lounge networks

Lists lounge networks, with the number of lounges in each.

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/networks"
```

### GET /networks/{slug}

Lounges in one network

Returns the lounges in one network, 50 for each page.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `slug` | path | string | yes | Network slug, from `GET /networks`. (false) |
| `page` | query | integer | no | Page number. Each page has 50 items. (min 1, max 100, default 1) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/networks/priority-pass"
```

## Amenities

Lounge amenities, such as showers and spa services, and the lounges that have each one.

### GET /amenities

Amenities

Lists the amenities you can filter lounges by, such as showers and quiet zones.

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/amenities"
```

### GET /amenities/{slug}

Lounges with one amenity

Returns the lounges that have one amenity, 50 for each page. Pass `airport` to get only the lounges at one airport.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `slug` | path | string | yes | Amenity slug, from `GET /amenities`. (false) |
| `airport` | query | string | no | Airport IATA code. Only lounges at this airport are returned. (false) |
| `page` | query | integer | no | Page number. Each page has 50 items. (min 1, max 100, default 1) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/amenities/showers"
```

## Brands

Airline lounge brands, such as Emirates and Qantas, and their lounges by airport.

### GET /brands

Airline lounge brands

Lists airline lounge brands, such as Emirates and Qantas, with the number of lounges and airports for each.

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/brands"
```

### GET /brands/{slug}

Lounges of one brand

Returns every lounge of one airline lounge brand, grouped by airport.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `slug` | path | string | yes | Brand slug, from `GET /brands`. (false) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/brands/emirates"
```

## Passports

Members' public lounge passports.

### GET /passports/{username}

A public lounge passport

Returns a member's public lounge passport: stats, countries visited, visit history and published reviews. A passport that its owner has not made public returns 404.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `username` | path | string | yes | The member's username, as in `/passport/{username}` on the website. (false) |

| Status | Meaning |
| --- | --- |
| `200` | OK |
| `401` | The `X-API-Key` header is missing or not valid. |
| `404` | Not found |

```bash
curl -H "X-API-Key: $LOUNGE_API_KEY" "https://airportloungelist.com/api/v1/passports/jack"
```

## Feedback

Send bug reports, feature requests and lounge corrections to the team.

### POST /feedback

Send feedback

Sends a bug report, a feature request, a correction to a lounge's details or other feedback to the Airport Lounge List team. Only the team sees it. To report wrong lounge details, use `data_correction` and name the lounge and airport.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | string | yes | One of bug, feature_request, data_correction, feedback. |
| `message` | string | yes |  |
| `email` | string | no | Optional. Where to send a reply. |
| `page_url` | string | no | Optional. The airportloungelist.com page the feedback is about. Other sites are dropped. |

| Status | Meaning |
| --- | --- |
| `201` | Created |
| `401` | The `X-API-Key` header is missing or not valid. |
| `422` | The request body is not valid. |

```bash
curl -X POST -H "X-API-Key: $LOUNGE_API_KEY" -H "Content-Type: application/json" \
  -d '{"kind":"data_correction","message":"The Plaza Premium Lounge at LHR Terminal 2 now opens at 5am.","page_url":"https://airportloungelist.com/airports/london-heathrow"}' \
  "https://airportloungelist.com/api/v1/feedback"
```

---
Source: https://airportloungelist.com/docs/api/reference
