# Changelog of Agoda Hotel Reviews Scraper (`devilscrapes/agoda-hotel-reviews-scraper`) Actor

- **URL**: https://apify.com/devilscrapes/agoda-hotel-reviews-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/devilscrapes/agoda-hotel-reviews-scraper.md

## Agoda Hotel Reviews Scraper — Changelog

### 0.1.0 — implementation (capture date 2026-10-07)

- Reviews via the hotel-page feed `POST /api/cronos/property/review/ReviewComments`; `hotelId` from the hotel page (`hotelId:(\d+)`), numeric ids skip the page GET.
- Pagination: flat-int `page`, `pageSize` 20 returns up to 40 rows (providers 332 + 3038). No total count in the feed: stop on an empty page, a page with zero unseen `hotelReviewId`, a short page (< 20 new rows) or `maxReviews`.
- `url` is the input URL, or `https://www.agoda.com` + the feed's own `reviewPageUrl` for id inputs (the hotel page carries no canonical link or og:url).

#### Verified sort mapping

Probed with the 5-request budget (1 page GET + 4 POSTs, Marina Bay Sands id 185945, `chrome131`, direct, no proxy):
`sort: "recent"`, `2`, `3` and `7` returned a byte-identical body (md5 equal), with `selectedSortOption: 0` and
provider-332 dates not monotonic. The `sort` body key is therefore **ignored** by the feed. The page's own sort ids
are 1 Most recent, 2 Rating high to low, 3 Rating low to high, 7 Most helpful, but the body key that selects them
was not found within the budget.

- VERIFIED: none as an ordering. `recent` is exposed as "Agoda default order" (the feed default).
- UNVERIFIED (omitted from the schema enum): rating high/low, most helpful. Next probe: alternative body keys
  (`sortOption`, `sorting`, `reviewFilterAndSort[].selectedSortingOption`).

#### Notes

- `providerList[].totalIndex` in the feed (21442 for 332, 5666 for 3038 on 185945) is a per-provider total; not used for stop logic.
- Fixtures: `reviews_recent_p1.trimmed.json` and `hotel_page.trimmed.html` are real captures (reviewer display names blanked). `reviews_empty.DERIVED.json` and `challenge_body.DERIVED.html` are DERIVED, not captured.
- Cloud residential recon (T11) still open.

### 0.0 — scaffold
