# Tours



List published tours and the departures guests can join.



## List tours

`GET /v1/public/tours`

A shop website lists bookable tours using its published host or site key; an unpublished or closed shop returns 404.

### Parameters

- `X-Outdoor-Grid-Site-Key` (string): Site key for a shop website server. Optional when the published shop host identifies the shop.

### Body parameters

None.

### Returns

A JSON response with currency, tours.

### Errors

- 404: The shop has no published booking page or online booking is closed.

### Request

```bash
API_BASE="https://api.outdoorgrid.ai"
curl -X GET "$API_BASE/v1/public/tours" \
  -H "X-Outdoor-Grid-Site-Key: $SITE_KEY"
```

```javascript
const url = "https://api.outdoorgrid.ai" +
  "/v1/public/tours";
const response = await fetch(url, {
  method: "GET",
  headers: {
    "X-Outdoor-Grid-Site-Key": process.env.SITE_KEY,
  },
});
const data = await response.json();
```

```python
import os
import requests

url = (
    "https://api.outdoorgrid.ai"
    "/v1/public/tours"
)
response = requests.get(
    url,
    headers={
        "X-Outdoor-Grid-Site-Key": os.environ["SITE_KEY"],
    },
    timeout=10,
)
response.raise_for_status()
print(response.json())
```

### Response

```json
{
  "currency": "EUR",
  "tours": [
    {
      "description": {
        "de": "Trailbike Verleih",
        "en": "Trail bike rental",
        "fr": "Location de vélo trail",
        "it": "Bici da trail"
      },
      "duration_minutes": 2,
      "id": "6d1be72e-6c1b-4b1b-821b-711bed7a701b",
      "kind": "group_tour",
      "name": {
        "de": "Trailbike Verleih",
        "en": "Trail bike rental",
        "fr": "Location de vélo trail",
        "it": "Bici da trail"
      },
      "next_departure_at": "2026-07-18T09:00:00Z",
      "price_from_minor": 4500,
      "slug": "alpine-trail-demo"
    }
  ]
}
```

## List tour departures

`GET /v1/public/tours/{slug}/departures`

A shop website reads open departures for one tour using its published host or site key; unknown tours and closed shops return 404.

### Parameters

- `slug` (string, required): Tour slug from the public tours list.
- `from` (string · date): First local day, default today
- `to` (string · date): Last local day, default 30 days after from; at most 62 days
- `X-Outdoor-Grid-Site-Key` (string): Site key for a shop website server. Optional when the published shop host identifies the shop.

### Body parameters

None.

### Returns

A JSON response with currency, departures, from.

### Errors

- 404: The tour or published booking page was not found, or online booking is closed.
- 422: A field or parameter failed validation.

### Request

```bash
API_BASE="https://api.outdoorgrid.ai"
curl -X GET "$API_BASE/v1/public/tours/alpine-trail-demo/departures" \
  -H "X-Outdoor-Grid-Site-Key: $SITE_KEY"
```

```javascript
const url = "https://api.outdoorgrid.ai" +
  "/v1/public/tours/alpine-trail-demo/departures";
const response = await fetch(url, {
  method: "GET",
  headers: {
    "X-Outdoor-Grid-Site-Key": process.env.SITE_KEY,
  },
});
const data = await response.json();
```

```python
import os
import requests

url = (
    "https://api.outdoorgrid.ai"
    "/v1/public/tours/alpine-trail-demo/departures"
)
response = requests.get(
    url,
    headers={
        "X-Outdoor-Grid-Site-Key": os.environ["SITE_KEY"],
    },
    timeout=10,
)
response.raise_for_status()
print(response.json())
```

### Response

```json
{
  "currency": "EUR",
  "departures": [
    {
      "ends_at": "2026-07-18T09:00:00Z",
      "id": "8448ae2c-8748-4648-8148-8048a7e08348",
      "language": "English",
      "price_minor": 4500,
      "seats_left": 2,
      "starts_at": "2026-07-18T09:00:00Z"
    }
  ],
  "from": "2026-07-18",
  "name": {
    "de": "Trailbike Verleih",
    "en": "Trail bike rental",
    "fr": "Location de vélo trail",
    "it": "Bici da trail"
  },
  "slug": "alpine-trail-demo",
  "to": "2026-07-18"
}
```

## The Tour object



- `description` (object, required): Description shown to guests.
  - `de` (string, required): 
  - `en` (string, required): 
  - `fr` (string, required): 
  - `it` (string, required): 
- `duration_minutes` (integer, required): Length of the tour in minutes.
- `id` (string · uuid, required): Identifier of this tour, used in tour listings.
- `images` (object[]): The tour's photos, cover first; empty when it has none
  - `alt` (object): Alternative text for this photo, by language.
    - `de` (string, required): 
    - `en` (string, required): 
    - `fr` (string, required): 
    - `it` (string, required): 
  - `height` (integer): Image height in pixels.
  - `url` (string, required): Link to the guest-facing image rendition; the link remains usable for several days.
  - `width` (integer): Image width in pixels.
- `kind` (string, required): Tour type: group_tour, private_tour, lesson, shuttle or transfer. Values: `group_tour`, `private_tour`, `shuttle`, `transfer`, `lesson`.
- `name` (object, required): Name shown to guests.
  - `de` (string, required): 
  - `en` (string, required): 
  - `fr` (string, required): 
  - `it` (string, required): 
- `next_departure_at` (string · date-time, required): Start of the next open departure; null when none is open.
- `price_from_minor` (integer, required): One seat on the next open departure; null when none is open or it has no price
- `slug` (string, required): Public address name used in the URL.



```json

{
  "description": {
    "de": "Trailbike Verleih",
    "en": "Trail bike rental",
    "fr": "Location de vélo trail",
    "it": "Bici da trail"
  },
  "duration_minutes": 2,
  "id": "e0f9b6ce-dff9-4ef9-85f9-e4f9bd1ae3f9",
  "kind": "group_tour",
  "name": {
    "de": "Trailbike Verleih",
    "en": "Trail bike rental",
    "fr": "Location de vélo trail",
    "it": "Bici da trail"
  },
  "next_departure_at": "2026-07-18T09:00:00Z",
  "price_from_minor": 4500,
  "slug": "alpine-trail-demo"
}

```