# Get hotel details and rates (v1)

Returns a hotel's description, photos, amenities, location and guest scores; with dates, also every room type with its live rates and cancellation terms. `data` is null for a hotel ID Priceline does not know.

- Platform: Priceline
- Request: `GET https://api.toolzerhub.com/v1/priceline/hotel`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/priceline/hotel/get-priceline-hotel

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `hotel` | query | yes | string | hotel_id from a search or locations result, or a priceline.com hotel link such as https://www.priceline.com/relax/at/291003. |
| `checkin` | query | no | string | Arrival date, YYYY-MM-DD. With checkout, adds rooms with live rates; omit both for the hotel profile only. |
| `checkout` | query | no | string | Departure date, YYYY-MM-DD. Required together with checkin. |
| `adults` | query | no | integer | Adults across all rooms. Default: 2. |
| `rooms` | query | no | integer | Rooms to book. Default: 1. |
| `children` | query | no | string | Each child's age (0-17), separated by commas. Omit for no children. Default: . |
| `currency` | query | no | string | ISO 4217 currency for every price, such as USD, EUR or GBP. Default: USD. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/priceline/hotel?hotel=<hotel>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
