API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

review_summary

Aggregate review scores for a lodging

Fields

score
number · double
required

Overall review score on a 5-star scale

Range ≥ 0, ≤ 5 · Example 4.2
count
integer · int32
required

Total number of reviews contributing to the score

Range ≥ 0 · Example 342
rating_image
string · uri

URI of the star-rating image for the overall score

Example https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/4.0-12345-4.svg
Example
{
  "score": 4.2,
  "count": 342,
  "rating_image": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/4.0-12345-4.svg"
}