# Agoda Hotels Scraper — Prices, Reviews & Availability (`hipersoft/agoda-hotels-scraper`) Actor

Scrape Agoda hotels and accommodation in bulk: name, type, address, city, country, coordinates, review score, review count, star rating, nightly price, currency, image and link. For travel research, price monitoring and n8n.

- **URL**: https://apify.com/hipersoft/agoda-hotels-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Categories:** Travel, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.002 / hotel scraped

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Agoda Hotels Scraper 🏨

Extract Agoda hotel and accommodation listings in bulk and export them as clean, structured data. Give it a destination or paste Agoda search URLs, and get back one row per hotel — name, property type, address, city, country, coordinates, review score, review count, star rating, nightly price, currency, image and link — ready for spreadsheets, dashboards, databases and automation.

Perfect for travel price research, market and competitor analysis, revenue management, building hotel datasets, and feeding downstream automations.

### Features

- 🔎 **Search by destination** — just type a city or place (e.g. `Singapore`, `Bangkok`, `Bali`).
- 🔗 **Or paste Agoda search URLs** — run the exact search you set up on the site, including your dates, guests and currency.
- 💰 **Live nightly prices** in the currency you choose (USD, EUR, GBP, SGD, THB and more).
- ⭐ **Ratings & reviews** — star rating, guest review score and total review count for each property.
- 📍 **Location data** — address, city, country and latitude/longitude for mapping.
- 🖼️ **Images & direct links** to each property.
- 📄 **Automatic pagination** across all result pages up to your chosen limit.
- 📊 **Export anywhere** — download as JSON, CSV, Excel or HTML, or pull via API.

### What it does

This actor collects hotel listings from Agoda search results at scale. You can combine both input modes: paste one or more search URLs **and** add a destination — the actor scrapes them all, de-duplicates properties, and stops once it reaches your maximum.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchUrls` | array | One or more Agoda search-result URLs (open a search on Agoda and copy the address bar). Dates, guests and currency in the URL are respected. |
| `destination` | string | A city or place to search, e.g. `Bangkok`. Used to build a search when you have not pasted a URL. |
| `checkIn` | string | Check-in date, `YYYY-MM-DD`. Optional — a near-future date is used if empty so that prices appear. |
| `checkOut` | string | Check-out date, `YYYY-MM-DD`. Optional — defaults to a one-night stay. |
| `adults` | integer | Number of adult guests (default 2). |
| `maxItems` | integer | Maximum hotels to collect in total. Set `0` for no limit. |
| `currency` | string | 3-letter currency code for prices (e.g. `USD`, `SGD`, `THB`). |

#### Example input

```json
{
  "destination": "Bangkok",
  "checkIn": "2026-09-20",
  "checkOut": "2026-09-21",
  "adults": 2,
  "currency": "USD",
  "maxItems": 100
}
```

Or with pasted search URLs:

```json
{
  "searchUrls": [
    "https://www.agoda.com/search?city=4064&checkIn=2026-09-20&los=1&rooms=1&adults=2"
  ],
  "currency": "SGD",
  "maxItems": 200
}
```

### Output

Each hotel is one dataset record:

```json
{
  "name": "Solaria Nishitetsu Hotel Bangkok",
  "type": "Hotel",
  "address": "Sukhumvit, Bangkok, Thailand",
  "city": "Bangkok",
  "country": "Thailand",
  "latitude": 13.7368,
  "longitude": 100.5602,
  "reviewScore": 9.2,
  "reviewCount": 17113,
  "starRating": 4,
  "price": 115.08,
  "currency": "USD",
  "url": "https://www.agoda.com/solaria-nishitetsu-hotel-bangkok/hotel/bangkok-th.html",
  "image": "https://pix8.agoda.net/hotelImages/14654101/-1/3cdaadf72911866b34b1a97eae8f92dd.jpg"
}
```

You can export the whole dataset as JSON, CSV, Excel or HTML from the run's **Storage** tab, or fetch it through the Apify API.

### Use cases

- **Price monitoring** — track nightly rates for a destination over time.
- **Competitor & market research** — compare hotels, ratings and prices across a city.
- **Revenue management** — benchmark your property against the local set.
- **Travel apps & content** — build hotel datasets for maps, guides and comparison tools.
- **Lead lists** — collect properties in a region with contact-ready location data.

### Using it with n8n and Make

The dataset works cleanly with no-code automation platforms.

**FAQ — n8n**

- **Can I run this from n8n?** Yes. Use the Apify node (or an HTTP Request node) to start the actor, then read the dataset items in the next step.
- **How do I get the results into n8n?** After the run finishes, call the dataset items endpoint — each hotel comes back as a flat JSON object you can map straight onto a spreadsheet, database or CRM node.
- **Can I schedule it?** Yes — schedule the actor on Apify, or trigger it on a cron from n8n or Make, and process new results each run.

### Tips

- For accurate prices, set `checkIn` and `checkOut` (or use a URL that already includes dates).
- Choose your `currency` so prices are directly comparable.
- Set `maxItems` to control run size and cost; use `0` only when you want everything.

### Notes

Original clean-room implementation. This actor is not affiliated with, authorized or endorsed by Agoda. Scrape responsibly and use the data in line with applicable laws and terms.

# Actor input Schema

## `searchUrls` (type: `array`):

Paste one or more Agoda search-result URLs (open a city or area search on Agoda, then copy the address bar). Dates, guests and currency set in the URL are respected. One URL per line. Use this together with, or instead of, the structured search below.

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

A city or place to search (e.g. "Singapore", "Bangkok", "Bali"). Used to build an Agoda search when you have not pasted a search URL above.

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

Check-in date in YYYY-MM-DD format (e.g. 2026-09-20). Optional — if left empty a near-future date is used so that nightly prices appear. Applies to the structured Destination search.

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

Check-out date in YYYY-MM-DD format (e.g. 2026-09-21). Optional — defaults to a one-night stay after check-in. Applies to the structured Destination search.

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

Number of adult guests for the structured Destination search.

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

Maximum number of hotels to collect in total across all searches. Set 0 for no limit. Agoda returns about 45 hotels per result page.

## `currency` (type: `string`):

3-letter currency code for displayed prices (e.g. USD, EUR, GBP, SGD, THB). Applied to structured searches and to pasted URLs that do not already set a currency.

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

Proxy configuration. Recommended: leave proxy OFF — the actor is tuned to run reliably without a proxy. Enabling a proxy is only for advanced networking setups.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.agoda.com/search?city=4064&checkIn=2026-09-20&los=1&rooms=1&adults=2"
  ],
  "destination": "Bangkok",
  "adults": 2,
  "maxItems": 50,
  "currency": "USD",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

The scraped hotels as dataset items.

# 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 = {
    "searchUrls": [
        "https://www.agoda.com/search?city=4064&checkIn=2026-09-20&los=1&rooms=1&adults=2"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/agoda-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 = { "searchUrls": ["https://www.agoda.com/search?city=4064&checkIn=2026-09-20&los=1&rooms=1&adults=2"] }

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/agoda-hotels-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 '{
  "searchUrls": [
    "https://www.agoda.com/search?city=4064&checkIn=2026-09-20&los=1&rooms=1&adults=2"
  ]
}' |
apify call hipersoft/agoda-hotels-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/agoda-hotels-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/gDLdrRxUzT3EOyH35/builds/poPpVRSQpSg4g8bh4/openapi.json
