Skip to main content
POST
/
agoda
/
reviews
cURL
curl --request POST \
  --url https://api.hobbo.ai/agoda/reviews \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "is_text_formatted": true,
  "reviews_to_fetch": 123,
  "sync_date": "<string>",
  "sort_type": 123,
  "pagination_data": {}
}
'
{
  "all_reviews": [
    {
      "query": "<string>",
      "author_name": "<string>",
      "review_text": "<string>",
      "review_rating": 123,
      "review_id": "<string>",
      "review_title": "<string>",
      "author_country": "<string>",
      "rating_text": "<string>",
      "review_date": "<string>",
      "author_checkin_date": "<string>",
      "aythor_checkout_date": "<string>",
      "trip_type": "<string>",
      "review_platform": "<string>",
      "review_reply": {
        "reply_date": "<string>",
        "reply_text": "<string>",
        "replier_name": "<string>"
      }
    }
  ],
  "extra_information": {
    "extra_information": {
      "hotel_id": "<string>",
      "page_token": 123,
      "page_token_list": [
        123
      ]
    },
    "total_review_count": 123,
    "total_review_count_list": [
      123
    ]
  },
  "message": "<string>"
}

Body

application/json

Agoda review scraping parameters

query
string
required

Provide proper Agoda Hotel Page URL

is_text_formatted
boolean
default:true

Controls text formatting in output

reviews_to_fetch
number | null

Number of reviews to fetch (default: all reviews, or within 30-second timeout)

sync_date
string | null

Fetches reviews posted on a specific date using format: YYYY-MM-DD

sort_type
number | null

Sorting option

pagination_data
object

Pagination metadata

Response

Reviews fetched successfully

all_reviews
object[]

Array of fetched reviews

extra_information
object
message
string

Status message about the review extraction