> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api-docs.navisavitravel.com/llms.txt.

# Get a destination

GET https://api.navisavitravel.com/v1/destinations/{destinationId}

Returns full detail for a published destination, including its geographic members and video count.

Reference: https://api-docs.navisavitravel.com/api-reference/geography/get-destination

## Authentication

- `x-api-key` header (required) — API key issued with your NaviSavi plan

## Servers

- `https://api.navisavitravel.com` (Production, default)
- `https://api-dev.navisavitravel.com` (Development)

## Request

### Path parameters

- `destinationId` (integer, optional)

## Response

### 200

Destination detail

- `id` (integer, required)
- `name` (string, required)
- `slug` (string, required)
- `category` (string, required)
- `description` (string, required, nullable)
- `aliases` (list of string, required)
- `heroImageUrl` (string, required, nullable)
- `editorial` (DestinationDetailEditorial, required, nullable)
- `videoCount` (integer, required)
- `members` (list of DestinationDetailMembersItems, required)
- `topSeasons` (list of DestinationDetailTopSeasonsItems, required)
- `topExperienceCategories` (list of DestinationDetailTopExperienceCategoriesItems, required)
- `topVibes` (list of DestinationDetailTopVibesItems, required)
- `topAudienceSegments` (list of DestinationDetailTopAudienceSegmentsItems, required)
- `topCountries` (list of DestinationDetailTopCountriesItems, required)
- `topLocalities` (list of DestinationDetailTopLocalitiesItems, required)
- `topLocations` (list of DestinationDetailTopLocationsItems, required)
- `seasonality` (DestinationDetailSeasonality, required, nullable)
- `experienceProfile` (DestinationDetailExperienceProfile, required, nullable)

## Errors

### 400 Bad Request Error

Invalid request parameters

- `error` (string, required)
- `details` (map from string to any, optional)

### 403 Forbidden Error

Missing or invalid API key

- `error` (string, required)
- `details` (map from string to any, optional)

### 404 Not Found Error

Resource not found

- `error` (string, required)
- `details` (map from string to any, optional)

### 500 Internal Server Error

Internal server error

- `error` (string, required)
- `details` (map from string to any, optional)

## Types

### DestinationDetailEditorial

- `description` (string, required)
- `metaTitle` (string, required)
- `metaDescription` (string, required)

### DestinationDetailMembersItems

- `id` (integer, required)
- `name` (string, required)
- `slug` (string, required)
- `type` (enum, required)
  - Allowed values: `Country`, `Region`, `Locality`, `Location`
- `position` (integer, required)

### DestinationDetailTopSeasonsItems

- `name` (string, required)

### DestinationDetailTopExperienceCategoriesItems

- `name` (string, required)

### DestinationDetailTopVibesItems

- `name` (string, required)

### DestinationDetailTopAudienceSegmentsItems

- `name` (string, required)

### DestinationDetailTopCountriesItems

- `id` (integer, required)
- `name` (string, required)
- `slug` (string, required)

### DestinationDetailTopLocalitiesItems

- `id` (integer, required)
- `name` (string, required)
- `slug` (string, required)

### DestinationDetailTopLocationsItems

- `id` (integer, required)
- `name` (string, required)
- `slug` (string, required)

### DestinationDetailSeasonality

- `totalVideos` (integer, required)
- `peakMonth` (string, required)
- `months` (list of DestinationDetailSeasonalityMonthsItems, required)
- `insight` (string, required, nullable)

### DestinationDetailExperienceProfile

- `videoCount` (integer, required)
- `profile` (DestinationDetailExperienceProfileProfile, required)
- `distinctiveAxes` (list of DestinationDetailExperienceProfileDistinctiveAxesItems, required)
- `summary` (string, required, nullable)

### DestinationDetailSeasonalityMonthsItems

- `month` (integer, required)
- `monthName` (string, required)
- `videoCount` (integer, required)
- `isPeak` (boolean, required)
- `seasonLabel` (string, required)

### DestinationDetailExperienceProfileProfile

- `relaxingToAdventurous` (double, required, nullable)
- `intimateToSocial` (double, required, nullable)
- `localToBranded` (double, required, nullable)
- `natureToUrban` (double, required, nullable)
- `quietToLively` (double, required, nullable)
- `classicToTrendy` (double, required, nullable)
- `enrichingToIndulgent` (double, required, nullable)
- `iconicToHiddenGem` (double, required, nullable)
- `photogenicToFunctional` (double, required, nullable)

### DestinationDetailExperienceProfileDistinctiveAxesItems

- `axis` (string, required)
- `value` (double, required)
- `label` (string, required)
- `deviation` (double, required)

## Examples

**Response**

```json
{
  "id": 1,
  "name": "Scottish Highlands",
  "slug": "scottish-highlands",
  "category": "Region",
  "description": "A dramatic landscape of lochs, glens, and ancient castles.",
  "aliases": [
    "The Highlands",
    "Highland Scotland"
  ],
  "heroImageUrl": "https://cdn.example.com/thumb.png",
  "editorial": {
    "description": "string",
    "metaTitle": "string",
    "metaDescription": "string"
  },
  "videoCount": 84,
  "members": [
    {
      "id": 12,
      "name": "Inverness",
      "slug": "inverness",
      "type": "Locality",
      "position": 1
    },
    {
      "id": 200,
      "name": "Loch Ness",
      "slug": "loch-ness",
      "type": "Location",
      "position": 2
    }
  ],
  "topSeasons": [
    {
      "name": "Summer"
    },
    {
      "name": "Autumn"
    }
  ],
  "topExperienceCategories": [
    {
      "name": "Nature & Outdoors"
    },
    {
      "name": "Culture & Heritage"
    }
  ],
  "topVibes": [
    {
      "name": "Adventurous"
    },
    {
      "name": "Scenic"
    }
  ],
  "topAudienceSegments": [
    {
      "name": "Couples"
    },
    {
      "name": "Nature & Adventure Seekers"
    }
  ],
  "topCountries": [
    {
      "id": 5,
      "name": "United Kingdom",
      "slug": "united-kingdom"
    }
  ],
  "topLocalities": [
    {
      "id": 12,
      "name": "Inverness",
      "slug": "inverness"
    }
  ],
  "topLocations": [
    {
      "id": 200,
      "name": "Loch Ness",
      "slug": "loch-ness"
    }
  ],
  "seasonality": {
    "totalVideos": 84,
    "peakMonth": "August",
    "months": [
      {
        "month": 8,
        "monthName": "August",
        "videoCount": 22,
        "isPeak": true,
        "seasonLabel": "Late summer"
      }
    ],
    "insight": null
  },
  "experienceProfile": {
    "videoCount": 84,
    "profile": {
      "relaxingToAdventurous": 7.4,
      "intimateToSocial": 4.1,
      "localToBranded": 6.8,
      "natureToUrban": 8.9,
      "quietToLively": 3.2,
      "classicToTrendy": 5.5,
      "enrichingToIndulgent": 6.1,
      "iconicToHiddenGem": 5.9,
      "photogenicToFunctional": 7.7
    },
    "distinctiveAxes": [
      {
        "axis": "natureToUrban",
        "value": 8.9,
        "label": "Nature",
        "deviation": 1.8
      }
    ],
    "summary": "A nature-driven escape with a relaxing, adventurous edge."
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.navisavitravel.com/v1/destinations/1"

headers = {"x-api-key": "<apiKey>"}

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

print(response.json())
```

```javascript
const url = 'https://api.navisavitravel.com/v1/destinations/1';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.navisavitravel.com/v1/destinations/1"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.navisavitravel.com/v1/destinations/1")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.navisavitravel.com/v1/destinations/1")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.navisavitravel.com/v1/destinations/1', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.navisavitravel.com/v1/destinations/1");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.navisavitravel.com/v1/destinations/1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```