Docs
Get an API key
Hotel content

Read hotel details and reviews

GET
/v1/hotel/content/{hotel_id}

You retrieve content using a hotel_id returned by the service. You receive cached content while stale sources refresh in the background. A supported source that has never been fetched is retrieved before the response; a failure returns a supplier error while retaining any source successfully saved. Details and reviews refresh independently. Null means a supplier has not provided the value. Images and reviews are capped at twenty each. Reviewer names are omitted.

Authorization

x-api-key<token>

Your API key. Issued and revoked from the TrustPixel dashboard; the gateway resolves it to an owning organization on every request.

In: header

Path Parameters

hotel_id*string
Match^htl_[a-zA-Z0-9-]+$
Lengthlength <= 128

Header Parameters

x-request-id?string

Correlation id echoed to the upstream service and returned on the response. Generated as req_<uuid> when omitted.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/hotel/content/string"
{  "data": {    "hotel_id": "string",    "name": "string",    "description": "string",    "chain": "string",    "star_rating": 0,    "guest_rating": 0,    "review_count": 0,    "address": "string",    "city": "string",    "country": "string",    "zip": "string",    "latitude": 0,    "longitude": 0,    "main_photo": "string",    "thumbnail": "string",    "phone": "string",    "email": "string",    "time_zone": "string",    "check_in_start": "string",    "check_in_end": "string",    "check_out": "string",    "important_information": "string",    "pets_allowed": true,    "child_allowed": true,    "parking": "string",    "amenities": [      "string"    ],    "images": [      {        "url": "string",        "hd_url": "string",        "caption": "string",        "order": 0,        "is_default": true      }    ],    "rooms": [      {        "name": "string",        "photos": [          {            "url": "string",            "hd_url": "string",            "caption": "string",            "order": 0,            "is_default": true          }        ]      }    ],    "policies": [      {        "type": "string",        "name": "string",        "description": "string"      }    ],    "points_of_interest": [      {        "name": "string",        "category": "string",        "distance_km": 0,        "importance": "string"      }    ],    "sentiment": {      "categories": [        {          "name": "string",          "rating": 0,          "description": "string"        }      ],      "pros": [        "string"      ],      "cons": [        "string"      ]    },    "reviews": [      {        "score": 0,        "headline": "string",        "pros": "string",        "cons": "string",        "date": "string",        "language": "string",        "traveler_type": "string",        "country": "string",        "source": "string"      }    ]  }}