Skip to main content
POST
/
api
/
agoda
/
hotels
/
reviews
/agoda/hotels/reviews
curl --request POST \
  --url https://api.anysite.io/api/agoda/hotels/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "hotel": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "recent"
}
'
[
  {
    "id": "<string>",
    "@type": "@agoda_review",
    "rating": 123,
    "rating_text": "<string>",
    "title": "<string>",
    "text": "<string>",
    "pros": "<string>",
    "cons": "<string>",
    "provider": "<string>",
    "author": "<string>",
    "country": "<string>",
    "country_code": "<string>",
    "traveler_type": "<string>",
    "room_type": "<string>",
    "length_of_stay": 123,
    "helpful_count": 123,
    "unhelpful_count": 123,
    "created_at": "<string>",
    "check_in_date": "<string>",
    "check_out_date": "<string>",
    "images": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
hotel
string
required

Agoda property id or a hotel URL containing it

Minimum string length: 1
Examples:

"10696"

"https://www.agoda.com/shangri-la-hotel-bangkok/hotel/bangkok-th.html?hotelId=10696"

count
integer
required

Max number of reviews to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:recent

Order in which reviews are returned

Available options:
recent,
rating_high,
rating_low,
helpful

Response

Successful Response

id
string
required
@type
string
default:@agoda_review
rating
number | null
rating_text
string | null
title
string | null
text
string | null
pros
string | null
cons
string | null
provider
string | null
author
string | null
country
string | null
country_code
string | null
traveler_type
string | null
room_type
string | null
length_of_stay
integer | null
helpful_count
integer | null
unhelpful_count
integer | null
created_at
string | null
check_in_date
string | null
check_out_date
string | null
images
string[]