# AirlineRatings Reviews Scraper (`knagymate/airline-ratings-reviews-scraper`) Actor

Scrape AirlineRatings.com passenger reviews for any airline. Extract overall and 7 category ratings, review text, cabin class, route, aircraft, comments and airline replies, plus passenger, safety and product scores. Filter by cabin, date and sort order. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/knagymate/airline-ratings-reviews-scraper.md
- **Developed by:** [knagymate](https://apify.com/knagymate) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 reviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AirlineRatings Reviews Scraper

Scrape **AirlineRatings.com passenger reviews** at scale with a fast, reliable, production-ready Apify Actor. Turn any airline page on AirlineRatings into a clean dataset of traveler reviews, detailed category scores, review comments and the airline's **aggregated passenger, safety and product ratings**.

Extract structured **AirlineRatings review data** including:

- ⭐ Overall passenger rating (0–10) plus **7 detailed category scores** per review: value for money, seat and cabin space, customer service, in-flight entertainment, baggage handling, check-in and meals and beverages
- 📝 Review titles and full review texts
- 👤 Reviewer names, reviewer IDs and avatars
- ✈️ Flight details: cabin class, flight number, aircraft, origin, destination and date flown
- 💬 Comments and replies posted under each review, including airline responses
- 🏆 Airline summary with **aggregated ratings**: passenger rating, safety rating, product rating, average category scores with rating counts and the share of passengers who recommend the airline
- 🔢 Total review counts per airline

Perfect for:

- Airlines, airports and aviation consultancies
- Travel agencies, OTAs and metasearch platforms
- SEO & market research teams
- AI/LLM training datasets and sentiment models
- Reputation management and customer experience platforms

Optimized for large-scale review extraction from **AirlineRatings.com**, one of the world's best-known airline safety and product rating websites, covering hundreds of airlines with independent safety rankings, product ratings and thousands of passenger reviews.

***

## ✨ Features

- ✅ Scrape **AirlineRatings passenger reviews** directly from public airline URLs
- ✅ Overall rating and **7 detailed category ratings** for every review
- ✅ **Aggregated airline ratings**: passenger rating (0–10), safety rating (0–7), product rating (0–7), average category scores and rating counts
- ✅ "Would recommend" share of passengers per airline
- ✅ **Review comments and replies**, including responses from airlines
- ✅ Flight details: cabin class, flight number, aircraft type, route and date flown
- ✅ Sort reviews by most recent, oldest, highest rated or lowest rated (`sortBy`)
- ✅ Filter reviews by cabin class: economy, premium economy, business or first (`cabin`)
- ✅ Optional date cutoff filtering (`cutoffDate`) for incremental runs
- ✅ Configurable maximum reviews per airline (`maxReviewsPerAirline`)
- ✅ Turn detailed ratings and comments on or off for faster, lighter runs
- ✅ Multiple airlines in a single run (`startUrls`)
- ✅ Summary record per airline, even when no reviews match (`alwaysReturnSummary`)
- ✅ Clean, normalized dataset output for analytics and ETL
- ✅ Apify API ready, with webhook & workflow integrations (Make, Zapier, Google Sheets, BigQuery)

***

## 🔍 Supported AirlineRatings Pages

The scraper works with any **AirlineRatings airline page** and its sub-pages (reviews, safety, product):

```text
https://www.airlineratings.com/airlines/american-airlines
https://www.airlineratings.com/airlines/american-airlines/reviews
https://www.airlineratings.com/airlines/royal-jordanian
https://www.airlineratings.com/airlines/qantas/safety
```

Inputs must be full airline URLs. Individual review pages (e.g. `https://www.airlineratings.com/reviews/98887`), search pages and plain airline names are not accepted. Reviews are returned newest first by default.

***

## ⚙️ Input Configuration

| Field | Type | Description |
|---|---|---|
| `startUrls` | array | One or more AirlineRatings airline URLs to scrape |
| `maxReviewsPerAirline` | integer | Maximum reviews to scrape per airline (default: `100`, `0` for unlimited) |
| `cutoffDate` | string | Return only reviews published on or after this date (`YYYY-MM-DD`) |
| `sortBy` | string | Review order: `recent` (default), `oldest`, `highest` or `lowest` |
| `cabin` | string | Only reviews of this cabin class: `economy`, `premium-economy`, `business` or `first`. Leave empty for all |
| `includeDetailedRatings` | boolean | Add the 7 category ratings and the flight number to every review (default: `true`) |
| `includeComments` | boolean | Add the comments and replies posted under every review (default: `true`) |
| `alwaysReturnSummary` | boolean | Push a summary record with the aggregated airline ratings even if no reviews match (default: `true`) |

***

## 📥 Example Input

```json
{
  "startUrls": [
    { "url": "https://www.airlineratings.com/airlines/american-airlines" },
    { "url": "https://www.airlineratings.com/airlines/royal-jordanian/reviews" }
  ],
  "maxReviewsPerAirline": 200,
  "cutoffDate": "2025-01-01",
  "sortBy": "recent",
  "cabin": "business",
  "includeDetailedRatings": true,
  "includeComments": true,
  "alwaysReturnSummary": true
}
```

***

## 📦 Output Dataset

Every review is returned as one flat, structured record that combines the **individual review**, its **detailed ratings**, the **flight details**, the **comments** posted under it and the **aggregated airline summary**. Each record is self-contained, so you can load it straight into a spreadsheet, BI dashboard, data warehouse or NLP pipeline without joins. Airlines without matching reviews get a single `summary` record that still carries the full aggregated ratings, which makes the Actor equally useful for airline benchmarking.

***

## 🧾 Output Fields

| Field | Description |
|---|---|
| `recordType` | Type of record: `review` or `summary` |
| `reviewId` | AirlineRatings review ID |
| `reviewUrl` | Link to the review page |
| `reviewTitle` | Review headline (airline, aircraft, cabin, route and reviewer) |
| `reviewText` | Full review text |
| `reviewDate` | Date and time the review was published (ISO 8601) |
| `updatedDate` | Date and time the review was last updated |
| `dateFlown` | Date of the reviewed flight |
| `cabinClass` | `economy`, `premium-economy`, `business` or `first` |
| `origin` / `destination` | Departure and arrival airports |
| `aircraft` | Aircraft type (e.g. Boeing 777) |
| `flightNumber` | Flight number entered by the reviewer |
| `reviewerName` / `reviewerId` / `reviewerAvatarUrl` | Reviewer details |
| `ratings.overall` | Overall rating given by the reviewer (0–10) |
| `ratings.valueForMoney` | Value for money (0–5) |
| `ratings.seatAndCabinSpace` | Seat and cabin space (0–5) |
| `ratings.customerService` | Customer service (0–5) |
| `ratings.inFlightEntertainment` | In-flight entertainment (0–5) |
| `ratings.baggageHandling` | Baggage handling (0–5) |
| `ratings.checkInProcess` | Check-in process (0–5) |
| `ratings.mealsAndBeverages` | Meals and beverages (0–5) |
| `ratings.recommendAirline` | Whether the reviewer recommends the airline (when given) |
| `imageUrls` / `videoUrls` | Photos and videos attached to the review |
| `commentCount` | Number of comments and replies under the review |
| `comments[]` | Comments with `commentId`, `parentCommentId`, `commentDate`, `text`, `authorName`, `authorId`, `authorAvatarUrl`, `respondingAirline`, `voteScore`, `replyCount` and nested `replies` |
| `airlineSummary.airlineId` | Airline identifier (URL slug) |
| `airlineSummary.airlineName` | Airline name |
| `airlineSummary.iataCode` | IATA airline code |
| `airlineSummary.country` | Airline home country |
| `airlineSummary.logoUrl` | Airline logo |
| `airlineSummary.startUrl` | Original input URL |
| `airlineSummary.url` / `reviewsUrl` | Airline page and reviews page |
| `airlineSummary.numberOfReviews` | Total passenger reviews on AirlineRatings |
| `airlineSummary.ratings.overall` | Average passenger rating (0–10) |
| `airlineSummary.ratings.safety` | AirlineRatings safety rating (0–7) |
| `airlineSummary.ratings.product` | AirlineRatings product rating (0–7) |
| `airlineSummary.ratings.<category>` | Average category ratings (0–5), same keys as the review ratings |
| `airlineSummary.ratings.recommendAirlinePercentage` | Share of reviewers who recommend the airline (%) |
| `airlineSummary.ratingDetails[]` | Every aggregated rating with `key`, `label`, `value`, `maxValue`, `count` and `type` |

***

## 🏨 Example Review Output

#### Review record:

```json
{
  "recordType": "review",
  "reviewId": "98927",
  "reviewUrl": "https://www.airlineratings.com/reviews/98927",
  "reviewTitle": "American Airlines 777 economy class review: Fort Worth International Airport, Dallas to Zurich International Airport, Kloten by Kishan Patel",
  "reviewText": "Solid long-haul experience overall. Friendly cabin crew, good catering, comfortable seats, and an excellent IFE selection despite the dated cabin...",
  "reviewDate": "2026-06-30T20:47:55.018000Z",
  "updatedDate": "2026-07-07T08:17:40.958000Z",
  "dateFlown": "2026-06-19",
  "cabinClass": "economy",
  "origin": "Fort Worth International Airport, Dallas",
  "destination": "Zurich International Airport, Kloten",
  "aircraft": "Boeing 777",
  "flightNumber": "AA200",
  "reviewerName": "Kishan Patel",
  "reviewerId": "1f3c33a3-d2c3-4d9d-a71d-935563c38b28",
  "reviewerAvatarUrl": "https://cdn.airlineratings.com/avatars/1bmame.svg",
  "ratings": {
    "overall": 9.0,
    "valueForMoney": 4.0,
    "seatAndCabinSpace": 5.0,
    "customerService": 5.0,
    "inFlightEntertainment": 4.0,
    "baggageHandling": 5.0,
    "checkInProcess": 5.0,
    "mealsAndBeverages": 4.0,
    "recommendAirline": null
  },
  "imageUrls": [],
  "videoUrls": [],
  "commentCount": 0,
  "comments": [],
  "airlineSummary": { "...": "same as in the summary record below" }
}
```

#### Comment object (inside `comments[]`):

```json
{
  "commentId": "1039",
  "parentCommentId": null,
  "commentDate": "2026-05-31T12:43:36.914000Z",
  "text": "I am a Saudi citizen and the flight attendants treated me very well and provided me with all the services with respect. Thank you to all the Royal Jordanian staff.",
  "authorName": "Bader R",
  "authorId": "365917ac-4d13-4772-a55d-61f57fcfb614",
  "authorAvatarUrl": "https://lh3.googleusercontent.com/a/ACg8ocK3GdHgdTiFhvedxJNA7EpcZb4aZz0vbOdTJ0nM6-pRSoOfEQ=s96-c",
  "commentAs": "name",
  "respondingAirline": null,
  "respondingPartner": null,
  "voteScore": 0,
  "replyCount": 0,
  "replies": []
}
```

#### Summary record:

```json
{
  "recordType": "summary",
  "airlineSummary": {
    "airlineId": "american-airlines",
    "airlineName": "American Airlines",
    "iataCode": "AA",
    "country": "United States",
    "logoUrl": "https://cdn.airlineratings.com/uploads/American%20Airlines%20Logo.png",
    "startUrl": "https://www.airlineratings.com/airlines/american-airlines",
    "url": "https://www.airlineratings.com/airlines/american-airlines",
    "reviewsUrl": "https://www.airlineratings.com/airlines/american-airlines/reviews",
    "numberOfReviews": 760,
    "ratings": {
      "overall": 2.8,
      "safety": 7.0,
      "product": 5.0,
      "valueForMoney": 1.86,
      "seatAndCabinSpace": 2.53,
      "customerService": 2.19,
      "inFlightEntertainment": 2.22,
      "baggageHandling": 2.37,
      "checkInProcess": 2.5,
      "mealsAndBeverages": 2.42,
      "recommendAirlinePercentage": 13.4
    },
    "ratingDetails": [
      { "key": "safety", "label": "Safety", "value": 7.0, "maxValue": 7.0, "count": null, "type": "number" },
      { "key": "overall", "label": "Passenger rating", "value": 2.8, "maxValue": 10.0, "count": null, "type": "number" },
      { "key": "valueForMoney", "label": "Overall Value for Money", "value": 1.86, "maxValue": 5.0, "count": 713, "type": "number" },
      { "key": "recommendAirlinePercentage", "label": "Recommend Airline", "value": 13.4, "maxValue": 100.0, "count": 703, "type": "percentage" }
    ]
  }
}
```

> ℹ️ AirlineRatings uses a **10-point scale** for the overall passenger rating, a **5-point scale** for each review category and a **7-star scale** for its safety and product ratings. `ratingDetails` lists the scale (`maxValue`) and the number of ratings (`count`) behind every aggregated score.

***

## 🌍 Ideal Use Cases

- **Airline reputation monitoring** — Track passenger satisfaction, recommendation rates and category scores for your airline and competitors over time
- **Competitive benchmarking** — Compare value for money, seat comfort, service and catering across carriers, alliances and cabin classes
- **Route & product planning** — Find out which routes, aircraft and cabins generate the best and worst passenger experiences
- **Travel SEO & content teams** — Build airline comparison pages, "best airline for…" guides and review-rich landing pages
- **AI/LLM training** — Create high-quality aviation datasets for chatbots, recommendation engines and summarization models
- **Sentiment analysis** — Run NLP sentiment and topic classification on review texts and comment threads
- **OTA & metasearch integration** — Show airline ratings and authentic passenger feedback next to flight search results
- **Customer experience research** — Identify recurring pain points such as baggage handling, delays or customer service issues
- **Safety & product research** — Combine AirlineRatings safety and product ratings with passenger sentiment for risk and quality studies
- **Market intelligence** — Monitor how new aircraft, cabins or service changes affect passenger ratings

***

## 🚀 Integrations

**Platforms:**

- Apify API & Console
- Python (`apify-client`)
- Node.js
- Go
- Java

**Workflows:**

- Make.com (Integromat)
- Zapier
- Google Sheets
- Airtable
- Slack
- Discord webhooks
- Custom webhooks

**Data Warehouses:**

- Google BigQuery
- Snowflake
- Amazon Redshift
- AWS S3
- Azure Data Lake
- Airbyte

**AI/ML:**

- LangChain
- OpenAI / GPT
- Hugging Face
- Custom transformers & NLP pipelines

**Export Formats:**

- JSON (default)
- CSV
- Excel
- XML
- Parquet

***

## ⚡ Reliability & Performance

**Optimized for:**

- Stable production workloads
- Large-scale review extraction across many airlines
- Incremental, scheduled runs with `cutoffDate`
- Lightweight runs when detailed ratings and comments are switched off
- Webhook automation

***

## 📊 Data Quality

**Included Features:**

- ✅ Consistent rating keys across all airlines and reviews
- ✅ Every aggregated score comes with its scale and rating count
- ✅ ISO 8601 dates for reviews, updates, comments and flights
- ✅ Normalized cabin class values
- ✅ No duplicate reviews across pages
- ✅ Empty fields returned as `null` instead of empty strings
- ✅ Clean, readable review and comment text

***

## 👨‍💻 About the Author

Created by **[knagymate](https://apify.com/knagymate)** — specialized in high-performance Apify Actors for:

- Airline, hotel & travel review scraping
- SEO-optimized datasets
- AI-ready structured data
- Production-grade integrations

**Need custom solutions?**

- Enterprise scraping setups
- Private Actor modifications
- Custom integrations & webhooks
- Data pipeline optimization

👉 Contact via Apify marketplace.

***

## ⭐ Support & Feedback

If this Actor helps your project:

- ⭐ **Star** this repository (GitHub)
- 💬 **Leave a review** on the Apify marketplace
- 📧 **Report issues** or request features

Your feedback helps improve this tool for the community!

# Actor input Schema

## `startUrls` (type: `array`):

One or more AirlineRatings airline URLs to scrape passenger reviews from, e.g. https://www.airlineratings.com/airlines/american-airlines or https://www.airlineratings.com/airlines/american-airlines/reviews.

## `maxReviewsPerAirline` (type: `integer`):

Maximum number of reviews to scrape per airline. Set to 0 or leave empty for unlimited.

## `cutoffDate` (type: `string`):

Only include reviews published on or after this date. Format: YYYY-MM-DD. Leave empty to scrape all reviews.

## `sortBy` (type: `string`):

Order in which reviews are scraped.

## `cabin` (type: `string`):

Only scrape reviews of flights in this cabin class. Leave empty to scrape reviews of all cabin classes.

## `includeDetailedRatings` (type: `boolean`):

Add the per-category ratings of each review (value for money, seat and cabin space, customer service, in-flight entertainment, baggage handling, check-in, meals and beverages) and the flight number.

## `includeComments` (type: `boolean`):

Add the comments (and their replies) that other travelers or airlines posted under each review.

## `alwaysReturnSummary` (type: `boolean`):

Push a summary record with the aggregated airline ratings even if no reviews are found matching the criteria.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.airlineratings.com/airlines/american-airlines"
    }
  ],
  "maxReviewsPerAirline": 100,
  "sortBy": "recent",
  "includeDetailedRatings": true,
  "includeComments": true,
  "alwaysReturnSummary": true
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.airlineratings.com/airlines/american-airlines"
        }
    ],
    "maxReviewsPerAirline": 100,
    "includeDetailedRatings": true,
    "includeComments": true,
    "alwaysReturnSummary": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("knagymate/airline-ratings-reviews-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://www.airlineratings.com/airlines/american-airlines" }],
    "maxReviewsPerAirline": 100,
    "includeDetailedRatings": True,
    "includeComments": True,
    "alwaysReturnSummary": True,
}

# Run the Actor and wait for it to finish
run = client.actor("knagymate/airline-ratings-reviews-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.airlineratings.com/airlines/american-airlines"
    }
  ],
  "maxReviewsPerAirline": 100,
  "includeDetailedRatings": true,
  "includeComments": true,
  "alwaysReturnSummary": true
}' |
apify call knagymate/airline-ratings-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,knagymate/airline-ratings-reviews-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nVTM38qKPlmv1NZeg/builds/ksPJArVXsdCBK7Ptz/openapi.json
