# Agoda Hotels Scraper API - Stay Prices and Room Types (`scrape_api/agoda-hotels`) Actor

Search Agoda hotels by city, area or hotel ID and get the inclusive stay total for your dates, guests and currency in USD, EUR or JPY, with stars, ratings, addresses, coordinates and room types. An Agoda hotels scraper with an API for hotel price data; hotel IDs join to Agoda Reviews.

- **URL**: https://apify.com/scrape_api/agoda-hotels.md
- **Developed by:** [Scrape_API](https://apify.com/scrape_api) (community)
- **Categories:** Travel, E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 hotel results

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

## Agoda Hotels Scraper

Agoda Hotels Scraper finds accommodations with prices for your chosen stay, guest numbers and currency. Search a city, a local area or one exact hotel ID, then export hotel rows for travel research and accommodation price comparison, through the Apify console or the API in the same input shape.

Each result keeps the Agoda hotel identifier, property name, stay dates and currency together. Optional metadata adds full addresses and descriptive room types. Use the hotel identifier to connect these results with Agoda Reviews, where the same value appears as `place_id`. Matching an accommodation across different booking platforms still requires separate work on names, addresses and coordinates.

### Use cases for Agoda hotel data

**OTA price comparison.** Run one destination with the same dates, guests and currency, and every
row carries the inclusive total for that exact stay beside the nightly amount. Because the stay
window and the currency are explicit on every row, a comparison table needs no cleanup, and a
second run on another platform can be lined up against it.

**Rate parity checks.** A hotel operator watches the same property across regions and dates: the
stars, the guest score, the review count and the total for two nights, captured as one request
with one currency rather than assembled by hand.

**Asia coverage research.** Agoda is strongest across Asia, so destination searches in cities
such as Bangkok, Shinjuku, Singapore and Tokyo return the properties a traveller in that market
actually sees, including locally grouped accommodations that other platforms list differently.

**Joining prices to reviews.** `accommodation_id` is the Agoda hotel identifier, and the same
value is `place_id` in Agoda Reviews. Fetch prices here, review text there, and join on one key
instead of matching on names or addresses.

**Market and district analysis.** Coordinates, star classification, guest rating and a dated
stay total in one row are enough to map what an area charges per night and how the star segments
separate, without exporting anything twice.

### Input

Supply `check_in` and `check_out` as calendar dates in YYYY-MM-DD form. Arrival must be today or later, departure must be after arrival, and a stay can cover at most 365 nights. Supply `currency` explicitly as USD, EUR or JPY. The actor does not silently choose different dates or convert prices into another currency.

Choose one destination method. `destination` accepts a city or area name, such as Bangkok or Shinjuku. `city_id` accepts an Agoda city identifier and can be combined with `area_id` for a specific area in that city. `hotel_id` requests one exact property and cannot be combined with another destination method. The resolved destination name and identifiers help you check which location Agoda selected for a name search.

The default occupancy is two adults, one room and no children. Set `adults`, `rooms` and `children` for the whole booking. Rooms cannot exceed adults. When children travel, provide one age per child in `child_ages`. Supported ages are zero through seventeen. The request accepts up to twenty adults, nine rooms and ten children.

`limit` sets a global maximum of unique hotels, with twenty as the default and one thousand as the maximum. An exact hotel request returns at most one hotel. `include_rooms` defaults to true and asks for full addresses and descriptive room types. Set it to false when the search information and price are sufficient.

### Agoda Hotels Scraper output

The dataset contains one row per unique accommodation for the requested stay. It includes `accommodation_id`, `name`, `platform`, `source`, `fetched_at`, `check_in`, `check_out`, `nights`, `currency` and the requested occupancy (`adults`, `rooms`, `children`, `child_ages`). Available source fields add the hotel URL, city, area, country code, coordinates (`lat`, `lng`), property type, stars, guest score and review count.

The main `price` is the inclusive booking total for every requested night and room. It is taken directly from the source booking amount, and `price_basis` states that convention explicitly. `price_per_room_per_night` is a separate nightly amount; multiplying a rounded nightly amount can produce a different number. The optional `price_exclusive` and `price_per_room_per_night_exclusive` keep the exclusive amounts separate, and `taxes_included` says whether taxes sit inside the source total. These values describe the lowest usable offer among those returned for the request, without a guarantee that every possible offer has been searched.

For example, the captured Bangkok search for 8–10 December 2026 returned ASAI Bangkok Chinatown, hotel ID 16333744, at USD 186.46 for one room and two adults. Its nightly amount was USD 93.23, its exclusive total was USD 158.43, `available_rooms` was 5, and the selected offer carried `cancellation_type` "FreeCancellation" until `2026-12-07T00:00:00.000+07:00`, with the source timezone offset preserved in `free_cancellation_until`. These are recorded observations, not a quote for another date or a promise that the price will remain available.

Stars reflect the property's supplied classification, with `star_rating_description` carrying Agoda's own explanation of what the stars mean on that property. Guest ratings have their own `rating_scale`, which is ten for the scores supplied here; a missing source score stays missing rather than becoming a zero. The review count is Agoda's displayed source total rather than a count of reviews collected by a separate actor.

### Room types and availability

`room_types` contains descriptive room names, source room identifiers and available bed or feature descriptions. `room_types_kind` identifies these descriptions explicitly. This list is not a list of bookable offers for the selected stay. A described room type may be unavailable on those dates, and the actor does not assign a separate price to each descriptive type.

A hotel price is returned only with confirmed dated availability. Explicitly sold out hotels may have `is_available=false` with no price. Missing or unfinished pricing is not converted into a zero price. When requested address or room information cannot be retrieved, already collected hotel prices remain available and the run reports an incomplete phase with a warning.

### Pagination and limits

The actor collects additional result pages automatically until the requested limit or a source endpoint is reached. Duplicate hotel identifiers are removed. Changing source ranking and promoted results can affect coverage; the result is not a promise of complete inventory or permanent ordering.

The product API also supplies `next_cursor` when more results can be collected. Send it back as `cursor` on the next request, and keep every other input identical: the same destination method, dates, guests, currency and limit. A source failure may leave a partial result with a continuation rather than discarding hotels already collected. Inspect warnings and the completion status before treating a result as complete.

### How this Agoda hotels scraper compares

The Store carries several Agoda actors, and they lead with different data. Named alternatives
include:

- [Agoda Hotel Scraper by bovi](https://apify.com/bovi/agoda-scraper) for property pages with
  rooms, amenities, scores and optional reviews, by hotel name, URL or id.
- [Agoda Hotel Scraper by knagymate](https://apify.com/knagymate/fast-agoda-scraper) for hotels,
  prices, ratings and reviews as a structured dataset for travel apps and research.
- [Agoda Hotel Scraper by clearpath](https://apify.com/clearpath/agoda-hotel-scraper) for a city
  or area sweep with room offers, facilities and an optional recent-reviews add-on.
- [Agoda Hotel Rates Scraper by xtracto](https://apify.com/xtracto/agoda-hotels-scraper) for
  destination or hotel-id lookups with nightly prices, coordinates and room offers.
- [Agoda Hotel & Room Scraper by datawebot](https://apify.com/datawebot/agoda-hotel-scraper) for
  room availability, rates and policies across date ranges and guest configurations.

| | This actor | Typical alternatives |
|---|---|---|
| Main price is the inclusive total for all requested nights and rooms | Yes, taken from the booking amount | Nightly prices or per-room offers lead |
| Stay dates, guests and currency on every row | Yes, explicit and never chosen for you | Varies by actor |
| Room type descriptions with the property | Yes, `room_types` with bed and feature detail | Room offers or policy fields rather than descriptions |
| Hotel identifier that joins to Agoda Reviews | Yes, `accommodation_id` = `place_id` | Usually a separate reviews actor |
| Destination methods | City or area name, city id, area id, or one hotel id | Varies; some are property-page lookups |
| Currencies requested | USD, EUR or JPY, as supplied | Varies, some advertise many more |
| Reviews in the same run | No, use Agoda Reviews for review text | Sometimes an optional add-on |
| Continuation after a partial run | `next_cursor` with the original criteria | Not always exposed |

For a different platform, the same account holds Booking.com Scraper for hotel search and
reviews there, and Google Hotels Scraper for prices, rooms and OTA rate comparison across
providers. Choose this one when the source is Agoda itself and the stay total, the room
descriptions and the review key have to sit in the same table.

### Pricing

The counting unit is one unique hotel row actually delivered. Descriptive room types, search pages and unsuccessful source requests do not create additional hotel units. Empty results do not create result charges. The active event price is shown on the actor's Pricing tab; consult that tab before starting a run.

Users without a paid Apify plan receive up to five hotels per run with the same requested fields. Paid users can request larger limits. Exact hotel lookup still returns only the requested property. No availability or price guarantee replaces the booking provider's final confirmation.

### FAQ

#### Does the price cover the whole stay?

Yes. The main price covers all requested nights and rooms using the inclusive booking amount supplied by Agoda. Separate exclusive and nightly amounts may also be present. Charges outside that source amount can still apply at booking or at the property.

#### Can I get one specific hotel?

Yes. Supply `hotel_id` with dates and currency. The actor validates the property and returns only that hotel, even if the source response contains nearby recommendations. An unknown identifier produces an empty result with a not-found explanation.

#### Are all listed room types available for my dates?

No. The room list describes the property. Dated hotel availability and the selected stay total are separate from those descriptions. This version does not provide dated prices for every room type.

#### Can I join these hotels to reviews?

Yes. Match the text value in `accommodation_id` directly to `place_id` from Agoda Reviews. Do not assume that another booking platform uses the same identifier.

# Actor input Schema

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

City or area name. Supply exactly one of destination, city_id or hotel_id.

## `city_id` (type: `integer`):

Positive Agoda city ID; may be combined with area_id.

## `area_id` (type: `integer`):

Positive Agoda area ID, requiring city_id.

## `hotel_id` (type: `integer`):

Exact Agoda hotel ID, exclusive of other destination fields. Returns at most one hotel.

## `check_in` (type: `string`):

Arrival date, YYYY-MM-DD, today or later.

## `check_out` (type: `string`):

Departure date, YYYY-MM-DD, after arrival, at most 365 nights later.

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

Currency of the stay price. Must be explicitly supplied.

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

Total adults across all rooms.

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

Requested rooms, no more than adults.

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

Total children. Supply exactly one child_ages value per child.

## `child_ages` (type: `array`):

Ages of children, from 0 through 17.

## `limit` (type: `integer`):

Global maximum unique hotels across all continuation requests.

## `include_rooms` (type: `boolean`):

Retrieve full address and descriptive room types. Room types do not imply availability for the stay.

## `cursor` (type: `string`):

Opaque next_cursor from the previous response. Keep all other inputs identical.

## Actor input object example

```json
{
  "city_id": 9395,
  "check_in": "2026-12-08",
  "check_out": "2026-12-10",
  "currency": "USD",
  "adults": 2,
  "rooms": 1,
  "children": 0,
  "child_ages": [],
  "limit": 20,
  "include_rooms": true
}
```

# Actor output Schema

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

One row per unique hotel for the requested stay.

## `output` (type: `string`):

Delivered counts, status and continuation information.

# 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 = {
    "city_id": 9395,
    "check_in": "2026-12-08",
    "check_out": "2026-12-10",
    "currency": "USD"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrape_api/agoda-hotels").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 = {
    "city_id": 9395,
    "check_in": "2026-12-08",
    "check_out": "2026-12-10",
    "currency": "USD",
}

# Run the Actor and wait for it to finish
run = client.actor("scrape_api/agoda-hotels").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 '{
  "city_id": 9395,
  "check_in": "2026-12-08",
  "check_out": "2026-12-10",
  "currency": "USD"
}' |
apify call scrape_api/agoda-hotels --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrape_api/agoda-hotels"
        }
    }
}
```

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/fjC4Np5cRKdbh9rPL/builds/9d56wVOEd3pEgwfI2/openapi.json
