# IHG Hotels Scraper - Rates, Amenities, Guest Reviews (`rl1987/ihg-hotel-api-scraper`) Actor

IHG Hotels & Resorts hotels and guest reviews in structured rows: city, landmark or postcode search, or properties by IHG code (LONLS, PARHR). Hotel rows carry availability, stay and nightly rates, rate plans, amenities and up to 40 photos; review rows carry ratings and text. See the Pricing tab.

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

## Pricing

from $4.00 / 1,000 hotel rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## IHG Hotels Scraper - Rates, Profiles, Reviews

Get IHG hotels for a destination or a list of property codes, with the cash rates for your dates, the property profile behind each rate, and guest reviews as separate rows. The Actor calls the public guest endpoints used by the IHG One Rewards app, with no user sign-in or credential in the input. Output arrives in two dataset views: `hotels` with 51 fields and `reviews` with 20 fields. `recordType` says `hotel` or `review`, and `hotelCode` is present on both, so review rows join back to their property. Field counts and defaults below were read from the Actor's dataset and input schemas on 2026-11-22.

Data dictionary (all fields, types and descriptions): https://keyspace.dev/data-dictionaries/ihg/index.html

### What does this Actor return?

Two dataset views, one row kind each:

| Dataset view | Row kind | Fields | What the row holds |
| --- | --- | --- | --- |
| `hotels` | `hotel` | 51 | Property code and name, IHG brand, address and coordinates, availability for the stay, whole-stay and nightly cash rates, rate plans, room types, amenities, policies and photo URLs |
| `reviews` | `review` | 20 | Review title and text, overall rating out of 5, five sub-ratings, recommendation flag, reviewer nickname and location, stay and checkout dates, provenance |

The hotel slice splits into named groups you can select from the row rather than parsing text:

- **Identity and place:** `hotelCode`, `hotelName`, `brandName`, `brandCode`, `chainCode`, `addressLine1`, `city`, `postalCode`, `countryName`, `countryCode`, `latitude`, `longitude`, `distanceKm`, `phone`, `email`, `website`, `hotelType`, `roomsCount`, `description`, `searchLocation`.
- **Rates for the requested stay:** `availabilityStatus`, `currency`, `lowestRate`, `lowestRateAfterTax`, `highestRate`, `highestRateAfterTax`, `stayTotalBeforeTax`, `taxesAndFees`, `stayTotalAfterTax`, `lowestRatePlanCode`, `lowestRatePlanType`, `isRefundable`, `cancellationPolicy`, `nightlyRates`, `highestNightlyRates`, `rateOffers`, `availableRoomTypeCount`, `stayCheckIn`, `stayCheckOut`.
- **Rate plan and offer detail:** `ratePlans` has one object per priced fare with `ratePlanCode`, `lowestNightlyRate`, `highestNightlyRate` and IHG's own `description` of the fare. `rateOffers` holds up to 20 `{ratePlanCode, roomType, stayTotalAfterTax}` objects. `nightlyRates` and `highestNightlyRates` hold one `{date, amount, currency}` object for each night of the stay.
- **Profile and facilities:** `roomTypes`, `checkInTime`, `checkOutTime`, `minCheckInAge`, `petsAllowed`, `amenities`, `primaryPhotoUrl`, `photoUrls` (up to 40 URLs), `brandName`, `chainCode`.
- **Reviews:** `reviewTitle`, `reviewText`, `rating`, `isRecommended`, `reviewerNickname`, `reviewerLocation`, `memberStatus`, `dateOfExperience`, `checkoutDate`, `ratingCleanliness`, `ratingRoomComfort`, `ratingSleepQuality`, `ratingStaffService`, `ratingValue`, `pros`, `cons`.
- **Provenance on every row:** `scrapedAt` (UTC delivery time) and `provenance` (source build and row kind).

Only `recordType` and `hotelCode` are required by the dataset schema; other columns can be null. The repository's example hotel row carries `scrapedAt` 2026-11-19T08:01:00Z and `provenance` `vmYqtHoaq1myyhHGY@0.1.6 hotel`.

The full field list for both views is in the data dictionary: https://keyspace.dev/data-dictionaries/ihg/index.html

### Which modes and places can I query?

| Input mode | Field to set | Example values | What happens |
| --- | --- | --- | --- |
| `search` (default) | `destination` | `London`, `Shoreditch, London`, `Heathrow Airport`, a postcode | IHG's own location lookup resolves the text, then the Actor searches around those coordinates; the resolved place is written to `searchLocation` on every row |
| `hotels` | `hotelCodes` | `LONLS`, `PARHR`, `NYCMH` | Exact property codes, no destination lookup; an unknown code returns no row for that code instead of failing the run |

The location fixture in the repository resolves `London` to `London, United Kingdom` at latitude 51.506321 and longitude -0.12714. The offer fixture covers `LONLS`, brand code `INDG`, `availabilityStatus` `OPEN`, currency `GBP`, 0.56 km from that resolved place, with rate plan codes `IDMEP` and `IKMEP` in the response. The repository's profile fixture names that property Hotel Indigo at 1 Leicester Square and gives chain code `IN`, brand code `INDG` and brand name `Hotel Indigo`. A review fixture for the same code records `dateOfExperience` values of 2026-11-14, 2026-11-13 and 2026-11-10. Rows carry the brand IHG returns, so the brand column is data you filter on, not an input setting.

Search mode takes a straight-line `radiusKm` from 1 to 200, default 25. Results come back nearest first, so `maxHotels` (default 0, meaning no cap) keeps the N closest hotels rather than the N with the lowest rates.

### How do I choose the stay and occupancy?

`checkIn` and `checkOut` are ISO dates (`YYYY-MM-DD`), and the checkout must be later than the check-in. One stay can cover at most 30 nights. A past check-in, or only one of the two dates, is rejected in input validation before a request is made.

Leave both dates empty and Search mode prices a stay starting 7 days from the day the run starts, ending 2 nights later; the run logs that default. Hotel codes mode with no dates returns property profiles with no prices. Dates are resolved when the run starts, so a scheduled run prices the week-out stay rather than a date fixed in the input.

`adults` runs from 1 to 9 (default 2), `children` from 0 to 8 (default 0) and `rooms` from 1 to 5 (default 1). The values are sent with the search and affect which hotels have availability and what the quote shows. Child pricing and extra-bed rules stay with the hotel; they are not part of the returned rate.

### What can I leave out or cap?

| Input | Default | Effect |
| --- | --- | --- |
| `includeHotelDetails` | `true` | Adds the hotel's profile page: name, address, brand, coordinates, contacts, check-in/out, amenities, room classes and up to 40 photo URLs. This is one extra request for each hotel. With it off, profile columns stay null and rows carry the code, rate summary and distance. |
| `maxReviewsPerHotel` | 0 | 0 returns hotel rows only. From 1 to 200, review rows are collected for each hotel, most recent first, as their own rows joined by `hotelCode`. Reviews come from the profile step, so with profile details off they are skipped and the run logs a warning; Hotel codes runs without dates fetch profiles and can still return reviews. |
| `maxHotels` | 0 (all) | Caps the hotels taken from one destination search, nearest first. |
| `maxItems` | 0 (no limit) | Stops delivery after that many rows, counted after de-duplication. |
| `maxConcurrency` | 5 | Parallel requests, from 1 to 20. |
| `maxRequestRetries` | 4 | Retries for a failed request, 0 to 10. |
| `maxSessionRotations` | 10 | Retries for 401/403/429 responses with a fresh session and proxy, 0 to 20. |
| `proxyConfiguration` | Apify Proxy on | Egress for every request; residential proxies are an option when an edge challenge appears. |

Requests that still fail after retries are recorded in a `failed-requests` dataset with `url`, `errorType` and `errorMessage`. De-duplication happens before a row is delivered: hotel rows are keyed by `hotelCode`, review rows by `hotelCode`, reviewer nickname, stay date and the first 80 characters of title and text.

### What are the limits of the data?

- **Cash rates only.** The Actor runs without a signed-in session. It does not return IHG One Rewards award-night prices or rates that require a member login, and a signed-in member can see a different quote.
- **Whole-stay figures, not nightly figures.** `lowestRate` and `highestRate` are totals across the stay; `nightlyRates` breaks the lowest-rate offer into one entry per night. In tax-inclusive markets such as the UK, the quoted rate already contains tax, so `lowestRate` can equal `lowestRateAfterTax`. Use `stayTotalBeforeTax + taxesAndFees = stayTotalAfterTax` for the exact split.
- **Closed or restricted properties carry no price.** A hotel sold out for the dates, closed, or bound by a length-of-stay rule can still ship a profile row with empty price columns. `availabilityStatus` is `OPEN` or `CLOSED` for the requested stay. A search that skips hotels with no bookable rate says how many were skipped in the run status message.
- **Some review fields are often empty.** `pros`, `cons`, `memberStatus` and `checkoutDate` appear only when IHG sends them; all four were null across the live sample noted in the dataset schema.
- **Unresolved input returns no rows.** A destination IHG cannot place, an area with no IHG hotel inside the radius, or an unknown property code produces no rows and a status message explaining it, rather than a failed run.
- **Read-only.** The Actor quotes and reads; it does not book, hold or change a reservation.

Charges are tied to three events named in the Actor's pricing configuration: `hotel-row`, `hotel-detail` and `review-row`. See the Pricing tab on the Store listing.

### What do people ask about IHG hotel data?

**Do I need an IHG account or my own API key?** No. The Actor uses the public guest endpoints and carries the app's own request headers; the input schema has no credential field. An IHG One Rewards sign-in is not part of the run.

**Can I schedule a run?** Yes. If you leave the dates empty, the stay is computed at run start as today+7 to today+9, so a scheduled run always prices a week out. If you fix the dates in the input, those dates are used until you change them.

**What does one hotel row contain?** Up to 51 columns: code, name, brand and chain, address, coordinates, distance from the searched place, availability, currency, lowest and highest whole-stay rates, tax split, rate plan codes, refundability, cancellation wording, per-night rates, up to 20 bookable offers, room types, amenities, check-in/out times and up to 40 photo URLs, plus `scrapedAt` and `provenance`.

**How do reviews join to hotels?** Both row kinds carry `hotelCode`. Set `maxReviewsPerHotel` to a value from 1 to 200 to get review rows alongside hotel rows; the review view adds the rating, five sub-ratings, reviewer nickname and location, and the stay date.

**Does it collect member or points prices?** No. Only cash rates from the anonymous guest flow are returned. Reward-night redemptions are excluded from the lowest-rate columns.

**What happens if a destination or hotel code does not match?** The run ends without rows for it and writes a status message identifying the empty match. It does not fail on the bad code, and it does not substitute a nearby property.

**Where are the full input and output schemas?** The data dictionary with all 67 fields, both dataset views and their display columns is at https://keyspace.dev/data-dictionaries/ihg/index.html; the run inputs are the fields listed in the Store's Input tab.

# Actor input Schema

## `mode` (type: `string`):

Search by destination resolves a place name with IHG's own location lookup and returns the hotels around it. Hotel codes prices specific properties by their IHG code (e.g. LONLS = Hotel Indigo London Leicester Square).

## `destination` (type: `string`):

Place to search around, exactly as you would type it into the IHG app: a city ('London'), a district ('Shoreditch, London'), a landmark ('Heathrow Airport') or a postcode. IHG's own lookup picks the match and the resolved place is written to every hotel row in 'searchLocation'.

## `hotelCodes` (type: `array`):

One or more IHG property codes, as shown in the hotel's IHG URL - e.g. LONLS, PARHR, NYCMH. Codes are matched exactly; a code that does not exist returns no row rather than an error.

## `checkIn` (type: `string`):

First night of the stay, as YYYY-MM-DD. Rates are quoted for this stay only. Leave both date fields empty and Search mode prices a stay starting 7 days from today (a note is logged); Hotel codes mode then returns profiles without prices.

## `checkOut` (type: `string`):

Departure date, as YYYY-MM-DD, later than check-in. The stay may be at most 30 nights.

## `adults` (type: `integer`):

Adults per room, 1-9. Only hotels that can take this occupancy come back with a price.

## `children` (type: `integer`):

Children per room, 0-8. Child pricing and extra-bed rules are the hotel's own and are not included in the quoted rate.

## `rooms` (type: `integer`):

Number of rooms to price, 1-5. Rates are per room; multiply for a multi-room stay.

## `radiusKm` (type: `integer`):

Straight-line radius around the resolved place, 1-200 km. 25 km covers a city and its airports; a small radius can legitimately return no hotels at all.

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

Adds the hotel's own profile page to each row: name, street address, brand, coordinates, phone, check-in/out times, amenities, room classes and up to 40 photo URLs. This takes one extra request per hotel and bills a 'Hotel detail enrichment' event on top of the hotel row. Turn it off for a cheaper one-request-per-stay price list, where rows carry only the code, price range and distance.

## `maxReviewsPerHotel` (type: `integer`):

How many guest reviews to collect for each hotel, most recent first, 0-200. Each review is delivered and billed as its own row; 0 returns hotel rows only. Reviews are read from each hotel's profile, so they need 'Add hotel profile details' on (a Hotel codes run left without dates fetches profiles automatically); with details off, reviews are skipped and the run says so.

## `maxHotels` (type: `integer`):

Cap the number of hotels taken from one destination search, 0 = all of them. The API returns hotels nearest-first, so the cap keeps the N closest to the resolved place - a central London search at the default 25 km radius returns around 60. Some of the nearest hotels can be CLOSED for your dates (no price); raise the cap, or narrow the radius, to focus the run.

## `maxItems` (type: `integer`):

Stop after this many rows have been DELIVERED (0 = no limit). Counted after de-duplication, so it limits what you receive and pay for, not what the API returned.

## `maxConcurrency` (type: `integer`):

Requests processed in parallel, 1-20. Higher finishes faster; 5 is comfortably inside the API's tolerance.

## `maxRequestRetries` (type: `integer`):

Retries per request before it is marked failed (a record of it lands in the 'failed-requests' dataset).

## `maxSessionRotations` (type: `integer`):

Retries for a blocked or rate-limited status code (401/403/429), each with a fresh session and proxy. Separate budget from maxRequestRetries.

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

Egress for every request. Apify Proxy is on by default; residential is the safe choice if IHG's edge starts answering datacenter IPs with a challenge.

## Actor input object example

```json
{
  "mode": "search",
  "destination": "London",
  "adults": 2,
  "children": 0,
  "rooms": 1,
  "radiusKm": 25,
  "includeHotelDetails": true,
  "maxReviewsPerHotel": 0,
  "maxHotels": 0,
  "maxItems": 0,
  "maxConcurrency": 5,
  "maxRequestRetries": 4,
  "maxSessionRotations": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Every delivered row: property rows have recordType 'hotel', review rows 'review'.

# 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 = {
    "destination": "London"
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/ihg-hotel-api-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 = { "destination": "London" }

# Run the Actor and wait for it to finish
run = client.actor("rl1987/ihg-hotel-api-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 '{
  "destination": "London"
}' |
apify call rl1987/ihg-hotel-api-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rl1987/ihg-hotel-api-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/vmYqtHoaq1myyhHGY/builds/uazE4PSmOV6asfLaO/openapi.json
