# Priceline Hotels Scraper (`shahidirfan/priceline-hotels-scraper`) Actor

Scrape real-time hotel prices, availability, ratings & booking links from Priceline globally. Perfect for price monitoring, competitor analysis, travel analytics & hospitality research. Get structured, ETL-ready data for market intelligence & AI datasets.

- **URL**: https://apify.com/shahidirfan/priceline-hotels-scraper.md
- **Developed by:** [Shahid Irfan](https://apify.com/shahidirfan) (community)
- **Categories:** Travel, E-commerce, 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

## Priceline Hotels Listings Scraper

Extract hotel search data from Priceline listings pages in a clean dataset. Collect hotel names, prices, locations, ratings, amenities, images, and total available hotel counts for travel research and price monitoring.

### Features

- **Listings URL support** - Start from a Priceline hotel search URL with destination, dates, rooms, and guests.
- **Destination or keyword input** - Run searches with a destination ID or keyword when you do not have a full URL.
- **Pagination controls** - Use `results_wanted` and `max_pages` to control collection size.
- **Rich hotel fields** - Gather pricing, location, amenities, images, review summaries, brand data, and search totals.
- **Clean dataset** - Duplicate hotels and empty values are removed from saved records.

---

### Use Cases

#### Hotel Price Monitoring
Track nightly prices and stay totals for selected destinations. Use the data to compare availability and pricing across travel dates.

#### Market Research
Build datasets for city-level hotel supply, star levels, neighborhoods, amenities, and brand coverage. Compare what appears in search results for different destinations.

#### Competitive Analysis
Analyze competing hotels by price, review count, rating categories, location, and cancellation labels. Export results for reporting or enrichment.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `startUrl` | String | No | - | Priceline `/relax-ui/listings` search URL |
| `destination` | String | No | - | Destination ID or keyword used when `startUrl` is empty |
| `checkIn` | String | No | - | Check-in date in `YYYY-MM-DD` or `YYYYMMDD` format |
| `checkOut` | String | No | - | Check-out date in `YYYY-MM-DD` or `YYYYMMDD` format |
| `rooms` | Integer | No | `1` | Number of rooms |
| `adults` | Integer | No | `2` | Number of adult guests |
| `results_wanted` | Integer | No | `20` | Maximum hotel listings to collect |
| `max_pages` | Integer | No | `5` | Maximum listing pages to request |
| `proxyConfiguration` | Object | No | Apify Proxy | Proxy settings |

---

### Output Data

| Field | Type | Description |
|-------|------|-------------|
| `hotel_id` | String | Priceline hotel ID |
| `hotel_name` | String | Hotel name |
| `hotel_url` | String | Priceline hotel detail URL |
| `city` | String | Hotel city |
| `neighborhood` | String | Neighborhood name |
| `latitude` | Number | Hotel latitude |
| `longitude` | Number | Hotel longitude |
| `star_level` | String | Star level text |
| `review_count_label` | String | Review count label |
| `review_score_cleanliness` | Number | Cleanliness score when available |
| `review_score_location` | Number | Location score when available |
| `min_price_formatted` | String | Displayed minimum price |
| `grand_total_formatted` | String | Displayed total stay price |
| `cancellation_policy` | String | Cancellation policy label |
| `amenities` | Array | Amenity names |
| `primary_image_url` | String | Main hotel image |
| `total_available_hotels` | Number | Total hotels available for the search |

---

### Usage Examples

#### Search by Listings URL

Collect 20 listings from a Priceline search page:

```json
{
  "startUrl": "https://www.priceline.com/relax-ui/listings?destination=3000035825&checkIn=20260716&checkOut=20260801&rooms=1&adults=2",
  "results_wanted": 20
}
````

#### Search by Destination ID

Use a destination ID with dates:

```json
{
  "destination": "3000035825",
  "checkIn": "2026-07-16",
  "checkOut": "2026-08-01",
  "rooms": 1,
  "adults": 2,
  "results_wanted": 50,
  "max_pages": 3
}
```

#### Search by Keyword

Use a keyword when you do not have a destination ID:

```json
{
  "destination": "London",
  "checkIn": "2026-07-16",
  "checkOut": "2026-08-01",
  "results_wanted": 20
}
```

***

### Sample Output

```json
{
  "hotel_id": "326303",
  "hotel_name": "Example Central London Hotel",
  "hotel_url": "https://www.priceline.com/relax/at/326303",
  "source_url": "https://www.priceline.com/relax-ui/listings?destination=3000035825&checkIn=20260716&checkOut=20260801&rooms=1&adults=2",
  "city": "London",
  "country_code": "GB",
  "neighborhood": "Westminster",
  "latitude": 51.5072,
  "longitude": -0.1276,
  "star_level": "4-star hotel",
  "review_count_label": "5,108 Reviews",
  "review_score_cleanliness": 8.1,
  "review_score_location": 9.2,
  "min_price_formatted": "$214",
  "grand_total_formatted": "$3,424",
  "cancellation_policy": "Free cancellation",
  "amenities": ["Free Internet", "Restaurant", "Fitness Center"],
  "primary_image_url": "https://images.example.com/hotel.jpg",
  "total_available_hotels": 842
}
```

***

### Tips for Best Results

#### Start With Small Runs

- Use `results_wanted: 20` for testing.
- Increase result limits after confirming the destination returns enough hotels.

#### Match Dates and Guests

- Provide check-in and check-out dates when using `destination`.
- Use realistic room and adult counts.

#### Proxy Configuration

Residential proxies are recommended:

```json
{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

***

### Integrations

Connect your data with:

- **Google Sheets** - Review hotel pricing
- **Airtable** - Build hotel databases
- **Webhooks** - Send results to your system
- **Make** - Automate reporting
- **Zapier** - Trigger exports

#### Export Formats

- **JSON** - For data pipelines
- **CSV** - For spreadsheets
- **Excel** - For reporting

***

### Frequently Asked Questions

#### Can I scrape a Priceline search URL directly?

Yes, provide a Priceline `/relax-ui/listings` URL in `startUrl` and the actor will use its destination, date, room, and guest values.

#### Can I use a destination ID instead of a URL?

Yes, provide `destination`, `checkIn`, and `checkOut` when you do not have a full listings URL.

#### Does it collect hotel reviews?

No, this actor collects hotel listing and search result data. Use a dedicated review actor for guest review text.

#### Why are some fields missing?

Some fields are omitted when Priceline does not provide them for a hotel or search result.

#### How many hotels can I collect?

You can collect up to your `results_wanted` and `max_pages` limits, as long as the destination has enough available listings.

***

### 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

## `startUrl` (type: `string`):

Priceline hotel listings URL, for example a /relax-ui/listings URL with destination, dates, rooms, and adults.

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

Destination ID or search keyword. Used when Start URL is empty.

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

Check-in date in YYYY-MM-DD or YYYYMMDD format.

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

Check-out date in YYYY-MM-DD or YYYYMMDD format.

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

Number of rooms.

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

Number of adult guests.

## `results_wanted` (type: `integer`):

Maximum number of hotel listings to save.

## `max_pages` (type: `integer`):

Maximum listing pages to request.

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

Optional proxy settings for Priceline requests.

## Actor input object example

```json
{
  "startUrl": "https://www.priceline.com/relax-ui/listings?destination=3000035825&checkIn=20260716&checkOut=20260801&rooms=1&adults=2",
  "destination": "3000035825",
  "checkIn": "2026-07-16",
  "checkOut": "2026-08-01",
  "rooms": 1,
  "adults": 2,
  "results_wanted": 20,
  "max_pages": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "startUrl": "https://www.priceline.com/relax-ui/listings?destination=3000035825&checkIn=20260716&checkOut=20260801&rooms=1&adults=2",
    "destination": "3000035825",
    "checkIn": "2026-07-16",
    "checkOut": "2026-08-01",
    "rooms": 1,
    "adults": 2,
    "results_wanted": 20,
    "max_pages": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("shahidirfan/priceline-hotels-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 = {
    "startUrl": "https://www.priceline.com/relax-ui/listings?destination=3000035825&checkIn=20260716&checkOut=20260801&rooms=1&adults=2",
    "destination": "3000035825",
    "checkIn": "2026-07-16",
    "checkOut": "2026-08-01",
    "rooms": 1,
    "adults": 2,
    "results_wanted": 20,
    "max_pages": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("shahidirfan/priceline-hotels-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 '{
  "startUrl": "https://www.priceline.com/relax-ui/listings?destination=3000035825&checkIn=20260716&checkOut=20260801&rooms=1&adults=2",
  "destination": "3000035825",
  "checkIn": "2026-07-16",
  "checkOut": "2026-08-01",
  "rooms": 1,
  "adults": 2,
  "results_wanted": 20,
  "max_pages": 5
}' |
apify call shahidirfan/priceline-hotels-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Priceline Hotels Scraper",
        "description": "Scrape real-time hotel prices, availability, ratings & booking links from Priceline globally. Perfect for price monitoring, competitor analysis, travel analytics & hospitality research. Get structured, ETL-ready data for market intelligence & AI datasets.",
        "version": "0.0",
        "x-build-id": "spqbFtcDyLaeq5zoz"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/shahidirfan~priceline-hotels-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-shahidirfan-priceline-hotels-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~priceline-hotels-scraper/runs": {
            "post": {
                "operationId": "runs-sync-shahidirfan-priceline-hotels-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~priceline-hotels-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-shahidirfan-priceline-hotels-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": {
                    "startUrl": {
                        "title": "Start URL",
                        "type": "string",
                        "description": "Priceline hotel listings URL, for example a /relax-ui/listings URL with destination, dates, rooms, and adults."
                    },
                    "destination": {
                        "title": "Destination or keyword",
                        "type": "string",
                        "description": "Destination ID or search keyword. Used when Start URL is empty."
                    },
                    "checkIn": {
                        "title": "Check-in date",
                        "type": "string",
                        "description": "Check-in date in YYYY-MM-DD or YYYYMMDD format."
                    },
                    "checkOut": {
                        "title": "Check-out date",
                        "type": "string",
                        "description": "Check-out date in YYYY-MM-DD or YYYYMMDD format."
                    },
                    "rooms": {
                        "title": "Rooms",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Number of rooms.",
                        "default": 1
                    },
                    "adults": {
                        "title": "Adults",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Number of adult guests.",
                        "default": 2
                    },
                    "results_wanted": {
                        "title": "Results wanted",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of hotel listings to save.",
                        "default": 20
                    },
                    "max_pages": {
                        "title": "Max pages",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum listing pages to request.",
                        "default": 5
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional proxy settings for Priceline requests.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
