# Agoda Reviews Scraper: Ratings, Rooms, Stay Dates (`automation_craft/agoda-reviews-scraper`) Actor

Agoda guest reviews from every source Agoda shows (its own, Booking.com, Priceline) for hotels and homes by link, id, hotel name or city, no login. Rows: rating, text, liked and disliked, stay dates, room, traveller type, guest country, original text, reply. JSON, CSV, real-time API; pay per review.

- **URL**: https://apify.com/automation_craft/agoda-reviews-scraper.md
- **Developed by:** [Automation Craft](https://apify.com/automation_craft) (community)
- **Categories:** Travel, Automation, Developer tools
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.76 / 1,000 reviews

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 Reviews Scraper: Ratings, Rooms, Stay Dates

**Agoda reviews scraper and real-time API** for the guest reviews of hotels, resorts, apartments and every other stay on Agoda: paste hotel or reviews page links, give Agoda property ids or hotel names, or read the hotels of a place, an Agoda city id or an Agoda search link. You get every source Agoda shows on a property: Agoda's own guest reviews, the Booking.com reviews Agoda shows beside them, and the reviews of Priceline and the other partners Agoda lists. Every review comes with its rating and Agoda's word for it, title, text (or the liked and disliked parts), posted date, stay dates and nights, room type, traveller type, the reviewer's first name and country, helpful votes, guest photos and the property's response. Every hotel comes with one hotel row: Agoda's own summary of its reviews.

No login, no cookies and no browser: the Actor reads Agoda's own review list, page by page, through Apify's datacenter proxy (included in the price). Agoda shows some reviews translated into the site's language (English unless you set `language`): the row then keeps Agoda's translation and the guest's own words side by side. Each row says which source it came from, so you can keep Agoda's own reviews, Booking.com's or both.

#### What you can do with it

- Read what guests say about your property and the properties you compete with, from every source Agoda shows, in one dataset.
- Collect last week's reviews on a schedule: `reviewsFrom` takes an age such as `7 days`, counted back from each run's day.
- Find complaints fast: the lowest rating first, Agoda's `belowExpectation` band, or a keyword such as `noise`.
- See who your guests are: traveller type, reviewer country, room type, stay dates and nights on each of Agoda's own reviews, with filters on each.
- Compare the hotels of a city on Agoda's summary with **Hotel summaries only**: score, category grades, scores by traveller type, topics with their share of positive and negative mentions, and the phrases guests use most.
- Feed a language model: every review row carries `textMarkdown`, its title, text and liked and disliked parts in Markdown.
- Pull one hotel's latest reviews from your own app or agent in one HTTP request with the **Real-time API**.

### How to scrape Agoda reviews

1. Open the Actor and paste one or more links into **Agoda links** (for example `https://www.agoda.com/hotel-boss/hotel/singapore-sg.html`), or fill **Property ids**, **Hotel names**, **Places** or **City ids**.
2. Set **Reviews per hotel** (0 reads every review Agoda's list serves; 100 when left empty) and the **Order** (newest first when left empty).
3. Add any filters: review sources, a posted date window, review languages, traveller types, rating bands or a rating range, stay dates or seasons, room types, reviewer countries, a keyword, text only, guest photos only or a property response only.
4. Pick the **Output format**: one row per review (the default), one row per hotel with its reviews inside, or **Hotel summaries only**.
5. Click **Start**. Download the rows as JSON, CSV, Excel, XML or HTML, or read them through the Apify API. The dataset has a **Reviews** and a **Hotels** view.

### What data you get

One Review row per review (`type: "review"`), one hotel row per hotel (`type: "hotel"`, written with the hotel's first review delivered), and free rows: a walk row per hotel saying how far its reviews were read (`type: "reviews"`), a listing row per place, city id or search link (`type: "search"`), status rows for every miss (`type: "status"`) and one run summary (`type: "summary"`). With **Property details** on, one more row per hotel and stay (`type: "hotelDetails"`).

#### Review row

Fill rates were measured on 555 reviews of 20 properties read from Agoda's review list on 2026-11-12 (220 of Agoda's own reviews, 218 Booking.com reviews and 117 Priceline reviews). The reviewer and stay fields of Agoda's own reviews were measured on a larger set of 20,981 Agoda reviews read on 2026-11-03. A field a source never carries is empty (`null`) on its rows.

| Field | What it holds | Agoda | Booking.com | Priceline |
|---|---|---|---|---|
| `id`, `reviewId`, `hotelId`, `hotelName`, `hotelUrl` | the source and Agoda's review id, Agoda's review id alone, and the hotel the review is about | 100% | 100% | 100% |
| `source`, `sourceKey`, `providerId` | where the review comes from (`Agoda`, `Booking.com`, `Priceline.com` or another partner) | 100% | 100% | 100% |
| `rating`, `ratingText`, `ratingBand`, `ratingOutOf5` | the guest's rating out of 10, Agoda's word for it (`Excellent`), its rating band and the same rating out of 5 | 100% | 100% | 100% |
| `title` | the review's title as served | 100% | 100% | 100% |
| `text` | the review's text as served | 100% | 0% | 42.7% |
| `positives`, `negatives` | what the guest liked and disliked | 0% | 94.5%, 78.0% | 73.5%, 58.1% |
| `reviewDate`, `reviewDateUtc`, `reviewDay` | when the review was posted, as Agoda gives it, in UTC and as a day | 100% | 100% | 100% |
| `checkInDate`, `checkOutDate`, `stayMonth`, `nights` | the stay | 100% | 0% | 0% |
| `roomType` | the room the guest stayed in | 100% | 0% | 0% |
| `travellerType` | Agoda's traveller type (`Couple`, `Solo traveler`, `Family with young children` and so on) | 100% | 100% (test runs) | 100% (test runs) |
| `reviewerName` | the reviewer's first name as Agoda shows it | 100% | 100% (test runs) | 100% (test runs) |
| `reviewerCountry`, `reviewerCountryCode` | the reviewer's country | 99.9% | 0% | 0% |
| `helpfulVotes`, `unhelpfulVotes` | readers' votes on the review | 100% | 100% | 100% |
| `language`, `translatedTo` | the language the review was written in, and the language of the text shown | 100% | 100% | 100% |
| `originalTitle`, `originalText` | the guest's own words when Agoda shows the review translated | 11.4% | 0% | 0% |
| `response`, `hasResponse` | the property's response (text, date, who answered, language), and whether there is one | 44.1% (the flag 100%) | 0% | 0% |
| `photos`, `photoCount` | the guest's photo links and their number | 10.9% (2.8% on the larger set) | 0% | 0% |
| `reviewerIsExpert` | Agoda's expert reviewer mark | 100% (test runs) | 100% (test runs) | 100% (test runs) |
| `textMarkdown` | title, text, liked and disliked parts in Markdown | 100% | 100% | 100% |
| `ratingOnly` | true when the review is a rating with no text at all | 100% | 100% | 100% |
| `position`, `page`, `sortedBy` | the review's place in the order read, its page and the order | 100% | 100% | 100% |

Fields marked "test runs" were not counted in that measurement: they were filled on every one of the 310 reviews (235 Agoda, 42 Booking.com, 33 Priceline) of the platform test runs of 2026-11-12. A Booking.com review gives no nights (Agoda sends 0 for them, delivered as `null`).

On request, each review row also carries `hotelScores` (the hotel's overall score, review counts by source and category grades, with **Hotel scores on every review**), `raw` (the review exactly as Agoda served it, with **Raw review**) and `customData` (the `userData` of the start URL that named the hotel).

#### Hotel row

Agoda's own summary of the hotel's reviews, read from the first page of its review list. Measured on the 8 hotels of the platform test runs of 2026-11-12.

| Field | What it holds | Filled |
|---|---|---|
| `hotelId`, `name`, `url`, `reviewsUrl`, `countryCode` | the hotel, its page and its reviews page | 8 of 8 |
| `score`, `scoreText`, `maxScore`, `reviewCount`, `reviewsWithText` | Agoda's overall score, its word, the scale, the review count and how many have a text | 7 of 8 |
| `reviewsBySource` | the review count of each source as Agoda's tabs show it | 8 of 8 |
| `grades` | category grades (location, cleanliness, service, facilities, value for money, room comfort, food and dining) | 7 of 8 |
| `scoresByTravellerType` | Agoda's score per traveller type and source, each with its grades and the average rating of the city's properties of the same star class | 8 of 8 |
| `ratingDistribution`, `seasonDistribution`, `recentScores` | reviews per rating band and per season, and the latest scores | 8 of 8 |
| `topics` | the topics guests mention with the count and the share of positive, negative and neutral mentions | 8 of 8 |
| `topicSummaries` | Agoda's short summary of each topic | 7 of 8 |
| `phrases`, `facilityMentions` | the phrases guests use most, and the facilities they mention | 4 of 8, 3 of 8 |
| `roomTypes` | Agoda's review counts per room type | 4 of 8 |
| `recommendation` | Agoda's recommendation lines | 7 of 8 |
| `reviewsReportedBySource` | the count of each source's review list as Agoda serves it | 8 of 8 |
| `searchedVia`, `listedBy` | the inputs that named the hotel, and the places and search links that listed it | when it applies |
| `requestedStay` | with **Property details** on: the stay your input named for the hotel's details (`null`: the run's own stay) | with Property details |
| `customData` | the `userData` of the start URL that named the hotel | with `userData` |

#### Property details row (add-on)

With **Property details** on: one row per hotel and stay (`type: "hotelDetails"`) with every room and offer of the stay (price, stay total with taxes, cancellation terms, payment, breakfast, benefits, rooms left), the exact rates per night with and without taxes, and the property's address, position, stars, description, facilities, policies and check in and out times. It is billed only when both of its reads answered; a row with one read missing is free and says which (`detailsStatus: "partial"`).

#### Free rows

- Walk row (`type: "reviews"`, one per hotel in the default format): `hotelId`, `hotelName`, `hotelUrl`, `reviewsReportedBySource` (the count of each source's list), `reviewsDelivered`, `skippedByChecks` (the reviews a check left out, by reason), `repeats`, `pagesRead`, `sourcesEnded`, `complete`, `stoppedBy`, `incompleteReason`, `note`, `topicsWithNoReview` (with `topics`: the topics Agoda answered with no review for this hotel), `filtersNote` (when the list was read without Agoda's own filters), `inputs`, `listedBy`.
- Listing row (`type: "search"`, one per place, city id or search link, written before its hotels are read): the input position, the place, every hotel id it found (`hotelIds`), Agoda's count (`totalReported`) and whether the listing is complete.
- Status rows (`type: "status"`): one row per kind of miss, naming the input positions: `not_found`, `not_read`, `name_not_found` and `name_ambiguous` (with the candidates), `place_not_found` and `place_ambiguous` (with the candidates), `search_not_searchable`, `search_stay_refused`, `repeat`, `not_reached`, `hotels_not_reached`, `entries_not_read`, `link_file_read`, `link_file_not_read`, `charge_limit_reached` and `invalid_input`; for Property details, `stay_refused`, `not_found` and `not_read`.
- Run summary (`type: "summary"`): status, reviews delivered, hotels read and read in full, searches, pages read and failed, charges confirmed.

#### Output formats

- **One row per review** (default): a hotel row (written with the hotel's first review delivered), then the hotel's review rows, then its free walk row. A hotel with no review delivered gets its walk row only.
- **One row per hotel with its reviews inside** (`outputFormat: "nested"`): at most 500 reviews a hotel; hotels are then read one at a time. A hotel with no review delivered gets its free walk row instead. When a filter keeps few reviews of a long list (for example guest photos only), the run may write a hotel's reviews in parts (`part` 1, 2, ...) so it bills what it read before reading on; only the last part carries `complete`.
- **Hotel summaries only** (`hotelSummaryOnly: true`): one hotel row per hotel and no reviews. A hotel whose summary Agoda did not answer gets its free walk row instead (`summaryRead: false`).

#### Example review row (shortened)

```json
{
  "type": "review",
  "id": "332:1205371345",
  "reviewId": "1205371345",
  "hotelId": "1105091",
  "hotelName": "Hotel Boss",
  "source": "Agoda",
  "sourceKey": "agoda",
  "rating": 8,
  "ratingText": "Excellent",
  "ratingBand": "veryGood",
  "title": "Very good",
  "text": "Q-ing time is way long waiting. I check in at 9pm still need to wait 45min to 1hr. ...",
  "language": "en",
  "reviewDate": "2026-11-10T10:52:58+07:00",
  "reviewDay": "2026-11-10",
  "checkInDate": "2026-10-17",
  "checkOutDate": "2026-10-18",
  "nights": 1,
  "roomType": "Superior Double Room with City View",
  "travellerType": "Couple",
  "reviewerName": "SHIRLEY",
  "reviewerCountry": "Singapore",
  "reviewerCountryCode": "SG",
  "helpfulVotes": 0,
  "hasResponse": true,
  "response": { "text": "Dear Shirley, Thank you for sharing your feedback. ...", "date": "2026-11-12T07:37:37.402+07:00", "responderName": "Hotel Boss", "language": "en" },
  "photos": []
}
```

#### What "every review" means on Agoda

- **Agoda's review list can hold fewer reviews than the count on its page.** For Hotel Boss in Singapore (id 1105091), Agoda's tab counted 41,658 Agoda reviews on 2026-11-12 while its review list served 8,800. The Actor reads every review the list serves; the hotel row carries the tab counts (`reviewsBySource`) and the walk row the list's own counts (`reviewsReportedBySource`), so you can see both.
- **Agoda serves at most 100 pages of 100 reviews per source in one order** (10,000 reviews). A walk that reaches that page ends with `stoppedBy: "page_cap"`.
- **The Booking.com reviews are the ones Agoda shows**, not every review of the hotel on Booking.com.
- **Newest first is Agoda's own order**: on the English site (the default `language`), the newest reviews in English first, then the newest in each other language; another site language puts its own language's reviews among the first. With exactly one review language chosen, the list is one date order.
- **Each order is kept within each source**: a page of Agoda's list holds the next reviews of every source, so rows of Agoda, Booking.com and the other sources come interleaved page by page. Sort by `source` and `reviewDay` (or `rating`) in your sheet for one list.
- **A posted date window**, newest first with exactly one review language, goes straight to the page where `reviewsTo` begins and stops at the first page older than `reviewsFrom`. In every other case Agoda's list is not one date order, so the Actor reads the whole list and checks the date of each review (the reviews outside the window are free).
- **Stay dates, seasons, room types and reviewer countries** are on Agoda's own reviews only: those filters leave out the Booking.com and Priceline reviews.

### How much does it cost to scrape Agoda reviews?

You pay per row delivered (pay per event). Prices per 1,000 events:

| Event | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| Review | $1.06 | $0.97 | $0.88 | $0.76 |
| Hotel summary | $1.06 | $0.97 | $0.88 | $0.76 |
| Property details | $1.31 | $1.20 | $1.09 | $0.94 |

Each run also pays a one time Actor start of $0.0065 on every plan (no tier discount). Platinum and Diamond plans pay the Gold price. The Store pricing card shows these same prices per 1,000 events: "$0.76 / 1,000" on the Review row means one review costs 0.076 cents ($0.00076), and "$0.94 / 1,000" on the Property details row means one hotel and stay costs 0.094 cents.

- Example: 1,000 reviews of one hotel on the Bronze plan cost $0.0065 + 1,000 x $0.00097 = $0.9765 for the run ($0.7665 on Gold, $1.0665 on Free).
- Example: 20 reviews of each of 50 hotels cost the same as 1,000 reviews of one hotel: the hotel row is free, so there is no fee per hotel.
- Example: 100 hotel summaries with **Hotel summaries only** cost 100 x $0.00076 + $0.0065 = $0.0825 on Gold ($0.1125 on Free).
- The hotel row (Agoda's summary) rides free with the hotel's first billed review. **Hotel summary** is charged only in the **Hotel summaries only** mode, once per hotel Agoda names.
- The same review is charged once per run, even when two of your inputs name its hotel.
- Free: walk rows, listing rows, status rows, the run summary, repeats, reviews a check left out, misses, and Property details rows with a read missing. A run with no usable input charges only the start fee.
- Set a maximum cost per run in the Apify Console: the run stops at the first row it cannot pay, a free `charge_limit_reached` row says so, and no paid row follows it, a restarted attempt included.
- The Real-time API has its own price list, in its section below.

### Input

#### Hotels and places

| Setting | What it does |
|---|---|
| `startUrls` | Agoda hotel pages (any language path, for example `/en-gb/`), reviews pages, links that name the property id (`hotel_id=`, `selectedproperty=`, `propertyId=`) and Agoda search links (their hotels in Agoda's order). A remote text or CSV file of links works too (up to 10 files), and rows of another Actor's dataset (any object with a `url`). |
| `hotelIds` | Agoda property ids (digits, for example `1105091`). |
| `hotelNames` | Hotel names as Agoda shows them, with the city when the name is common (`Hotel Boss Singapore`). A name is read only when exactly one hotel Agoda's search box suggests holds every word; otherwise a free row lists the candidates. |
| `search` | City, area, landmark or region names as Agoda's search box names them (`Bangkok`, `Sukhumvit, Bangkok`): the reviews of the place's first hotels in Agoda's order. |
| `cityIds` | Agoda city ids (the `city` parameter of a search link, for example `9395` for Bangkok). |
| `mapAreas` | Circles `{"latitude", "longitude", "radiusKm"}` (0.1 to 50 km) or boxes `{"north", "south", "east", "west"}` (at most 1 degree by 1.5): the first hotels Agoda shows inside. |
| `maxHotelsPerSearch` | Hotels per place, city id, map area or search link, in Agoda's order (1 to 1,000; 10 when left empty). |

A start URL entry's `userData` object (up to 4,000 bytes) comes back as `customData` on every row of that hotel. A hotel or reviews page link without an id in it takes one page read to find its property id. At most 5,000 entries per run; a hotel named by several entries is read once.

#### Reviews and filters

| Setting | What it does |
|---|---|
| `maxReviewsPerHotel` | Reviews per hotel (0 reads every review Agoda's list serves; 100 when left empty). |
| `maxItems` | Reviews for the whole run. One run keeps at most 300,000 reviews and 20,000 hotels. |
| `sortBy` | `newest` (default), `highestRating`, `lowestRating` or `mostHelpful`: Agoda's four orders. |
| `reviewSources` | `agoda`, `bookingCom`, `priceline`, `japanican`, `other` (every source when left empty). |
| `reviewsFrom`, `reviewsTo` | Posted on or after, on or before: a date (YYYY-MM-DD) or an age such as `7 days`, `2 weeks`, `3 months`, `1 year`, counted back from the run's day. |
| `languages` | Review languages (`en`, `ja`, `ko`, `zh-cn`, `zh-tw`, `th`, `fr`, `de` and the other codes of Agoda's list, 45 in all): Agoda's own filter, several at once. |
| `travellerTypes` | `business`, `couples`, `solo`, `familiesYoungChildren`, `familiesTeens`, `groups`: one type is Agoda's own filter, several are checked on each review. |
| `ratingBands` | Agoda's own rating bands, one or several: `exceptional` (over 9), `excellent` (over 8, up to 9), `veryGood` (over 7, up to 8), `good` (over 6, up to 7), `belowExpectation` (6 and under): a Booking.com review rated 9 is `excellent`, as on Agoda. |
| `minRating`, `maxRating` | A rating range out of 10, one decimal (1 to 6 reads the low rated reviews). With no rating band chosen, the Actor sends Agoda the bands the range touches, so only those are read, and checks the range on each review. |
| `stayFrom`, `stayTo`, `seasons` | The check-in day of the stay (YYYY-MM-DD), or its season (`marchToMay`, `juneToAugust`, `septemberToNovember`, `decemberToFebruary`). |
| `roomTypes` | Words of the room's name, any case (`deluxe`, `twin`), up to 30, in the site language (`language`: under `de-de` Agoda names a room "Superior Zimmer"). |
| `reviewerCountries` | Two letter codes (`JP`, `US`) or, on an English site language, English names (`Japan`), up to 100 (Agoda names countries in the site language; codes work in every language). |
| `topics` | Agoda's review topics (`location`, `cleanliness`, `service`, `breakfast`, `valueForMoney`, `roomComfort` and the others of Agoda's list, 28 in all): Agoda's own filter, on Agoda's own reviews only (Booking.com and the other sources carry no topic). Agoda applies one topic a request, so each topic is its own walk of the list; a review that mentions two topics comes once. Every topic you choose is asked (the hotel row's `topics` lists at most 20); a topic Agoda answers with no review and does not list among the hotel's topics is named on its walk row (`topicsWithNoReview`). |
| `keyword` | Only reviews holding this word or phrase in their title, text, liked or disliked part or original text (up to 100 characters, any case, as a whole word; in Chinese, Japanese, Korean and Thai anywhere in the text). |
| `onlyWithText`, `minTextLength` | Leave out reviews that are a rating alone; only reviews whose texts run to at least this many characters. |
| `withPhotosOnly`, `withResponseOnly` | Only reviews with guest photos; only reviews the property answered. |

Agoda applies the review languages, one traveller type, the rating bands and the topics itself. When Agoda answers a hotel's list under your languages, traveller type or rating bands with no data at all (it does so both when nothing matches and, now and then, for a moment), the Actor reads that hotel's list without them and checks every review itself, free of charge for what does not match (`filtersNote` on the walk row). The Actor checks every review on the rest: the sources, the rating range, several traveller types, the posted and stay windows, seasons, rooms, countries, the keyword, text, photos and a response. A review that fails a check is left out free and counted on the walk row (`skippedByChecks`); after 20 pages in a row with no review passing the checks, the walk stops (`stoppedBy: "no_matching_reviews"`).

#### Output

| Setting | What it does |
|---|---|
| `outputFormat`, `hotelSummaryOnly` | The output format (see above). |
| `hotelScoresOnEveryReview` | Copy the hotel's overall score, review counts by source and category grades onto each review row. |
| `includeHotelDetails`, `maxHotelsWithDetails` | The Property details add-on (billed per hotel and stay), and the most such rows a run delivers. |
| `includeRawReview` | Add the review exactly as Agoda served it (`raw`). |

#### Stay (Property details and places)

| Setting | What it does |
|---|---|
| `checkIn`, `checkOut` | Fixed dates, YYYY-MM-DD (both or neither). |
| `checkInDaysFromToday`, `nights` | Instead of fixed dates: check-in this many days after the run's day and the length of the stay (14 days ahead for 2 nights when no stay is given). |
| `checkInWindowDays`, `checkInWindowStepDays` | With Property details: one row per check-in day for this many days (up to 60), every n-th day, for a price calendar. |
| `adults`, `rooms`, `childrenAges`, `currency`, `language` | Guests (2 adults and 1 room when left empty), children's ages, the currency (USD) and the Agoda site language (`en-us`): the language of the Property details rows and place names, and the language Agoda translates reviews into (under `ja-jp`, a Korean review comes in Japanese with the guest's own words in `originalTitle` and `originalText`; reviews in the site's language come among the first in newest first). |

#### Advanced

| Setting | What it does |
|---|---|
| `maxConcurrency` | Hotels read side by side, 1 to 3 (3 when left empty; one at a time with the nested format and until the run delivered its first paid row). |
| `requestDelaySeconds` | Extra seconds between two requests on one connection, 0 to 30. |
| `proxyConfiguration` | Leave empty: the run reads Agoda through Apify's datacenter proxy, and a review page no datacenter exit answers through Apify's residential proxy (included in the price). You may give your own `http://` proxy links, or switch Apify Proxy off to read from the run's own address. |

A setting the input cannot use (an unknown setting, `maxHotelsPerSearch` with no place or search link, review settings with **Hotel summaries only**, stay settings with neither a place nor Property details) stops the run at once with a free status row saying why; only the run's start fee is charged.

### Real-time API

This Actor is also a Server Actor (server mode): next to the input interface above (normal runs) it answers plain HTTP requests in real time, with no run to start and no dataset to read. Send an Agoda property id or hotel link, get the hotel's guest reviews back in the response. Use it inside your own app, an automation step or an AI agent that needs one hotel's latest reviews now.

Copy the server URL from the **Server** tab of the Actor page (it looks like `https://automation-craft--agoda-reviews-scraper.apify.actor`) and authenticate with your Apify token, the same way as for the Apify API.

| Endpoint | What it does |
|---|---|
| `GET /reviews?hotel=<id or link>` | One hotel. Returns its record: the hotel row (Agoda's summary of its reviews, when a review is delivered), the first reviews in the order and filters you ask, and the walk row, each with the same fields as a dataset row of the input interface. Options: `max` (1 to 100, default 20), `sort` (`newest`, `highestRating`, `lowestRating`, `mostHelpful`), `from` and `to` (the day a review was posted, `YYYY-MM-DD`), `sources` (a comma separated list of `agoda`, `bookingCom`, `priceline`, `japanican`, `other`), `languages` (a comma separated list of review language codes such as `en`, `ja`, `ko`, `zh-cn`), `travellerType` (one of `business`, `couples`, `solo`, `familiesYoungChildren`, `familiesTeens`, `groups`), `ratingBands` (a comma separated list of `exceptional`, `excellent`, `veryGood`, `good`, `belowExpectation`). |
| `GET /hotel?hotel=<id or link>` | One hotel's summary row alone: Agoda's score, review counts by source, scores by traveller type with the city averages, category grades, rating bands, topics and the phrases guests use most. |
| `POST /reviews` with `{"hotels": ["...", "..."], "max": 10}` | Up to 10 hotels in one request, each hotel as its own element of the list, and the same options as `GET /reviews` in the body (`max` 1 to 20 per hotel, default 10; `sources`, `languages` and `ratingBands` as lists). Returns a JSON list with one record per element, in the order given. An element that is invalid, a duplicate, not found or not read gets a free record in its place. |
| `GET /` | A short JSON description of the endpoints, the limits and the charges. Free. |

```bash
curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
  "https://automation-craft--agoda-reviews-scraper.apify.actor/reviews?hotel=1105091&max=20&sort=newest"
```

```bash
curl -X POST -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" \
  -d '{"hotels":["https://www.agoda.com/hotel-boss/hotel/singapore-sg.html","10637"],"max":5,"sources":["agoda"],"ratingBands":["belowExpectation"]}' \
  "https://automation-craft--agoda-reviews-scraper.apify.actor/reviews"
```

The response of `GET /reviews` is the hotel's record (shortened):

```json
{
  "position": 0,
  "hotelId": "1105091",
  "status": "ok",
  "hotel": {
    "type": "hotel",
    "hotelId": "1105091",
    "name": "Hotel Boss",
    "url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html",
    "score": 8,
    "scoreText": "Excellent",
    "reviewCount": 60856,
    "reviewsBySource": [{ "source": "Agoda", "providerId": 332, "reviews": 41658 }],
    "grades": [{ "id": "location", "name": "Location", "score": 8.6, "scoreText": "Excellent" }],
    "searchedVia": ["hotel"]
  },
  "reviews": [
    {
      "type": "review",
      "id": "332:1205371345",
      "hotelId": "1105091",
      "source": "Agoda",
      "rating": 8,
      "ratingBand": "veryGood",
      "title": "Very good",
      "reviewDay": "2026-11-10",
      "checkInDate": "2026-10-17",
      "nights": 1,
      "roomType": "Superior Double Room with City View",
      "travellerType": "Couple",
      "reviewerCountry": "Singapore"
    }
  ],
  "walk": {
    "type": "reviews",
    "hotelId": "1105091",
    "hotelName": "Hotel Boss",
    "reviewsReportedBySource": { "agoda": 8800, "bookingCom": 9123, "additional": 53 },
    "reviewsDelivered": 20,
    "complete": false,
    "stoppedBy": "max_reviews_per_hotel",
    "inputs": ["hotel"]
  }
}
```

A hotel is named by a value that is, as a whole, an Agoda property id (digits, for example `1105091`) or one Agoda link: a hotel page (`https://www.agoda.com/hotel-boss/hotel/singapore-sg.html`, with or without a language part such as `/en-gb/`), a reviews page (`https://www.agoda.com/hotel-boss/reviews/singapore-sg.html`), a hotel page whose query names the id (`hotel_id=` or `selectedproperty=`), or `https://www.agoda.com/accom/property?propertyId=<id>`. A hotel or reviews page link is read on Agoda once for its property id. The real-time API is stricter than the input form: a value that only contains a hotel somewhere in a longer text, or that names two hotels, is an invalid value (free), not a guess. Search links and page names without the `agoda.com` host are refused with `400`: send the hotel's Agoda id or its page link, or use the input interface.

Anything else is a JSON error with an HTTP status: `{"error": {"type": "hotel-not-found", "message": "..."}, "record": { ...the free record... }}`. `400` means the hotel is missing, is not one Agoda property id or link, is a link the real-time API does not read, or is longer than 2,000 characters, or an option is not one the endpoint has (an option of the input interface such as `minRating` or `keyword` is refused, never run without it); `402` the platform refused the request event of your last three requests (for example because a spending limit of your account is reached), so your requests pause for up to ten minutes on that server run; `404` Agoda has no property with this id or link; `408` the request body did not arrive in time; `409` a request id was used twice; `413` the body is larger than 64 KB; `429` too many lookups from your account (one server run takes 60 hotel lookups a minute and 10 at a time from one account, and makes at most 150 Agoda reads for one account in 20 minutes (a read already under way may finish its two retries past it), so no account can tire Agoda's answers out for the others; a request that meets that share mid way ends its hotel with `stoppedBy: "work_allowance"` and is charged only for what it delivered; wait for the seconds in `Retry-After`); `502` Agoda did not answer for this hotel within the request (the free walk row is inside; try again); `503` the server is busy, restarting, or the charge was not accepted (no review is returned without its charge); `504` the request took too long. An error response charges nothing, with two exceptions that say so themselves: `503` with the type `charge-unconfirmed` means the platform did not confirm the charge, so no data was returned although the charge may have been recorded once, and `500` with the type `internal-error-after-charge` means the request failed on our side after its charge. Report either through the Issues tab with the `X-Actor-Request-ID` response header. A response arrives within 85 seconds at most.

The `X-Charged-Events` response header says what the request charged, for example `review=20; api-request=1; hotel-summary=0`. A value of `unconfirmed` means the platform did not confirm that charge. On a `200` response the data it stands for was delivered; on the `503` named above (`review=unconfirmed`, or `hotel-summary=unconfirmed` on `GET /hotel`) no data was returned.

The walk row says where the reviews stopped: `stoppedBy` is `max_reviews_per_hotel` when your `max` was reached, `no_matching_reviews` when 20 pages in a row held no review passing your filters, `work_allowance` when the request reached its read budget (24 Agoda calls per hotel, or 28 seconds of reading for the whole request; a hotel it never reached gets a free record saying so), `page_cap` at the last page Agoda serves, and `complete` is true when the hotel's list was read to its end. A filter that matches nothing, or a hotel with no review, is an answer too: `200` with no review and no hotel row (the walk row names the hotel and Agoda's counts), nothing charged. When Agoda answers the `languages`, `travellerType` or `ratingBands` you ask with no data at all (it does so when nothing matches, and now and then for a moment), the hotel's list is read without them and each review checked, so the walk row may end with `no_matching_reviews` or `work_allowance` rather than `complete`, its `filtersNote` saying so. `GET /hotel` on a hotel with no review answers the same way: `200`, no hotel row, the walk row, nothing charged.

#### How much does a real-time request cost?

You pay per request and only for what the response delivers. There is no Actor start event on the server interface and you pay no platform usage: the server runs on our side.

| Event | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| Real-time API request (event `api-request`, once per request that delivers at least one charged review or summary) | $0.002 | $0.002 | $0.002 | $0.002 |
| Review (event `review`, per review delivered) | $1.06 / 1,000 | $0.97 / 1,000 | $0.88 / 1,000 | $0.76 / 1,000 |
| Hotel summary (event `hotel-summary`, per `GET /hotel` row whose summary Agoda answered) | $1.06 / 1,000 | $0.97 / 1,000 | $0.88 / 1,000 | $0.76 / 1,000 |

The hotel row that comes with a hotel's reviews on `/reviews` is not charged. Worked examples on the Bronze plan: one hotel with 20 reviews costs $0.002 + 20 x $0.00097 = $0.0214; one `GET /hotel` costs $0.002 + $0.00097 = $0.00297; three hotels with 10 reviews each in one `POST /reviews` cost $0.002 + 30 x $0.00097 = $0.0311. A request that delivers nothing (not found, invalid, not read, no review matching your filters) is free. Platinum and Diamond plans pay the Gold price.

#### When to use the input interface instead

For lists and deep reads, use the input interface (start a run): it takes up to 5,000 links, ids, hotel names, places, city ids and map areas, every review of a hotel, search links and places with their hotels, files of links, filters on rating range, stay dates, season, room, reviewer country, keyword, text, photos and responses, the nested format and the Property details add-on; it has no Real-time API request event and writes a dataset you can export. The server interface is for one answer within seconds.

### FAQ

#### Is there an Agoda reviews API?

This Actor works as one, in two ways. Send a JSON input through the Apify API and read the reviews as JSON, CSV or Excel when the run ends, or call the Real-time API above for one hotel's latest reviews in a single HTTP response, with no run to start.

#### Does Agoda show Booking.com reviews, and can I get them?

Yes. An Agoda hotel page shows Agoda's own reviews, the Booking.com reviews Agoda shows beside them, and the reviews of Priceline and other partners; each row names its source, and **Review sources** keeps the ones you want. The Booking.com reviews are the ones Agoda shows, not the hotel's whole Booking.com list, and they carry liked and disliked parts but no text field, stay dates, room or response.

#### Why do I get fewer reviews than the review count on Agoda's page?

Agoda's review list can hold fewer reviews than the count its page shows: for Hotel Boss in Singapore the tab counted 41,658 Agoda reviews on 2026-11-12 while the list served 8,800. The Actor reads every review the list serves, and Agoda serves at most 10,000 reviews per source in one order. The hotel row carries the page's counts (`reviewsBySource`, and `reviewsWithText` for reviews with a text) and the walk row the list's own counts (`reviewsReportedBySource`).

#### How do I export Agoda reviews to CSV or Excel?

Paste the hotel's link, run the Actor and download the dataset as CSV, Excel, JSON, XML or HTML. The **Reviews** view gives one review per row with its hotel, source, rating, dates, reviewer and texts (the hotel and walk rows show there too with empty review columns: filter on `type` = `review` to keep reviews only), and the **Hotels** view gives Agoda's summary per hotel.

#### How do I get only the newest Agoda reviews?

Set **Posted on or after** to an age such as `7 days` and keep the order newest first. Agoda's newest first lists the newest reviews in English first, then the newest in each other language: with exactly one review language chosen the walk stops at the first older page, and without one it reads the whole list and keeps the reviews inside the window (the others are free).

#### Why does this Actor run with limited permissions?

It needs nothing beyond its own run storage (the dataset it writes and its own key-value store, where it keeps a marker for a restarted run), so it runs with Apify's limited permissions: it cannot read or change anything else in your account.

### What this Actor does not do

- No monitor, no "new reviews only" memory and no alerts: schedule it with `reviewsFrom` set to an age such as `7 days` and compare the rows in your own sheet.
- No oldest first order and no "most relevant" order: Agoda serves four orders (newest, highest rating, lowest rating, most helpful).
- No reviewer review count: Agoda sends 0 for it on every review.
- No filter on Agoda's highlighted phrases: Agoda ignores them when they are sent. Use `keyword`, or `topics` for Agoda's own topics; the phrases are on the hotel row.
- No more reviews than Agoda's review list serves, and at most 10,000 per source in one order (see the section on what "every review" means on Agoda, above).
- Not the whole Booking.com review list of a hotel: only the Booking.com reviews Agoda shows. The [Booking.com Reviews Scraper: Hotel Guest Reviews](https://apify.com/automation_craft/booking-reviews-scraper) reads Booking.com itself.
- No prices, room rates or availability on review rows: a review carries no price. The Property details add-on gives one stay's rooms and offers per hotel, and the [Agoda Scraper: Hotel and Home Prices, Availability](https://apify.com/automation_craft/agoda-scraper) reads the prices of whole cities.
- No flights and no activities: hotels and homes only.
- No HTML report file: the dataset's own views and exports (HTML among them) are the report.
- No AI report: no language model is called inside the Actor. `textMarkdown` readies every review for your own model.
- No translation by the Actor: texts come as Agoda serves them in the site's `language`, and where Agoda shows a translation the guest's own words are in `originalTitle` and `originalText`.
- No login and nothing private: only what Agoda shows every visitor; it cannot read or answer reviews in a property's own Agoda account.
- A hotel name is never guessed: when no single suggestion holds every word, the free row lists the candidates.
- At most 1,000 hotels per place or search link, 500 reviews a hotel in the nested format and 5,000 inputs per run.

#### Personal data

Reviewer first names, countries, texts and photos are part of each review and are delivered as Agoda shows them publicly. You are responsible for using personal data lawfully (the GDPR included).

### Use it through the API

```bash
curl -X POST "https://api.apify.com/v2/acts/automation_craft~agoda-reviews-scraper/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"hotelIds": ["1105091"], "reviewSources": ["agoda"], "ratingBands": ["belowExpectation"], "maxReviewsPerHotel": 200}'
```

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_TOKEN>' });
const run = await client.actor('automation_craft~agoda-reviews-scraper').call({
    startUrls: [{ url: 'https://www.agoda.com/hotel-boss/hotel/singapore-sg.html' }],
    maxReviewsPerHotel: 0,
    reviewsFrom: '3 months',
    languages: ['en'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((row) => row.type === 'review').length);
```

```python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_TOKEN>")
run = client.actor("automation_craft~agoda-reviews-scraper").call(run_input={"search": ["Bangkok"], "maxHotelsPerSearch": 20, "hotelSummaryOnly": True})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row["type"] == "hotel":
        print(row["name"], row["score"], row["reviewCount"])
```

The Actor also runs from Apify's MCP server for AI agents, and from Make, Zapier and n8n through Apify's integrations.

### Changelog

- 0.1 (2026-11): first version, with the Real-time API.

### More data tools by Automation Craft

- [Agoda Scraper: Hotel and Home Prices, Availability](https://apify.com/automation_craft/agoda-scraper)
- [Booking.com Reviews Scraper: Hotel Guest Reviews](https://apify.com/automation_craft/booking-reviews-scraper)
- [Booking.com Scraper: Hotel Prices and Availability](https://apify.com/automation_craft/booking-scraper)
- [Google Hotels Scraper: Prices & Booking Sites](https://apify.com/automation_craft/google-hotels-scraper)
- [Expedia Hotels Scraper: Prices, Rooms and Rates](https://apify.com/automation_craft/expedia-scraper)
- [Vrbo Scraper: Vacation Rentals, Prices, Calendar](https://apify.com/automation_craft/vrbo-scraper)
- [Airbnb Scraper: Airbnb Data, Prices, Calendar](https://apify.com/automation_craft/airbnb-scraper)

# Changelog

This Actor's version history is a separate document: https://apify.com/automation_craft/agoda-reviews-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

Agoda hotel pages ("agoda.com/hotel-boss/hotel/singapore-sg.html", any language path), reviews pages, links with the property id (hotel_id=, selectedproperty=, propertyId=) and Agoda search links (their hotels in Agoda's order). A remote text or CSV file of links works too, and rows of another Actor's dataset (any object with a "url"; its "userData" comes back as "customData" on every row of that hotel).

## `hotelIds` (type: `array`):

Agoda property ids (digits, for example 1105091). A hotel page link names its id in its "hotel_id" or "selectedproperty" parameter.

## `hotelNames` (type: `array`):

Hotel names as Agoda shows them, with the city when the name is common (for example "Hotel Boss Singapore"). A name is read only when exactly one hotel Agoda's search box suggests holds every word; otherwise a free row lists the candidates.

## `search` (type: `array`):

City, area, landmark or region names exactly as Agoda's search box names them (for example "Bangkok", or "Sukhumvit, Bangkok"); the reviews of the place's first hotels in Agoda's order are read (see "maxHotelsPerSearch").

## `cityIds` (type: `array`):

Agoda city ids (the "city" parameter of a search link, for example 9395 for Bangkok): the reviews of the city's first hotels.

## `mapAreas` (type: `array`):

Circles {"latitude", "longitude", "radiusKm"} (0.1 to 50 km) or boxes {"north", "south", "east", "west"} (at most 1 degree by 1.5): the reviews of the first hotels Agoda shows inside.

## `maxHotelsPerSearch` (type: `integer`):

How many hotels of each place, city id, map area or search link are read, in Agoda's order (1 to 1000; 10 when left empty).

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

The most reviews read per hotel (0 reads every review Agoda shows; 100 when left empty). Agoda shows at most 10,000 reviews per source and order.

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

The most reviews the whole run delivers. One run keeps at most 300,000 reviews and 20,000 hotels.

## `sortBy` (type: `string`):

The order Agoda gives the reviews in (newest first when left empty). Each order holds within each source (Agoda, Booking.com, the others): a page holds the next reviews of every source, so the rows of the sources come interleaved. Agoda offers no oldest first order.

## `reviewSources` (type: `array`):

Which reviews: Agoda's own, the Booking.com reviews Agoda shows, Priceline and the other partners Agoda shows (every source when left empty).

## `reviewsFrom` (type: `string`):

Only reviews posted on or after this date (the day Agoda shows): YYYY-MM-DD, or an age such as "7 days", "2 weeks", "3 months" or "1 year" counted back from the run's day. Newest first in exactly one language, the walk stops at the first older page; otherwise every review is checked (Agoda lists each language newest first in turn).

## `reviewsTo` (type: `string`):

Only reviews posted on or before this date: YYYY-MM-DD, or an age such as "1 month". Newest first in exactly one language, the walk goes straight to the page where this date begins; otherwise every review is checked.

## `topics` (type: `array`):

Only Agoda's own reviews that Agoda tags with one of these topics (Agoda's own topic filter, one topic a request: with several, the hotel's reviews are read once per topic, a review in two topics delivered once). A topic Agoda answers with no review for a hotel is named on its walk row (topicsWithNoReview).

## `travellerTypes` (type: `array`):

Only reviews of these traveller types (one type is Agoda's own filter; several are checked on each review).

## `ratingBands` (type: `array`):

Agoda's own rating bands, one or several.

## `minRating` (type: `number`):

Only reviews rated at least this (out of 10, one decimal, for example 8.4).

## `maxRating` (type: `number`):

Only reviews rated at most this (out of 10). With "minRating", a range: 1 to 6 reads the low rated reviews.

## `languages` (type: `array`):

Only reviews written in these languages (Agoda's own filter, several at once): en, ja, ko, zh-cn, zh-tw, th, fr, de and the other codes of Agoda's list.

## `stayFrom` (type: `string`):

Only reviews of stays that began (check-in) on or after this date, YYYY-MM-DD. Agoda gives the stay dates of its own reviews only.

## `stayTo` (type: `string`):

Only reviews of stays that began on or before this date, YYYY-MM-DD.

## `seasons` (type: `array`):

Only reviews of stays that began in these months (Agoda's "Time of the year" seasons, checked on each review's check-in date; Agoda's own reviews only).

## `roomTypes` (type: `array`):

Only reviews whose room type holds one of these texts, any case (for example "deluxe" or "twin"); up to 30. Agoda names the room of its own reviews only, in the site language ("Superior Zimmer" under de-de).

## `reviewerCountries` (type: `array`):

Only reviews by guests from these countries: a two letter code (JP, US) or, on an English site language, the English name (Japan); up to 100. Agoda gives the country of its own reviews only.

## `keyword` (type: `string`):

Only reviews holding this word or phrase in their title, text, liked or disliked part (up to 100 characters, any case, as a whole word; in Chinese, Japanese, Korean and Thai anywhere in the text). Checked on each review.

## `onlyWithText` (type: `boolean`):

Leave out reviews that are a rating alone.

## `minTextLength` (type: `integer`):

Only reviews whose title, text and liked and disliked parts run to at least this many characters.

## `withPhotosOnly` (type: `boolean`):

Only reviews that carry guest photos.

## `withResponseOnly` (type: `boolean`):

Only reviews the property answered.

## `outputFormat` (type: `string`):

One row per review (and one hotel row per hotel), or one row per hotel with its reviews inside (at most 500 a hotel; hotels are then read one at a time).

## `hotelSummaryOnly` (type: `boolean`):

One row per hotel and no reviews: Agoda's overall score, review counts by source, scores by traveller type with the city average, category grades, rating bands, topics with their positive and negative share, Agoda's topic summaries and the phrases guests use most (billed Hotel summary). The review settings and filters do not apply; "Max reviews per hotel" is ignored.

## `hotelScoresOnEveryReview` (type: `boolean`):

Copy the hotel's overall score, review counts by source and category grades onto each review row.

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

Add one row per hotel and stay (billed Property details): every room and offer with price, stay total with taxes, cancellation, payment, breakfast and rooms left, the exact rates per night, address, position, stars, description, facilities and policies. The stay: the settings below, else the hotel link's own, else 14 days ahead for 2 nights.

## `maxHotelsWithDetails` (type: `integer`):

With "includeHotelDetails", the most Property details rows the run delivers.

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

Check-in date, YYYY-MM-DD (with "checkOut").

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

Check-out date, YYYY-MM-DD (with "checkIn").

## `checkInDaysFromToday` (type: `integer`):

Instead of fixed dates: check-in this many days after the run's day (14 when no date is given).

## `nights` (type: `integer`):

Instead of fixed dates: the length of the stay (2 when no date is given).

## `checkInWindowDays` (type: `integer`):

With "includeHotelDetails": one Property details row per check-in day for this many days from the check-in (each billed), for a price calendar.

## `checkInWindowStepDays` (type: `integer`):

With "checkInWindowDays": read every n-th day (1 when left empty).

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

Adults of the stay (2 when left empty).

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

Rooms of the stay (1 when left empty).

## `childrenAges` (type: `array`):

The age of each child of the stay, 0 to 17 (for example \[5, 9]).

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

Three letter currency code of the prices (USD when left empty).

## `language` (type: `string`):

The Agoda site language of the reviews, the Property details rows and place names (en-us when left empty), and the language Agoda translates reviews into: a review written in another language comes translated, its own words kept in originalTitle and originalText. Newest first, Agoda lists reviews of this language among the first.

## `includeRawReview` (type: `boolean`):

Add the review exactly as Agoda served it ("raw") to each review row.

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

How many hotels are read side by side (3 when left empty; one at a time with the nested format and until the run delivered its first paid row).

## `requestDelaySeconds` (type: `integer`):

Extra seconds between two requests on one connection (none when left empty).

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

Leave empty: the run reads Agoda through Apify's datacenter proxy, and a review page no datacenter exit answers through Apify's residential proxy (included in the price). You may give your own http:// proxy links instead, or switch Apify Proxy off to read from the run's own address.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html"
    }
  ],
  "maxReviewsPerHotel": 20
}
```

# Actor output Schema

## `items` (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 = {
    "startUrls": [
        {
            "url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html"
        }
    ],
    "maxReviewsPerHotel": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation_craft/agoda-reviews-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 = {
    "startUrls": [{ "url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html" }],
    "maxReviewsPerHotel": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("automation_craft/agoda-reviews-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 '{
  "startUrls": [
    {
      "url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html"
    }
  ],
  "maxReviewsPerHotel": 20
}' |
apify call automation_craft/agoda-reviews-scraper --silent --output-dataset

```

## MCP server setup

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