# MakeMyTrip Hotel Reviews Scraper (`shahidirfan/makemytrip-hotel-reviews-scraper`) Actor

Scrape hotel reviews, ratings & guest feedback from India's largest travel platform. Extract review text, scores, dates, guest details & hotel metadata. Ideal for sentiment analysis, competitor intelligence, hospitality market research & travel trend datasets.

- **URL**: https://apify.com/shahidirfan/makemytrip-hotel-reviews-scraper.md
- **Developed by:** [Shahid Irfan](https://apify.com/shahidirfan) (community)
- **Categories:** Travel, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## MakeMyTrip Hotel Reviews Scraper

Extract MakeMyTrip hotel reviews into a clean dataset for guest feedback analysis, travel research, and reputation monitoring. Collect review text, ratings, traveler context, stay details, hotel metadata, and guest image links in an automated run.

### Features

- **Hotel URL input** - Start with a MakeMyTrip hotel detail URL, including URLs with extra query parameters
- **Hotel ID fallback** - Run with a raw hotel ID when you already know the property identifier
- **Paginated review collection** - Gather multiple review pages until your chosen review limit is reached
- **Clean review rows** - Save deduplicated records with blank and null values removed
- **Hotel-level context** - Include hotel name, category, rating summary, city, and country when available

### Use Cases

#### Travel Research
Compare real guest experiences before booking, recommending, or packaging a property. Review room feedback, stay dates, traveler types, and recurring praise or complaints.

#### Reputation Monitoring
Track how travelers describe cleanliness, service, location, amenities, and overall satisfaction over time.

#### Competitor Analysis
Compare review volume, ratings, room comments, and traveler segments across competing hotels.

#### Content and Operations
Summarize guest comments for internal teams, listing updates, or service training.

---

### Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `hotelUrl` | String | No | Example MakeMyTrip hotel URL | Preferred input; paste a MakeMyTrip hotel detail page URL |
| `hotelId` | String | No | - | Optional fallback when you want to target a hotel by ID |
| `resultsWanted` | Integer | No | `20` | Maximum number of reviews to collect per hotel |
| `maxPages` | Integer | No | `2` | Maximum review pages to request per hotel |
| `sortBy` | String | No | `"Latest first"` | Review order; `Latest first` or `Relevance` |
| `includeHotelDetails` | Boolean | No | `true` | Include hotel metadata and rating summary when available |
| `proxyConfiguration` | Object | No | Apify proxy settings | Optional proxy settings for hosted runs |

---

### Output Data

Each item in the dataset contains one hotel review row.

| Field | Type | Description |
|-------|------|-------------|
| `hotelId` | String | MakeMyTrip hotel identifier |
| `hotelUrl` | String | Source hotel detail URL |
| `hotelName` | String | Hotel name when available |
| `hotelCategory` | String | Hotel category label when available |
| `cityCode` | String | MakeMyTrip city code from the input URL |
| `countryCode` | String | Country code from the input URL |
| `overallRating` | Number | Hotel-level rating summary |
| `totalRatingCount` | Number | Total rating count when available |
| `ratingText` | String | Hotel-level rating label |
| `reviewPage` | Number | Review page where the item was collected |
| `reviewPosition` | Number | Review position in the run |
| `publishDate` | String | Review publish date |
| `travellerName` | String | Traveler name shown with the review |
| `title` | String | Review title |
| `rating` | Number | Individual review rating |
| `reviewText` | String | Main review content |
| `reviewId` | String | Unique review identifier |
| `travelType` | String | Traveler segment, such as family, couple, or business |
| `roomType` | String | Referenced room type |
| `stayDetails` | String | Stay month and duration details |
| `images` | Array | Review image URLs and tags when present |

---

### Usage Examples

#### Basic Hotel URL Extraction

```json
{
    "hotelUrl": "https://www.makemytrip.global/hotels/hotel-details/?hotelId=201812271734543128&_uCurrency=SGD&checkin=07012026&checkout=07022026&city=CTDUB&country=UNI&locusId=CTDUB&locusType=city&searchText=Dubai",
    "resultsWanted": 20
}
````

#### Hotel ID Only Run

```json
{
    "hotelId": "201812271734543128",
    "resultsWanted": 20,
    "maxPages": 2
}
```

#### Relevance Sorting

```json
{
    "hotelUrl": "https://www.makemytrip.global/hotels/hotel-details/?hotelId=201812271734543128&city=CTDUB&country=UNI&locusId=CTDUB&locusType=city",
    "resultsWanted": 30,
    "maxPages": 3,
    "sortBy": "Relevance"
}
```

***

### Sample Output

```json
{
    "hotelId": "201812271734543128",
    "hotelName": "Hilton Dubai Al Habtoor City",
    "hotelCategory": "LUXE",
    "cityCode": "CTDUB",
    "countryCode": "UNI",
    "overallRating": 4.4,
    "totalRatingCount": 2498,
    "ratingText": "Excellent",
    "reviewPage": 1,
    "publishDate": "May 16, 2026",
    "travellerName": "Arjun Pahwa",
    "title": "Central Location and good Sports-Bar",
    "rating": 5,
    "reviewText": "Great Hotel with a central location and has a great roof top Sports-Bar. Also good views of the Canal",
    "reviewId": "01KRRV7B4TD66JC416WD8AZVB6",
    "travelType": "BUSINESS",
    "roomType": "Twin Guest Room",
    "stayDetails": "May 2026 (3-Night Stay)"
}
```

***

### Tips for Best Results

#### Prefer Full Hotel URLs

- Full hotel URLs usually carry city, country, currency, and search context

#### Start With Smaller Runs

- Test with `resultsWanted` between 10 and 20 first
- Increase `maxPages` only when you need deeper history

#### Review Missing Optional Fields

- Empty optional values are removed from each saved row

***

### Integrations

Connect your data with:

- **Google Sheets** - Export hotel reviews for spreadsheet analysis
- **Airtable** - Build searchable review databases
- **Webhooks** - Send fresh review rows into internal systems

#### Export Formats

- **JSON** - For developers and data pipelines
- **CSV** - For spreadsheet analysis
- **Excel** - For reporting and sharing

***

### Frequently Asked Questions

#### Can I use any MakeMyTrip hotel URL?

Yes. The actor is designed for MakeMyTrip hotel detail URLs, including links with extra query parameters.

#### How many reviews can I collect?

You can collect reviews up to your chosen `resultsWanted` and `maxPages` limits.

#### Why are some fields missing from a row?

Some optional fields are only available on certain reviews. Empty optional values are removed so the dataset stays clean.

#### Are duplicate reviews saved?

No. The actor deduplicates review rows by review identifier and fallback review content keys.

***

### Support

For issues or feature requests, contact support through the Apify Console.

#### Resources

- [Apify Documentation](https://docs.apify.com/)
- [API Reference](https://docs.apify.com/api/v2)
- [Scheduling Runs](https://docs.apify.com/schedules)

***

### Legal Notice

This actor is designed for legitimate data collection purposes. Users are responsible for ensuring compliance with website terms of service and applicable laws. Use data responsibly and respect rate limits.

# Actor input Schema

## `hotelUrl` (type: `string`):

Preferred input. Paste any MakeMyTrip hotel details URL, even if it contains extra query params.

## `hotelId` (type: `string`):

Optional fallback when you do not want to pass a hotel URL.

## `resultsWanted` (type: `integer`):

Maximum number of review rows to save per hotel.

## `maxPages` (type: `integer`):

Maximum review pages to request per hotel.

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

Review order used by the internal API.

## `includeHotelDetails` (type: `boolean`):

Fetch optional hotel metadata such as hotel name, category, and aggregate ratings.

## `proxyConfiguration` (type: `object`):

Apify proxy settings. Residential proxy is recommended because MakeMyTrip blocks direct datacenter and no-proxy traffic.

## Actor input object example

```json
{
  "hotelUrl": "https://www.makemytrip.global/hotels/hotel-details/?hotelId=201812271734543128&_uCurrency=SGD&checkin=07012026&checkout=07022026&city=CTDUB&country=UNI&lat=25.18449&lng=55.25523&locusId=CTDUB&locusType=city&rank=2&regionNearByExp=3&roomStayQualifier=2e0e&rsc=1e2e0e&searchText=Dubai&viewType=LUXE&mtkeys=undefined",
  "resultsWanted": 20,
  "maxPages": 2,
  "sortBy": "Latest first",
  "includeHotelDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "hotelUrl": "https://www.makemytrip.global/hotels/hotel-details/?hotelId=201812271734543128&_uCurrency=SGD&checkin=07012026&checkout=07022026&city=CTDUB&country=UNI&lat=25.18449&lng=55.25523&locusId=CTDUB&locusType=city&rank=2&regionNearByExp=3&roomStayQualifier=2e0e&rsc=1e2e0e&searchText=Dubai&viewType=LUXE&mtkeys=undefined",
    "resultsWanted": 20,
    "maxPages": 2,
    "sortBy": "Latest first",
    "includeHotelDetails": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("shahidirfan/makemytrip-hotel-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 = {
    "hotelUrl": "https://www.makemytrip.global/hotels/hotel-details/?hotelId=201812271734543128&_uCurrency=SGD&checkin=07012026&checkout=07022026&city=CTDUB&country=UNI&lat=25.18449&lng=55.25523&locusId=CTDUB&locusType=city&rank=2&regionNearByExp=3&roomStayQualifier=2e0e&rsc=1e2e0e&searchText=Dubai&viewType=LUXE&mtkeys=undefined",
    "resultsWanted": 20,
    "maxPages": 2,
    "sortBy": "Latest first",
    "includeHotelDetails": True,
}

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

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

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

```

## CLI example

```bash
echo '{
  "hotelUrl": "https://www.makemytrip.global/hotels/hotel-details/?hotelId=201812271734543128&_uCurrency=SGD&checkin=07012026&checkout=07022026&city=CTDUB&country=UNI&lat=25.18449&lng=55.25523&locusId=CTDUB&locusType=city&rank=2&regionNearByExp=3&roomStayQualifier=2e0e&rsc=1e2e0e&searchText=Dubai&viewType=LUXE&mtkeys=undefined",
  "resultsWanted": 20,
  "maxPages": 2,
  "sortBy": "Latest first",
  "includeHotelDetails": true
}' |
apify call shahidirfan/makemytrip-hotel-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=shahidirfan/makemytrip-hotel-reviews-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "MakeMyTrip Hotel Reviews Scraper",
        "description": "Scrape hotel reviews, ratings & guest feedback from India's largest travel platform. Extract review text, scores, dates, guest details & hotel metadata. Ideal for sentiment analysis, competitor intelligence, hospitality market research & travel trend datasets.",
        "version": "0.0",
        "x-build-id": "RKfS4NkJ0HFGzj09J"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/shahidirfan~makemytrip-hotel-reviews-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-shahidirfan-makemytrip-hotel-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/shahidirfan~makemytrip-hotel-reviews-scraper/runs": {
            "post": {
                "operationId": "runs-sync-shahidirfan-makemytrip-hotel-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/shahidirfan~makemytrip-hotel-reviews-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-shahidirfan-makemytrip-hotel-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "hotelUrl": {
                        "title": "Hotel URL",
                        "type": "string",
                        "description": "Preferred input. Paste any MakeMyTrip hotel details URL, even if it contains extra query params."
                    },
                    "hotelId": {
                        "title": "Hotel ID",
                        "type": "string",
                        "description": "Optional fallback when you do not want to pass a hotel URL."
                    },
                    "resultsWanted": {
                        "title": "Results wanted",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of review rows to save per hotel.",
                        "default": 20
                    },
                    "maxPages": {
                        "title": "Max pages",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum review pages to request per hotel.",
                        "default": 2
                    },
                    "sortBy": {
                        "title": "Sort by",
                        "enum": [
                            "Latest first",
                            "Relevance"
                        ],
                        "type": "string",
                        "description": "Review order used by the internal API.",
                        "default": "Latest first"
                    },
                    "includeHotelDetails": {
                        "title": "Include hotel details",
                        "type": "boolean",
                        "description": "Fetch optional hotel metadata such as hotel name, category, and aggregate ratings.",
                        "default": true
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify proxy settings. Residential proxy is recommended because MakeMyTrip blocks direct datacenter and no-proxy traffic.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
