---
title: "Search tour destinations"
---

> 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.

# Search tour destinations

Path: Nicer API › Tours and activities

`GET /tour-viator/destinations`

URL: `https://api.nicer.travel/tour-viator/destinations`

Text search over the activities provider destinations, optionally bounded by a radius, used to anchor an activity search to a place.

## Authentication

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

## Query parameters

- `query` (`tourViator.destinations.list.query.query`; string, required)
  - minLength: `2`
- `radiusKm` (`tourViator.destinations.list.query.radiusKm`; number, optional)
  - maximum: `200`
- `limit` (`tourViator.destinations.list.query.limit`; integer, optional)
  - maximum: `100` · minimum: `1`

## 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.tourViator.destinations.list({
  "query": "string"
});
```

### Nicer CLI

```bash
nicer tour-viator destinations list --query 'string'
```

### cURL

```bash
curl --request GET \
  --url 'https://api.nicer.travel/tour-viator/destinations?query=string' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/tour-viator/destinations?query=string';
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/tour-viator/destinations?query=string"

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

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

print(response.text)
```

## Responses

### 200

OK

### 400

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

#### Example

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

- `errorCode` (`tourViator.destinations.list.response.400.errorCode`; string, required)
- `errorMessage` (`tourViator.destinations.list.response.400.errorMessage`; string, required)

### 401

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

#### Example

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

- `errorCode` (`tourViator.destinations.list.response.401.errorCode`; string, required)
- `errorMessage` (`tourViator.destinations.list.response.401.errorMessage`; string, required)

### 403

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

#### Example

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

- `errorCode` (`tourViator.destinations.list.response.403.errorCode`; string, required)
- `errorMessage` (`tourViator.destinations.list.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Tours-and-activities/tourViator.destinations.list/index.md
