# Agoda Property Details Scraper (`romy/agoda-property-details-scraper`) Actor

Full Agoda hotel/property detail (facilities, images, policies, location) plus room types and live rate-plan prices. No login needed.

- **URL**: https://apify.com/romy/agoda-property-details-scraper.md
- **Developed by:** [Romy](https://apify.com/romy) (community)
- **Categories:** Travel
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

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

## What's an Apify Actor?

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

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

## How to integrate an Actor?

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

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

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

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

# README

## Agoda Property Details Scraper

**Agoda Property Details Scraper** pulls full content detail for one or more [Agoda](https://www.agoda.com) properties (hotel facilities, images, policies, location, review scores) plus, optionally, the live room types and bookable rate-plan offers for a given stay. It uses Agoda's own Android-app API (`searchapi.agoda.com`), which needs no login, cookie or request signing for these reads.

Spun off from the [Agoda All-in-One API](https://github.com/RomySaputraSihananda/agoda-all-in-one-api) for teams that want a run-and-export dataset instead of a live REST API.

### Why use this Actor?

- **Content monitoring** — track facilities, policies and review scores for a fixed set of properties over time.
- **Price research** — pull live room/rate-plan offers for a given stay across a portfolio of hotels in one run.
- **Sourcing and comparison** — export detail + prices for a shortlist of properties straight to a dataset (CSV/JSON/Excel).

### Input

| Field          | Required | Description                                                                                                     |
| -------------- | -------- | ----------------------------------------------------------------------------------------------------------------- |
| `propertyIds`  | yes      | Agoda property (hotel) ids. **Max 32 per run** — this is Agoda's own API limit. Runs with more are rejected with a clear error; split larger lists across multiple runs rather than being silently chunked. |
| `checkin`      | no\*      | Stay start date, `YYYY-MM-DD`. \*Required when `includeRooms` is true (needed to price room offers). Inert for property detail content alone. |
| `los`          | no       | Length of stay in nights. Default `1`.                                                                          |
| `adults`       | no       | Adults per room. Default `2`.                                                                                   |
| `rooms`        | no       | Number of rooms to book, used for room pricing. Default `1`.                                                    |
| `currency`     | no       | ISO currency code for room prices. Default `USD`.                                                               |
| `locale`       | no       | Response language as an Agoda locale (e.g. `th-th`, `ja-jp`). Default `en-us`.                                  |
| `includeRooms` | no       | Also fetch and push one row per room type / rate-plan offer for each property. Default `true`.                  |
| `includePii`   | no       | Opt-in for personal data on property rows: host profile (name, photo, joined date, city/state), review-snippet reviewer first names, hotel-image uploader member names. Default `false`. Room-offer rows carry no PII regardless. |

### Output

One `property` row per requested id:

```json
{
    "type": "property",
    "propertyId": 14654101,
    "name": "...",
    "starRating": 4,
    "address": { "city": "...", "country": "...", "line1": "..." },
    "geo": { "lat": 0, "lon": 0 },
    "reviewScore": { "score": 8.4, "reviewCount": 1200 },
    "images": ["... up to ~45 images with multiple resolution urls each ..."],
    "hostProfile": null
}
```

Plus, when `includeRooms` is true, one `room-offer` row per room type / rate-plan combination:

```json
{
    "type": "room-offer",
    "propertyId": 14654101,
    "propertyName": "...",
    "checkIn": "2026-11-10",
    "checkOut": "2026-11-11",
    "currency": "USD",
    "roomTypeName": "Deluxe Room",
    "offer": {
        "price": { "display": { "amount": 86, "text": "US$86" } },
        "isFreeCancellation": true,
        "breakfastIncluded": false
    }
}
```

`hostProfile` is `null` and reviewer/uploader names are stripped from `images`/`reviewSummaries` unless `includePii` is set.

### Pricing / Cost estimation

Billed **pay-per-event**: one `property` event per property detail row and one `room-offer` event per room/rate-plan offer row, plus a flat `apify-actor-start` event per run. Rows cut off by a run's spending limit are not billed beyond that limit.

### Known limitations

- **32-id batch limit.** Agoda's own `propertyDetailsSearch` API rejects more than 32 property ids in one call; this Actor validates that up front and fails the run with a clear error rather than silently chunking into multiple upstream calls or truncating your list.
- **Prices are not deterministic between identical calls.** The room/rate-plan endpoint is a server-side sampled quote — the same request seconds apart can return a different offer count and price. This is verified upstream behavior, not a bug here; treat each run as a point-in-time snapshot.
- **PII is opt-in.** Host profile fields and reviewer/uploader display names are excluded by default and only returned when `includePii` is set.
- Room offers require `checkin`; property detail content itself does not depend on dates, currency or occupancy (those fields are only echoed back for parameter symmetry when `includeRooms` is off).

### FAQ, disclaimers, and support

This is an **unofficial** Actor, not affiliated with or endorsed by Agoda Company Pte. Ltd. It reads only data that Agoda's own app shows to signed-out users. Use responsibly and in line with Agoda's Terms of Service and applicable law.

Found an issue or need a custom field? Use the **Issues** tab on this Actor's page.

# Actor input Schema

## `propertyIds` (type: `array`):

One or more Agoda property (hotel) ids, e.g. \[14654101]. Max 32 per run -- this is Agoda's own API limit; split larger lists across multiple runs.

## `checkin` (type: `string`):

Stay start date, format YYYY-MM-DD. Required when includeRooms is true (needed to price room offers). Optional and inert for property detail content alone.

## `los` (type: `integer`):

Number of nights, used for room pricing (and echoed in property detail's occupancy).

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

Adults per room.

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

Number of rooms to book, used for room pricing.

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

ISO currency code for room prices, e.g. USD, EUR, IDR, JPY.

## `locale` (type: `string`):

Response language as an Agoda locale, e.g. th-th, ja-jp, zh-cn, en-us (default). Not every locale is translated server-side; unsupported ones silently fall back to English.

## `includeRooms` (type: `boolean`):

Also fetch and push one row per room type / rate-plan offer for each property. Requires checkin to be set.

## `includePii` (type: `boolean`):

Opt-in for personally-identifying fields on property rows: host profile (name, photo, joined date, city/state), review-snippet reviewer first names, and hotel-image uploader member names. Default false (all excluded). Does not affect room-offer rows (they carry no PII).

## Actor input object example

```json
{
  "propertyIds": [
    14654101
  ],
  "checkin": "2026-11-10",
  "los": 1,
  "adults": 2,
  "rooms": 1,
  "currency": "USD",
  "locale": "en-us",
  "includeRooms": true,
  "includePii": false
}
```

# Actor output Schema

## `dataset` (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 = {
    "propertyIds": [
        14654101
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("romy/agoda-property-details-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 = { "propertyIds": [14654101] }

# Run the Actor and wait for it to finish
run = client.actor("romy/agoda-property-details-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 '{
  "propertyIds": [
    14654101
  ]
}' |
apify call romy/agoda-property-details-scraper --silent --output-dataset

```

## MCP server setup

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