> Full index: https://docs.buchungapp.com/llms.txt
> Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples.

# Site metadata, locations and trust

`GET /site` returns the operator's branding (`brand`, including `logo` and optional `logoOnDark`), legal links, supported `locales`, `currency`, default `timeZone`, public `locations` and operator-wide `trustSignals`. Activities and availabilities carry their own derived `locations` and resolved `trustSignals`.

## Locations and itineraries [#locations-and-itineraries]

Locations are operator truth with stable IDs:

- **`Site.locations`** lists the operator's public places: `id`, `kind` (`office` or `activity_site`), localized `name`, contact `channels` and optional `address`, `coordinates` and `timezone`. Every location carries an `address`, `coordinates`, or both (meeting points and itinerary stops may be coordinates-only, so `address` is optional). When an address is present, preserve `address1` and nullable `address2` without splitting lines to guess `components`.
- **`Availability.locations`** (and each booking option's `locations`) carries the event's ordered itinerary as `{ role, position, location }` rows in ascending `position` order, without contact channels. Roles are `venue` by default, or `departure`, `stop` and `arrival` for trips.
- **`Activity.locations`** summarizes distinct places across published availabilities as `{ id, kind, name }`.

> **Current rollout state**
>
> `Site.locations` is populated today with stable IDs. `Activity.locations` and `Availability.locations` are required arrays in the contract and currently return `[]` until per-event itinerary authoring rolls out. An empty itinerary is also normal for online or customer-chosen locations. Never guess a venue from `Site.locations` when an itinerary is empty.

### Rendering endpoint timezones [#rendering-endpoint-timezones]

Render `startsAt` in the departure location's `timezone` and `endsAt` in the arrival location's `timezone` when set. Fall back independently to the availability's operator-default `timeZone` when either endpoint has no timezone. Timestamps are absolute instants, so never substitute the visitor's browser timezone.

This synthetic availability illustrates a multi-stop crossing across timezones (departure displays as 09:00 on 10 January in `Atlantic/Cape_Verde`; arrival displays as 18:00 on 2 February in `Europe/Lisbon`, or 19:00 if falling back to `Europe/Amsterdam`):

```json
{
  "startsAt": "2027-01-10T10:00:00Z",
  "endsAt": "2027-02-02T18:00:00Z",
  "timeZone": "Europe/Amsterdam",
  "locations": [
    {
      "role": "departure",
      "position": 0,
      "location": {
        "id": "58e31c20-7526-4b2a-915e-cf84b4120001",
        "kind": "activity_site",
        "name": "Example South Harbour",
        "address": {
          "address1": "Example quay 1",
          "address2": null,
          "postalCode": "0000",
          "city": "Example city 1",
          "countryCode": "CV"
        },
        "coordinates": {
          "latitude": 16.9,
          "longitude": -25.0
        },
        "timezone": "Atlantic/Cape_Verde"
      }
    },
    {
      "role": "stop",
      "position": 1,
      "location": {
        "id": "58e31c20-7526-4b2a-915e-cf84b4120002",
        "kind": "activity_site",
        "name": "Example Island Quay",
        "coordinates": {
          "latitude": 28.1,
          "longitude": -15.4
        },
        "timezone": "Atlantic/Canary"
      }
    },
    {
      "role": "stop",
      "position": 2,
      "location": {
        "id": "58e31c20-7526-4b2a-915e-cf84b4120003",
        "kind": "activity_site",
        "name": "Example Ocean Pier",
        "address": {
          "address1": "Example quay 3",
          "address2": null,
          "postalCode": "0000",
          "city": "Example city 3",
          "countryCode": "PT"
        },
        "coordinates": {
          "latitude": 38.5,
          "longitude": -28.6
        },
        "timezone": "Atlantic/Azores"
      }
    },
    {
      "role": "arrival",
      "position": 3,
      "location": {
        "id": "58e31c20-7526-4b2a-915e-cf84b4120004",
        "kind": "activity_site",
        "name": "Example North Harbour",
        "address": {
          "address1": "Example quay 4",
          "address2": null,
          "postalCode": "0000",
          "city": "Example city 4",
          "countryCode": "PT"
        },
        "coordinates": {
          "latitude": 38.7,
          "longitude": -9.1
        },
        "timezone": "Europe/Lisbon"
      }
    }
  ]
}
```

## Trust signals [#trust-signals]

Trust signals project operator-verified evidence such as accreditations, memberships, guarantees, payment-method badges, awards and external review scores.

- **`Activity.trustSignals`** contains signals applicable to that activity (operator, category or explicit activity scope), resolved server-side in display order.
- **`Site.trustSignals`** contains operator-wide signals in display order.
- **`surfaces`** (`footer`, `activity_card`, `activity_page`, `checkout`, `confirmation_email`) lists allowed presentation placements; ignore surfaces your frontend does not render.
- **Open vocabularies:** `kind`, `source` (`library`, `authored`, `integration`), `renderingShape` and `surfaces` may gain new strings within v1. Accept unknown values with a fallback.
- **Expiration and freshness:** the server omits expired signals (`validUntil`) and stale snapshots; review texts never appear.

| Known `renderingShape` | Evidence | Rendering |
| --- | --- | --- |
| `badge` | Assertion (no `snapshot`) | Title, optional `logo` (prefer over interim `logoUrl`) and optional public link |
| `rating` | `review_score` with required `snapshot` | `value` out of `max`, `count`, `sourceUrl` and provider `attribution` |
| `widget` | `review_score` with required `snapshot` | Provider-mandated widget with required attribution |

> **Current rollout state**
>
> Live data currently projects operator accreditations with stable IDs. External review connectors and operator-authored trust signals use the same schema when enabled.

### Example: activity with a library accreditation [#example-activity-with-a-library-accreditation]

```json
{
  "locale": "en",
  "id": "a13b8d21-923e-4fe7-bfe2-fdd803abac91",
  "handle": "example-course",
  "title": "Example course",
  "description": null,
  "html": null,
  "bookingUnitNounForms": [
    {
      "locale": "en",
      "forms": {
        "one": "participant",
        "other": "participants"
      }
    }
  ],
  "categories": [],
  "locations": [],
  "usps": [],
  "trustSignals": [
    {
      "id": "711a531c-39f1-4390-8866-d9a8b032258f",
      "kind": "accreditation",
      "source": "library",
      "title": "Example Training Mark",
      "url": "https://standards.example.com/training",
      "logo": {
        "id": "ec87b637-169f-4e97-8df0-c91d0c935ccd",
        "type": "image",
        "url": "https://media.example.com/training-mark.svg",
        "srcSet": [],
        "alt": "Example Training Mark",
        "position": 0
      },
      "renderingShape": "badge",
      "surfaces": [
        "activity_card",
        "activity_page"
      ],
      "validUntil": "2027-12-31"
    }
  ],
  "media": [],
  "facts": {},
  "customFacts": {}
}
```

### Example: site with an attributed review score [#example-site-with-an-attributed-review-score]

```json
{
  "locale": "en",
  "trustSignals": [
    {
      "id": "edb074eb-d9cb-4e7f-afae-728228162453",
      "kind": "review_score",
      "source": "integration",
      "title": "Example Reviews",
      "url": "https://reviews.example.com/example-operator",
      "renderingShape": "rating",
      "surfaces": [
        "footer",
        "checkout"
      ],
      "snapshot": {
        "value": 4.8,
        "max": 5,
        "count": 42,
        "fetchedAt": "2026-10-20T09:00:00Z",
        "sourceUrl": "https://reviews.example.com/example-operator",
        "attribution": "Example Reviews"
      }
    }
  ],
  "operator": {
    "id": "43030d39-9bcf-4cd7-b46e-cb534ab5d2d9",
    "name": "Example Operator",
    "legalName": "Example Operator Ltd"
  },
  "brand": {
    "name": "Example Operator",
    "socials": []
  },
  "locations": [],
  "legal": {
    "privacyUrl": null,
    "termsUrl": null,
    "contactUrl": null
  },
  "locales": [
    {
      "code": "en",
      "isDefault": true
    }
  ],
  "defaultLocale": "en",
  "timeZone": "Europe/Amsterdam",
  "currency": "EUR"
}
```

