Skip to main content
GET
/
amenities
List the amenity dictionary
curl --request GET \
  --url https://spaportal.cz/api/v2/amenities \
  --header 'X-SpaPortal-Public-Key: <api-key>'
{
  "data": [
    {
      "code": "wellness.sauna",
      "category": "wellness",
      "scope": [
        "hotel",
        "roomType"
      ],
      "valueType": "boolean",
      "label": {
        "cs-CZ": "Sauna",
        "de": "Sauna",
        "en": "Sauna"
      }
    },
    {
      "code": "parking.parking",
      "category": "parking",
      "scope": [
        "hotel"
      ],
      "valueType": "count",
      "label": {
        "cs-CZ": "Parkoviště",
        "de": "Parkplatz",
        "en": "Parking"
      }
    },
    {
      "code": "connectivity.wifi",
      "category": "connectivity",
      "scope": [
        "hotel",
        "roomType"
      ],
      "valueType": "boolean",
      "label": {
        "cs-CZ": "Wi-Fi",
        "de": "WLAN",
        "en": "Wi-Fi"
      }
    },
    {
      "code": "comfort.air_conditioning",
      "category": "comfort",
      "scope": [
        "roomType"
      ],
      "valueType": "boolean",
      "label": {
        "cs-CZ": "Klimatizace",
        "de": "Klimaanlage",
        "en": "Air conditioning"
      }
    }
  ]
}
Draft — not yet available. This is a work-in-progress contract for an endpoint that is not implemented yet. It may change before release; do not build against it.

Authorizations

X-SpaPortal-Public-Key
string
header
required

See Authentication for how to obtain and send your public key.

Headers

Accept-Language
string

Comma-separated BCP 47 language tags selecting which locale keys localized fields return. When omitted, all locale keys are returned. See Localization for details.

Example:

"cs-CZ,de"

X-Request-Id
string

Optional client-provided request identifier echoed in error responses.

Query Parameters

scope
enum<string>

Filter to amenities that apply at this level.

Available options:
hotel,
roomType
category
string

Filter to a single category.

Response

The amenity dictionary.

Draft. The full list of amenities, returned in one response (small, not paginated).

data
object[]
required