---
title: "Get place details"
---

> 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 place details

Path: Nicer API › Search

`GET /search/places/{placeId}`

URL: `https://api.nicer.travel/search/places/{placeId}`

The full record of one place from a places search: every image, amenities, description and reference data. Use it when creating a segment; the list is intentionally light. Anonymous calls share one budget across the search routes, 600 per hour per IP; a valid bearer token lifts it.

## Authentication

Requires one of the following:

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

## Path parameters

- `placeId` (`search.places.get.path.placeId`; 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.search.places.get({
  "placeId": "string"
});
```

### Nicer CLI

```bash
nicer search places get --place-id 'string'
```

### cURL

```bash
curl --request GET \
  --url 'https://api.nicer.travel/search/places/<placeId>'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/search/places/<placeId>';
const options = {method: 'GET'};

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/search/places/<placeId>"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "id": "string",
  "kind": "hotel",
  "source": "string",
  "name": "string",
  "address": "string",
  "fullAddress": "string",
  "city": "string",
  "state": "string",
  "country": "string",
  "countryCode": "string",
  "zipCode": "string",
  "latitude": 0,
  "longitude": 0,
  "iataCode": "string",
  "hotelReference": "string",
  "placeId": "string",
  "photos": [
    {
      "url": "string",
      "name": "string",
      "key": "string"
    }
  ],
  "description": "string",
  "amenities": [
    "string"
  ],
  "images": [
    {
      "url": "string",
      "name": "string",
      "key": "string"
    }
  ]
}
```

- `id` (`search.places.get.response.200.id`; string, required)
- `kind` (`search.places.get.response.200.kind`; string, required)
  - one of `"hotel"`, `"city"`, `"airport"`, `"place"`
- `source` (`search.places.get.response.200.source`; string, required)
- `name` (`search.places.get.response.200.name`; string, required)
- `photos` (`search.places.get.response.200.photos`; array of object, required)
  - `url` (`search.places.get.response.200.photos.url`; string, required)
  - `name` (`search.places.get.response.200.photos.name`; string, optional)
  - `key` (`search.places.get.response.200.photos.key`; string, optional)
- `amenities` (`search.places.get.response.200.amenities`; array of string, required)
- `images` (`search.places.get.response.200.images`; array of object, required)
  - `url` (`search.places.get.response.200.images.url`; string, required)
  - `name` (`search.places.get.response.200.images.name`; string, optional)
  - `key` (`search.places.get.response.200.images.key`; string, optional)
- `address` (`search.places.get.response.200.address`; string, optional)
- `fullAddress` (`search.places.get.response.200.fullAddress`; string, optional)
- `city` (`search.places.get.response.200.city`; string, optional)
- `state` (`search.places.get.response.200.state`; string, optional)
- `country` (`search.places.get.response.200.country`; string, optional)
- `countryCode` (`search.places.get.response.200.countryCode`; string, optional)
- `zipCode` (`search.places.get.response.200.zipCode`; string, optional)
- `latitude` (`search.places.get.response.200.latitude`; number, optional)
- `longitude` (`search.places.get.response.200.longitude`; number, optional)
- `iataCode` (`search.places.get.response.200.iataCode`; string, optional)
- `hotelReference` (`search.places.get.response.200.hotelReference`; string, optional)
- `placeId` (`search.places.get.response.200.placeId`; string, optional)
- `description` (`search.places.get.response.200.description`; string, optional)

### 400

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

#### Example

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

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

### 401

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

#### Example

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

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

### 403

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

#### Example

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

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

### 429

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

#### Example

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

- `errorCode` (`search.places.get.response.429.errorCode`; string, required)
- `errorMessage` (`search.places.get.response.429.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Search/search.places.get/index.md
