Fetch Reviews
Last updated
Last updated
The Reviews endpoint retrieves reviews for a specific hotel.
GET
https://api.rateparity.com/v1/reviews/{code}
Query Parameters
Filtering is supported to refine the results based on the below criteria.
category
Filters reviews based on the review category
score
Filters reviews by review score: SUPERB
(9-10), GOOD
(7-8), PASSABLE
(5-6), POOR
(3-4), and VERYPOOR
(1-2).
country
string
Filters reviews based on the reviewer's country.
season
Filters reviews according to the season or time of year.
verbose
boolean
To include additional information when set to true
(default: false
).
Pagination
See for more details. Sorting options are dateReviewed
, mostRelevant
and score
.
See for the base structure of responses.
The data
object contains the primary response information returned by the API:
channels
Review scores and details from Airbnb.
score
double
The overall average score calculated from all available sources.
reviews
integer
Total number of reviews aggregated across all sources.
timeUpdated
Instant
The timestamp of the last update.
userReviews
A list of individual user reviews with details such as reviewer name, score, title, description, and review date.
facilities
A list of facilities mentioned in reviews. If null, no facilities data is available.
The ReviewScore
object represents the scoring details for each review source:
title
String
The channel name.
score
double
The average review score from the source.
outOfScore
integer
The maximum possible score for the source (e.g., 10 or 6).
total
integer
The total number of reviews counted for this source.
name
string
Name of the reviewer.
category
string
Category of the reviewer (e.g., Solo traveller, Family, etc.).
dateReviewed
Date
The date the review was submitted.
score
double
The review score provided by the user.
title
string
Title of the review.
description
string
Detailed text of the review.
country
string
Country of the reviewer.
photoUrl
string
URL to the reviewer's photo, if available.
channel
string
The source channel of the review (e.g. Booking.com, Tripadvisor.com).
hidden
boolean
Indicates if the review is hidden (true
) or visible (false
).
channel
string
The source channel of the review (e.g., Booking.com, Tripadvisor.com).
facility
string
The name of the facility mentioned in the review.
score
double
The review score related to the facility.
timestamp
Date
The date and time when the facility was reviewed.
countries
Map<String, String>
The countries available for filtering.
filterTotals
The filtering options totals.
sortingOptions
List
Available options for sorting.
categories
Map<Category, Integer>
scores
Map<Score, Integer>
seasons
Map<Season, Integer>
List of objects
List of objects
List of objects
object
The totals.
The totals.
The totals.