Skip to main content
SpaPortal stores selected text fields in multiple locales. Send Accept-Language to choose the localized values you want:
API v2 accepts BCP 47 language tags in requests. Supported response locale keys are cs-CZ, de, en, and ru. Regional request tags are matched to the closest supported locale. For example, de-DE and de-AT both return localized fields under de. Localized response fields are objects keyed by supported response locale:
The response includes Content-Language with the locale tags returned.

Language ranges

Use these request values to select localized fields: Quality values (;q=) order the returned keys. Tags with q=0 are ignored. When Accept-Language is omitted, the API returns all supported locale keys for that field. When the header contains only unsupported languages, the API returns cs-CZ.

Missing translations

A requested key is always present in a localized field. When a translation is missing or empty, its value is null — the API never returns an empty string. The hotel name is the one exception: a missing translation falls back to the Czech value, so name values are never null.