# Airlinequality — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Get comprehensive airline and airport reviews, ratings, and photos from Skytrax to compare carrier quality and traveler experiences. Search and browse detailed feedback on specific airlines, view summary ratings, and discover community-submitted photos to make informed travel decisions.

**Category:** Reviews & Ratings | **Website:** [airlinequality.com/](https://airlinequality.com/) | **Docs:** [parse.bot/marketplace/cf6ad87f-d9e3-426d-8353-41bff0187786/airlinequality-com-api](https://parse.bot/marketplace/cf6ad87f-d9e3-426d-8353-41bff0187786/airlinequality-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-airlinequality-com-api-cf6ad87f/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_airline_list

Get the full list of airlines with their names and slugs. Returns all airlines indexed on the site in a single response. No pagination — all ~580 airlines come in one call.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-airlinequality-com-api-cf6ad87f/get_airline_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_airline_photos

Get photo gallery for an airline using a review_id obtained from get_airline_summary_ratings. Returns URLs for full-size photos and thumbnails. Each airline's gallery is identified by its review_id, not its slug.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `review_id` | string | Yes | Review ID obtained from get_airline_summary_ratings.review_id (e.g. '156008') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-airlinequality-com-api-cf6ad87f/get_airline_photos \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"review_id":"<string>"}'
```

### get_airline_reviews

Get paginated reviews for a specific airline. Returns individual review details including ratings, author, route, cabin class, and category sub-ratings. Supports filtering by cabin class and pagination via page number.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `cabin` | string | No | Filter by cabin class. |
| `limit` | integer | No | Number of reviews per page. |
| `page` | integer | No | Page number for pagination. |
| `slug` | string | Yes | Airline slug from get_airline_list (e.g. 'british-airways', 'emirates') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-airlinequality-com-api-cf6ad87f/get_airline_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"cabin":"<string>","limit":"<integer>","page":"<integer>","slug":"<string>"}'
```

### get_airline_summary_ratings

Get summary ratings and review ID for an airline. Returns overall rating out of 10, review count, category breakdown (e.g. Food & Beverages, Seat Comfort), and a review_id that can be used with get_airline_photos to fetch the airline's photo gallery.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Airline slug from get_airline_list (e.g. 'british-airways', 'emirates') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-airlinequality-com-api-cf6ad87f/get_airline_summary_ratings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### search_reviews

Search for airlines, airports, or reviews by keyword. Supports single and multi-word queries. Returns matching pages with titles, URLs, and text snippets. Results span airline reviews, seat reviews, lounge reviews, and airport reviews.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search query (e.g. 'economy', 'business class Emirates', 'lufthansa') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-airlinequality-com-api-cf6ad87f/search_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
