POST/v1/hotels/reviews
Hotelbewertungen abrufen
Returns stored hotel reviews for the requested hotel and language to enrich hotel detail pages.
Returns stored hotel reviews for the requested hotel and language to enrich hotel detail pages.
Endpoint
| Method | Path | Auth |
|---|---|---|
POST | /v1/hotels/reviews | Required API key |
| Header | Description |
|---|---|
Authorization | Bearer <secret_key>. The secret is shown only once when the credential is created. |
X-Travelandz-Id | <public_key>:<profile_code>. The profile_code is the dp_-prefixed Developer Profile code shown in your dashboard. This binds the request to a profile and credential. |
Content-Type | Use application/json for requests with a body. |
Request Body Schema
| Property | Type | Details | Required | Notes |
|---|---|---|---|---|
hotelId | string | Yes | - | |
language | enum | eneszh | Yes | - |
Success Response
Returns review entries and provider metadata.
Response Body Schema
| Property | Type | Details | Required | Notes |
|---|---|---|---|---|
language | enum | eneszh | Yes | - |
reviews | array | Yes | - | |
reviews[]name | string | Yes | - | |
reviews[]relativePublishTimeDescription | string | Yes | - | |
reviews[]text | object | Yes | - | |
reviews[]texttext | string | Yes | - | |
reviews[]textlanguageCode | string | Yes | - | |
reviews[]originalText | object | Yes | - | |
reviews[]originalTexttext | string | Yes | - | |
reviews[]originalTextlanguageCode | string | Yes | - | |
reviews[]rating | number | Yes | - | |
reviews[]authorAttribution | object | Yes | - | |
reviews[]authorAttributiondisplayName | string | Yes | - | |
reviews[]authorAttributionuri | string | Yes | - | |
reviews[]authorAttributionphotoUri | string | Yes | - | |
reviews[]publishTime | string | Yes | - | |
reviews[]flagContentUri | string | Yes | - | |
reviews[]googleMapsUri | string | Yes | - | |
reviews[]visitDate | object | Yes | - | |
reviews[]visitDateyear | number | Yes | - | |
reviews[]visitDatemonth | number | Yes | - | |
reviews[]visitDateday | number | Yes | - | |