Перейти к содержимому
API для партнёров

HotelDetailService_GetHotelProperty

GET
/api/json/hotels/property
curl --request GET \
--url 'https://dictionary.example.invalid/api/json/hotels/property?propertyId=DEMO_VALUE&roomTypeId=DEMO_VALUE'

GetHotelProperty returns detailed hotel information by property ID.

propertyId
string

Property ID (dictionary string_id)

Example

DEMO_VALUE
roomTypeId
string

Optional room type ID to limit roomTypes in the response

Example

DEMO_VALUE

OK

Media typeapplication/json

GetHotelPropertyResponse wraps the response in SuccessResponse format.

object
success
required
boolean
data
required

PropertyResponse contains the main hotel property data.

object
id
required

Hotel ID (string_id from dictionary) - v2.1: Added as required field

string
sPropertyId

Human-readable support property ID (format: s123456789)

string
providerLinks

Provider-specific hotel identifiers (replaces id and hotel_id in v2.0)

Array<object>

ProviderLinks represents provider-specific hotel identifiers.

object
id
required

Hotel ID from the provider

string
provider
required

Provider name (e.g., “sutochno”)

string
url
required

Hotel URL

string
typeTitle
required

Property type title (e.g., “Отель”)

string
isSingleRoom
required

Whether the hotel has only one room

boolean
imagesCount
required

Total number of photos

integer format: int32
name
required

Hotel name (without type)

string
stars

Star rating

integer format: int32
rating

Hotel rating

number format: double
reviewCount

Number of reviews

integer format: int32
desc

Hotel description

string
importantInfo

Important information from owner

string
labels

Property labels (e.g., “guest_choice”, “profitable_option”)

Array<string>
images
required

First 15 photos

Array<object>

Image represents a photo.

object
id
required

Photo ID

string
imageUrl
required

Photo URL

string
comment

Description (nullable)

string
blurHash

Blur hash for placeholder effect

string
executor

Executor information

object
name
required

Legal entity name

string
inn

INN (Tax ID)

string
kpp

KPP

string
ogrn

OGRN

string
phone

Phone number

string
email

Email

string
address

Address

string
sellerLegalStatus

Seller legal status: LEGAL_ENTITY, SOLE_PROPRIETOR, SELF_EMPLOED, INDIVIDUAL, NON_RESIDENT_COMPANY, NON_RESIDENT_INDIVIDUAL

string
sellerCompanyShortName

Seller company short name

string
accredetationInfo

Accreditation information

object
name

Hotel name from hotelInfo

string
status

Hotel status

string
recordType

Accommodation type

string
record

Registry record number

string
url

FSA website URL

string
workingHours

Working hours - v2.2: added per spec

string
cert

Hotel certificate

object
certNum
required

Certificate number

string
certDate
required

Valid until date

string
location
required

Property location

object
address
required

Hotel address

string
location

Location name for breadcrumbs

string
place

District/place

string
lat
required

Latitude

string
lng
required

Longitude

string
city

City information

object
id
required

City ID

string
title
required

City name

string
country

Country as object with id and title

object
id
required

Sutochno integer ID as string

string
title
required

Display name

string
relations

Distance relations

object
seas

Seas (nullable)

Array<object>

SeaResponse represents sea distance.

object
distance
required

Distance to sea (meters)

integer format: int32
title
required

Sea name

string
ropeways

Ropeways (nullable)

Array<object>

RopewaysResponse represents ropeway/cable car station.

object
group

Ropeway group

object
id
required

Group ID

integer format: int32
title
required

Group name

string
id
required

Station ID

integer format: int32
title
required

Station name

string
lat

Latitude (nullable)

string
lng

Longitude (nullable)

string
distance
required

Distance (meters)

integer format: int32
metro

Metro stations within 20 min walk (nullable)

Array<object>

StationResponse represents metro station.

object
id
required

Station ID

integer format: int32
title
required

Station name

string
line

Metro line

object
id
required

Line ID

integer format: int32
title
required

Line name

string
color
required

Line color

string
lat

Latitude (nullable)

string
lng

Longitude (nullable)

string
distance
required

Distance (meters)

integer format: int32
walkTime

Walk time (minutes)

string
railway

Railway stations (nullable)

Array<object>

RailwayResponse represents railway station distance.

object
distance
required

Distance (meters)

integer format: int32
title

Railway station name

string
lat

Latitude (nullable)

string
lng

Longitude (nullable)

string
airport

Airports (nullable)

Array<object>

AirportResponse represents airport distance.

object
distance
required

Distance (meters)

integer format: int32
title

Airport name

string
lat

Latitude (nullable)

string
lng

Longitude (nullable)

string
center

Distance to city center (meters)

integer format: int32
region

Region as object with id and title

object
id
required

Sutochno integer ID as string

string
title
required

Display name

string
placeId

Place ID (integer) - v2.2: added per spec

integer format: int32
amenities

Amenities and services

Array<object>

AmenityResponse represents an amenity (v2.0).

object
group
required

Amenity group (e.g., “AMENITY_GROUP_ROOM”)

string
title
required

Amenity title (e.g., “Wi-Fi в номере”)

string
name
required

Amenity code (e.g., “AMENITY_INTERNET_ROOMS”)

string
isPaid

Whether this amenity is paid

boolean
price

Price for paid amenity

string
currency

Currency code (e.g., “rub”, “usd”)

string
optionalInfo

Additional information about the amenity

string
priceType

Price unit for paid amenity (daily, period, hourly)

string
amenitiesTop

Top amenities and services

Array<object>

AmenityResponse represents an amenity (v2.0).

object
group
required

Amenity group (e.g., “AMENITY_GROUP_ROOM”)

string
title
required

Amenity title (e.g., “Wi-Fi в номере”)

string
name
required

Amenity code (e.g., “AMENITY_INTERNET_ROOMS”)

string
isPaid

Whether this amenity is paid

boolean
price

Price for paid amenity

string
currency

Currency code (e.g., “rub”, “usd”)

string
optionalInfo

Additional information about the amenity

string
priceType

Price unit for paid amenity (daily, period, hourly)

string
superguest

Superguest properties - GO-332: extended with per-permission flags

object
enabled

Whether the property participates in the superguest program

boolean
superguestDiscount

Whether the property offers a discount for superguests

boolean
withoutDeposit

Whether the property allows booking without deposit

boolean
info
required

Basic hotel properties

Array<object>

Properties represents room properties.

object
name
required

Property name (e.g., “area”, “floor”, “bedrooms”)

string
title
required

Property title (e.g., “Площадь (м2)”)

string
value
required

Property value (e.g., “45”)

string
bookingRules
required

Booking rules

Array<object>

Rules represents booking rules.

object
name
required

Rule name (e.g., “party”, “pets”, “smoking”)

string
title
required

Rule description (e.g., “вечеринки разрешены”)

string
value

Rule value (e.g., “0”, “1”, “14:00”)

string
owner

Owner information

object
name

Owner name

string
company

Company name

string
gender

Gender

integer format: int32
avatar

Avatar URL

string
answerRate

Answer rate (%)

integer format: int32
answerTime

Answer time (minutes)

integer format: int32
speakLanguages

Languages spoken

Array<object>

Languages represents a language.

object
title
required

Language name (e.g., “Русский”)

string
name
required

Language code (e.g., “russian”)

string
labels

Owner labels/badges

Array<string>
dateAdd

Date when owner was added - v2.1

string
dateLastLogin

Date of last login - v2.1

string
isActive

Whether the property is active

boolean
roomTypes

Room types available for the property

Array<object>

RoomType represents detailed information about a room.

object
id
required

Room identifier

string
objectId
required

Object identifier (from platform, needed for calendar and availability checks)

string
name
required

Room name

string
description
required

Room description

string
images
required

Room photos

Array<object>

Image represents a photo.

object
id
required

Photo ID

string
imageUrl
required

Photo URL

string
comment

Description (nullable)

string
blurHash

Blur hash for placeholder effect

string
imageCount
required

Number of photos

integer format: int32
beds
required

Beds in the room

Array<object>

Bed represents a bed in the room.

object
name
required

Bed type code (e.g., “BED_TYPE_SINGLE_BED”)

string
title
required

Bed type title (e.g., “односпальная кровать”)

string
count
required

Number of beds of this type

integer format: int32
isExtraBed
required

Whether this is an extra bed

boolean
info
required

Room properties (area, bedrooms, etc.)

Array<object>

Properties represents room properties.

object
name
required

Property name (e.g., “area”, “floor”, “bedrooms”)

string
title
required

Property title (e.g., “Площадь (м2)”)

string
value
required

Property value (e.g., “45”)

string
amenities
required

Room amenities

Array<object>

AmenityResponse represents an amenity (v2.0).

object
group
required

Amenity group (e.g., “AMENITY_GROUP_ROOM”)

string
title
required

Amenity title (e.g., “Wi-Fi в номере”)

string
name
required

Amenity code (e.g., “AMENITY_INTERNET_ROOMS”)

string
isPaid

Whether this amenity is paid

boolean
price

Price for paid amenity

string
currency

Currency code (e.g., “rub”, “usd”)

string
optionalInfo

Additional information about the amenity

string
priceType

Price unit for paid amenity (daily, period, hourly)

string
bookingRules
required

Booking rules

Array<object>

Rules represents booking rules.

object
name
required

Rule name (e.g., “party”, “pets”, “smoking”)

string
title
required

Rule description (e.g., “вечеринки разрешены”)

string
value

Rule value (e.g., “0”, “1”, “14:00”)

string
importantInfo

Important information from owner

string
superguestPermissions
required

Superguest permissions available for the room type

Array<object>

SuperguestPermission represents a superguest privilege.

object
name
required
string
title
required
string
errors
required
Array<string>
actions
required
Array<string>
platform
required
string
uuid
required
string
timestamp
required
string

Example

{
"success": true,
"data": {
"id": "DEMO_VALUE",
"sPropertyId": "DEMO_VALUE",
"providerLinks": [
null
],
"url": "DEMO_VALUE",
"typeTitle": "DEMO_VALUE",
"isSingleRoom": true,
"imagesCount": 1,
"name": "DEMO_VALUE",
"stars": 1,
"rating": 1,
"reviewCount": 1,
"desc": "DEMO_VALUE",
"importantInfo": "DEMO_VALUE",
"labels": [
null
],
"images": [
null
],
"executor": {},
"cert": {},
"location": {},
"amenities": [
null
],
"amenitiesTop": [
null
],
"superguest": {},
"info": [
null
],
"bookingRules": [
null
],
"owner": {},
"isActive": true,
"roomTypes": [
null
]
},
"errors": [
"DEMO_VALUE"
],
"actions": [
"DEMO_VALUE"
],
"platform": "DEMO_VALUE",
"uuid": "DEMO_VALUE",
"timestamp": "DEMO_VALUE"
}

Default error response

Media typeapplication/json

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

object
code

The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].

integer format: int32
message

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.

string
details

A list of messages that carry the error details. There is a common set of message types for APIs to use.

Array<object>

Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

object
@type

The type of the serialized message.

string
key
additional properties
any

Example

{
"code": 1,
"message": "DEMO_VALUE",
"details": [
{
"@type": null
}
]
}