Agoda Hotel Reviews
agoda.hotel.reviews
Fetch Agoda hotel reviews with optional date range filtering, sorting, locale/currency controls, and paginated traversal.
At a glance
- Endpoint ID
agoda.hotel.reviews- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 60 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "agoda.hotel.reviews", "input": { "currency": "USD", "from_date": "2026-01-01", "hotel_url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html", "locale": "en-US", "max_items": 10, "max_pages": 1, "sort": "newest", "to_date": "2026-12-31" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "agoda.hotel.reviews", "input": { "currency": "USD", "from_date": "2026-01-01", "hotel_url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html", "locale": "en-US", "max_items": 10, "max_pages": 1, "sort": "newest", "to_date": "2026-12-31" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "agoda.hotel.reviews", "input": { "currency": "USD", "from_date": "2026-01-01", "hotel_url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html", "locale": "en-US", "max_items": 10, "max_pages": 1, "sort": "newest", "to_date": "2026-12-31" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
hotel_url |
string | yes | Public URL of the hotel. | https://www.agoda.com/hotel-boss/hotel/singapor… |
currency |
string | no | Currency for returned prices. | USD |
from_date |
string | no | From date. | 2026-01-01 |
locale |
string | no | Locale to use for the request. | en-US |
max_items |
integer | no | Maximum number of items to return. From 1 to 100. | 10 |
max_pages |
integer | no | Maximum number of result pages to fetch. From 1 to 5. | 1 |
page |
integer | no | One-based result page to fetch. From 1 to 100. | |
sort |
string | no | Sort order for returned results. Allowed values: relevance, newest, oldest, highest, highest_rating, lowest, lowest_rating, helpful, most_helpful. |
newest |
to_date |
string | no | To date. | 2026-12-31 |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "collected_at": "2026-11-24T16:36:04Z", "end_page": 1, "has_more": true, "hotel_id": "1105091", "hotel_name": "Hotel Boss", "next_page": 2, "start_page": 1, "reviews": [ { "title": "Excellent", "body": "We actually booked 3 rooms, to roaming around SG before heading to Disney Cruise. It's very strategic place, walking distance to Arab Stree…", "rating": 10, "author": "Michelle", "posted_at": "2026-11-17", "source": "Malaysia / Family Room for 4 People" }, { "title": "Acceptable", "rating": 2, "author": "Nishan", "posted_at": "2026-11-14" } ]}
Fields
| Field | Type | Example |
|---|---|---|
reviews[].title |
string | Excellent |
reviews[].body |
string | We actually booked 3 rooms, to roaming around SG before heading… |
reviews[].rating |
integer | 10 |
reviews[].author |
string | Michelle |
reviews[].posted_at |
string | 2026-11-17 |
reviews[].source |
string | Malaysia / Family Room for 4 People |
reviews |
array | 3 records |
collected_at |
string | 2026-11-24T16:36:04Z |
end_page |
integer | 1 |
has_more |
boolean | true |
hotel_id |
string | 1105091 |
hotel_name |
string | Hotel Boss |
next_page |
integer | 2 |
start_page |
integer | 1 |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Agoda Travel & Hotels endpoints
Something missing or unclear? Ask the team that builds the Agoda Travel & Hotels endpoints.