---
title: "Get a preferred hotel"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.nicer.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a preferred hotel

Path: Nicer API › internova

`GET /internova/{internovaId}`

URL: `https://api.nicer.travel/internova/{internovaId}`

Returns one hotel of the preferred hotel programs (program SELECT or CURATED), as the nightly catalog sync stores it, with an absolute URL for each photo. Any signed-in person may call it. Errors: 404 ERROR_ITEM_NOT_FOUND when no hotel has that id.

## Authentication

- `bearerAuth`, http bearer, header `Authorization`, format `JWT`

## Path parameters

- `internovaId` (`internova.get.path.internovaId`; string, required)

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
});

await nicer.internova.get({
  "internovaId": "string"
});
```

### Nicer CLI

```bash
nicer internova get --internova-id 'string'
```

### cURL

```bash
curl --request GET \
  --url 'https://api.nicer.travel/internova/<internovaId>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/internova/<internovaId>';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/internova/<internovaId>"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "address": "string",
  "amenities": [
    "string"
  ],
  "city": "string",
  "country": "string",
  "countryCode": "string",
  "description": "string",
  "distanceFromSearch": {
    "unit": "km",
    "value": 0
  },
  "features": [
    "string"
  ],
  "fullAddress": "string",
  "gate": "string",
  "iataCode": "string",
  "internovaId": "string",
  "latitude": 0,
  "longitude": 0,
  "name": "string",
  "photos": [
    {
      "key": "string",
      "name": "string",
      "url": "string",
      "source": "string"
    }
  ],
  "placeId": "string",
  "region": "string",
  "source": "string",
  "state": "string",
  "terminal": "string",
  "timeZone": "string",
  "zipCode": "string",
  "additionalAmenities": [
    {
      "type": "string",
      "value": "string"
    }
  ],
  "availableFilters": [
    "string"
  ],
  "customs": [
    {
      "type": "string",
      "value": "string"
    }
  ],
  "experiences": [
    "string"
  ],
  "hotelDetails": {
    "allowedPaymentMethods": [
      "string"
    ],
    "commission": 0,
    "commissionSuite": 0,
    "contacts": [
      {
        "email": "string",
        "name": "string",
        "phone": "string",
        "title": "string",
        "type": "string"
      }
    ],
    "crownRating": "string",
    "onSiteFitnessCenterAvailable": true,
    "ratingNumber": 0,
    "smokingRoomAvailable": true,
    "totalNumberFloors": 0,
    "totalNumberOfRooms": 0
  },
  "program": "SELECT",
  "providerReferences": [
    {
      "chainCode": "string",
      "propertyCode": "string",
      "system": "string"
    }
  ],
  "searchKey": "string",
  "specialAmenities": [
    {
      "type": "string",
      "value": "string"
    }
  ],
  "createdAt": "string",
  "updatedAt": "string",
  "type": "Internova"
}
```

- `internovaId` (`internova.get.response.200.internovaId`; string, required)
- `program` (`internova.get.response.200.program`; string, required)
  - one of `"SELECT"`, `"CURATED"`
- `searchKey` (`internova.get.response.200.searchKey`; string, required)
- `createdAt` (`internova.get.response.200.createdAt`; string, required)
- `updatedAt` (`internova.get.response.200.updatedAt`; string, required)
- `type` (`internova.get.response.200.type`; string, required)
- `address` (`internova.get.response.200.address`; any of, optional)
  - any of the following: `string`, `null`
- `amenities` (`internova.get.response.200.amenities`; array of string, optional)
- `city` (`internova.get.response.200.city`; any of, optional)
  - any of the following: `string`, `null`
- `country` (`internova.get.response.200.country`; string, optional)
- `countryCode` (`internova.get.response.200.countryCode`; string, optional)
- `description` (`internova.get.response.200.description`; string, optional)
- `distanceFromSearch` (`internova.get.response.200.distanceFromSearch`; object, optional)
  - `unit` (`internova.get.response.200.distanceFromSearch.unit`; string, required)
    - one of `"km"`, `"mi"`
  - `value` (`internova.get.response.200.distanceFromSearch.value`; number, required)
- `features` (`internova.get.response.200.features`; array of string, optional)
- `fullAddress` (`internova.get.response.200.fullAddress`; string, optional)
- `gate` (`internova.get.response.200.gate`; any of, optional)
  - any of the following: `string`, `null`
- `iataCode` (`internova.get.response.200.iataCode`; any of, optional)
  - any of the following: `string`, `null`
- `latitude` (`internova.get.response.200.latitude`; number, optional)
- `longitude` (`internova.get.response.200.longitude`; number, optional)
- `name` (`internova.get.response.200.name`; string, optional)
- `photos` (`internova.get.response.200.photos`; array of object, optional)
  - `name` (`internova.get.response.200.photos.name`; string, required)
  - `url` (`internova.get.response.200.photos.url`; string, required) — The photo's absolute URL; empty for a photo without a key.
  - `source` (`internova.get.response.200.photos.source`; string, required) — The program catalog the photo comes from, the same on every photo.
  - `key` (`internova.get.response.200.photos.key`; string, optional)
- `placeId` (`internova.get.response.200.placeId`; string, optional)
- `region` (`internova.get.response.200.region`; string, optional)
- `source` (`internova.get.response.200.source`; string, optional)
- `state` (`internova.get.response.200.state`; any of, optional)
  - any of the following: `string`, `null`
- `terminal` (`internova.get.response.200.terminal`; any of, optional)
  - any of the following: `string`, `null`
- `timeZone` (`internova.get.response.200.timeZone`; string, optional)
- `zipCode` (`internova.get.response.200.zipCode`; any of, optional)
  - any of the following: `string`, `null`
- `additionalAmenities` (`internova.get.response.200.additionalAmenities`; array of object, optional)
  - `type` (`internova.get.response.200.additionalAmenities.type`; string, required)
  - `value` (`internova.get.response.200.additionalAmenities.value`; any of, required)
    - any of the following:
      - `Option 1`
        - any of the following:
          - `string`
          - `boolean`
      - `number`
- `availableFilters` (`internova.get.response.200.availableFilters`; array of string, optional)
- `customs` (`internova.get.response.200.customs`; array of object, optional)
  - `type` (`internova.get.response.200.customs.type`; string, required)
  - `value` (`internova.get.response.200.customs.value`; any of, required)
    - any of the following:
      - `Option 1`
        - any of the following:
          - `string`
          - `boolean`
      - `number`
- `experiences` (`internova.get.response.200.experiences`; array of string, optional)
- `hotelDetails` (`internova.get.response.200.hotelDetails`; object, optional)
  - `allowedPaymentMethods` (`internova.get.response.200.hotelDetails.allowedPaymentMethods`; array of string, optional)
  - `commission` (`internova.get.response.200.hotelDetails.commission`; number, optional)
  - `commissionSuite` (`internova.get.response.200.hotelDetails.commissionSuite`; number, optional)
  - `contacts` (`internova.get.response.200.hotelDetails.contacts`; array of object, optional)
    - `type` (`internova.get.response.200.hotelDetails.contacts.type`; string, required)
    - `email` (`internova.get.response.200.hotelDetails.contacts.email`; string, optional)
    - `name` (`internova.get.response.200.hotelDetails.contacts.name`; string, optional)
    - `phone` (`internova.get.response.200.hotelDetails.contacts.phone`; string, optional)
    - `title` (`internova.get.response.200.hotelDetails.contacts.title`; string, optional)
  - `crownRating` (`internova.get.response.200.hotelDetails.crownRating`; string, optional)
  - `onSiteFitnessCenterAvailable` (`internova.get.response.200.hotelDetails.onSiteFitnessCenterAvailable`; boolean, optional)
  - `ratingNumber` (`internova.get.response.200.hotelDetails.ratingNumber`; number, optional)
  - `smokingRoomAvailable` (`internova.get.response.200.hotelDetails.smokingRoomAvailable`; boolean, optional)
  - `totalNumberFloors` (`internova.get.response.200.hotelDetails.totalNumberFloors`; number, optional)
  - `totalNumberOfRooms` (`internova.get.response.200.hotelDetails.totalNumberOfRooms`; number, optional)
- `providerReferences` (`internova.get.response.200.providerReferences`; array of object, optional)
  - `chainCode` (`internova.get.response.200.providerReferences.chainCode`; string, required)
    - minLength: `1`
  - `propertyCode` (`internova.get.response.200.providerReferences.propertyCode`; string, required)
    - minLength: `1`
  - `system` (`internova.get.response.200.providerReferences.system`; string, required)
- `specialAmenities` (`internova.get.response.200.specialAmenities`; array of object, optional)
  - `type` (`internova.get.response.200.specialAmenities.type`; string, required)
  - `value` (`internova.get.response.200.specialAmenities.value`; any of, required)
    - any of the following:
      - `Option 1`
        - any of the following:
          - `Option 1`
            - any of the following:
              - `string`
              - `boolean`
          - `number`
      - `null`

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`internova.get.response.400.errorCode`; string, required)
- `errorMessage` (`internova.get.response.400.errorMessage`; string, required)

### 401

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`internova.get.response.401.errorCode`; string, required)
- `errorMessage` (`internova.get.response.401.errorMessage`; string, required)

### 403

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`internova.get.response.403.errorCode`; string, required)
- `errorMessage` (`internova.get.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/internova/internova.get/index.md
