curl --request GET \
--url https://spaportal.cz/api/v1/price \
--header 'Authorization: Bearer <token>'import requests
url = "https://spaportal.cz/api/v1/price"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://spaportal.cz/api/v1/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://spaportal.cz/api/v1/price",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://spaportal.cz/api/v1/price"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://spaportal.cz/api/v1/price")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://spaportal.cz/api/v1/price")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"cs_CZ": {
"amount": 15936,
"currency": "CZK",
"price_breakdown": {
"base_price": 19920,
"discounts": [
{
"price_discount": 996,
"guest": 1,
"loyalty_program": {
"_id": "66f16191f739705faa020007",
"id": 2,
"name": {
"cs_CZ": "VIP Club Premium",
"de": "VIP Club Premium",
"en": "VIP Club Premium"
}
}
}
],
"promotions": [
{
"name": {
"cs_CZ": "Letní sleva",
"de": "Sommerrabatt",
"en": "Summer discount"
},
"percentage": 15,
"amount": 2988,
"nights": 4,
"valid_from": "2026-06-21",
"valid_to": "2026-06-25"
}
]
}
},
"de": {
"amount": 638.3,
"currency": "EUR",
"price_breakdown": {
"base_price": 798,
"discounts": [
{
"price_discount": 40,
"guest": 1,
"loyalty_program": {
"_id": "66f16191f739705faa020007",
"id": 2,
"name": {
"cs_CZ": "VIP Club Premium",
"de": "VIP Club Premium",
"en": "VIP Club Premium"
}
}
}
],
"promotions": [
{
"name": {
"cs_CZ": "Letní sleva",
"de": "Sommerrabatt",
"en": "Summer discount"
},
"percentage": 15,
"amount": 119.7,
"nights": 4,
"valid_from": "2026-06-21",
"valid_to": "2026-06-25"
}
]
}
}
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}Get price
Returns the final price for a concrete visit type, room type, arrival date, and departure date. Loyalty program IDs can apply guest-level discounts. The returned amount includes any active discount promotions, itemized in price_breakdown.promotions. Every occupied night in the half-open [date_from, date_to) range must have a price for the requested room type in at least one supported currency. The checkout day (date_to) is not charged. If no single currency covers the complete stay, the endpoint returns 422 instead of a partial price. Coverage is required for per-visit price lists too: a package season must span every occupied night of the stay, not only its check-in date.
curl --request GET \
--url https://spaportal.cz/api/v1/price \
--header 'Authorization: Bearer <token>'import requests
url = "https://spaportal.cz/api/v1/price"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://spaportal.cz/api/v1/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://spaportal.cz/api/v1/price",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://spaportal.cz/api/v1/price"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://spaportal.cz/api/v1/price")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://spaportal.cz/api/v1/price")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"cs_CZ": {
"amount": 15936,
"currency": "CZK",
"price_breakdown": {
"base_price": 19920,
"discounts": [
{
"price_discount": 996,
"guest": 1,
"loyalty_program": {
"_id": "66f16191f739705faa020007",
"id": 2,
"name": {
"cs_CZ": "VIP Club Premium",
"de": "VIP Club Premium",
"en": "VIP Club Premium"
}
}
}
],
"promotions": [
{
"name": {
"cs_CZ": "Letní sleva",
"de": "Sommerrabatt",
"en": "Summer discount"
},
"percentage": 15,
"amount": 2988,
"nights": 4,
"valid_from": "2026-06-21",
"valid_to": "2026-06-25"
}
]
}
},
"de": {
"amount": 638.3,
"currency": "EUR",
"price_breakdown": {
"base_price": 798,
"discounts": [
{
"price_discount": 40,
"guest": 1,
"loyalty_program": {
"_id": "66f16191f739705faa020007",
"id": 2,
"name": {
"cs_CZ": "VIP Club Premium",
"de": "VIP Club Premium",
"en": "VIP Club Premium"
}
}
}
],
"promotions": [
{
"name": {
"cs_CZ": "Letní sleva",
"de": "Sommerrabatt",
"en": "Summer discount"
},
"percentage": 15,
"amount": 119.7,
"nights": 4,
"valid_from": "2026-06-21",
"valid_to": "2026-06-25"
}
]
}
}
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}Authorizations
See Authentication for how to obtain and send your API key.
Headers
Comma-separated list of languages to include. See Localization for details.
"cs_CZ,de"
Query Parameters
Visit type ID.
Room type ID.
Arrival date in YYYY-MM-DD format.
Departure date in YYYY-MM-DD format.
Optional loyalty program ID for the first guest.
Optional loyalty program ID for the second guest.
Response
Final price by language.
Show child attributes
Show child attributes