Subratings

Users may further rate accommodations and restaurants against a number of subcategories, using the same 1 (terrible) to 5 (excellent) rating scale as the overall Bubble Rating. Please note that attractions are not further rated against any subcategories.

 

These are returned within the “subratings” object and represent the average score for the subrating category across all reviews for the POI.

 

"subratings": [
   {
     "localized_name": "Location",
     "rating_image_url": "http://www.tripadvisor.com/img2/ratings/traveler/ss5.0.gif",
     "name": "rate_location",
     "value": "5.0"
   },
   {
     "localized_name": "Sleep Quality",
     "rating_image_url": "http://www.tripadvisor.com/img2/ratings/traveler/ss4.5.gif",
     "name": "rate_sleep",
     "value": "4.5"
   },
   {
     "localized_name": "Rooms",
     "rating_image_url": "http://www.tripadvisor.com/img2/ratings/traveler/ss4.5.gif",
     "name": "rate_room",
     "value": "4.5"
   },
   {
     "localized_name": "Service",
     "rating_image_url": "http://www.tripadvisor.com/img2/ratings/traveler/ss5.0.gif",
     "name": "rate_service",
     "value": "5.0"
   },
   {
     "localized_name": "Value",
     "rating_image_url": "http://www.tripadvisor.com/img2/ratings/traveler/ss4.5.gif",
     "name": "rate_value",
     "value": "4.5"
   },
   {
     "localized_name": "Cleanliness",
     "rating_image_url": "http://www.tripadvisor.com/img2/ratings/traveler/ss5.0.gif",
     "name": "rate_cleanliness",
     "value": "5.0"
   }
 ]



Field

Type

Description

name

string

Name of the subrating category. Subrating categories include:

  • Accommodations: rate_service, rate_value, rate_sleep_quality, rate_cleanliness, rate_location, rate_rooms

  • Restaurants: rate_food, rate_service, rate_value, rate_atmosphere

localized_name

string

User-facing label of the subrating category. This string is localized if a language other than English is requested.

value

number

Average score of the subrating category.

rating_image_url

URL

URL to the bubble rating image for this location subrating. As noted in the Display Guidelines, subratings must be displayed using the TripAdvisor bubble rating image (without the owl icon).