curl --request POST \
--url https://api.hobbo.ai/trip-com/reviews \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"reviews_to_fetch": 123,
"sort_type": 123,
"pagination_token": "<string>",
"is_text_formatted": true,
"sync_date": "<string>"
}
'{
"all_reviews": [
{
"query": "<string>",
"review_text": "<string>",
"author_name": "<string>",
"review_id": "<string>",
"review_date": "<string>",
"review_rating": "<string>",
"review_timestamp": "<string>",
"rating_text": "<string>",
"review_language": "<string>",
"author_profile_url": "<string>",
"translated_review": "<string>",
"image_list": "<array>",
"review_replies": {
"reply_text": "<string>",
"reply_language": "<string>",
"reply_date": "<string>"
}
}
],
"extra_information": {
"extra_information": {},
"total_review_count": 123,
"total_review_count_list": [
123
]
},
"message": "<string>"
}This endpoint is used to fetch reviews from trip-com for a specified business.
curl --request POST \
--url https://api.hobbo.ai/trip-com/reviews \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"reviews_to_fetch": 123,
"sort_type": 123,
"pagination_token": "<string>",
"is_text_formatted": true,
"sync_date": "<string>"
}
'{
"all_reviews": [
{
"query": "<string>",
"review_text": "<string>",
"author_name": "<string>",
"review_id": "<string>",
"review_date": "<string>",
"review_rating": "<string>",
"review_timestamp": "<string>",
"rating_text": "<string>",
"review_language": "<string>",
"author_profile_url": "<string>",
"translated_review": "<string>",
"image_list": "<array>",
"review_replies": {
"reply_text": "<string>",
"reply_language": "<string>",
"reply_date": "<string>"
}
}
],
"extra_information": {
"extra_information": {},
"total_review_count": 123,
"total_review_count_list": [
123
]
},
"message": "<string>"
}trip-com review scraping parameters
Provide proper Trip hotel Reviews url or provide hotel slug
Number of reviews to fetch (default: all reviews, or within 30-second timeout)
Sort type for reviews
The next_page received with the past request, which is required for the pagination
returns the review text with visual formatting preserved
Fetches reviews posted on a specific date using format: YYYY-MM-DD
Reviews fetched successfully
Array of fetched reviews
Show child attributes
Review page URL
Content of the review
Name of the review author
Unique identifier for the review
Processed date when the review was posted
Rating given in the review
Original timestamp of the review
Rating level comment text
Language of the review
URL of the author's profile picture
Translated content of the review
List of images associated with the review
Status message about the review extraction