Last updated
The functionality supported by `AreaInfo` and `HotelInfo > RelativePositions` are soon to sunset

Booking.com is deprecating the functionality of specifying/retrieving nearby attractions and the property's relative position information using AreaInfo and HotelInfo > RelativePositions as of March 15, 2023, and will sunset on June 30, 2023. Booking.com automatically generates the nearby places and the property's relative position information. Please see the deprecation policy documentation for more details.

Attraction

Fields

FieldDescriptionTypeMin/maxNotes
Attractions/
Attraction
Details of an attraction.object0..*-
Attraction/
@AttractionCategoryCode
The Attraction Category Code.ACC1..1-
Attraction/
@AttractionName
The attraction name (in @LanguageCode).string1..1-
Attraction/
@Distance
Distance from property to attraction (in @DistanceUnit).float1..1-
Attraction/
@DistanceUnit
The measurement unit for @Distance.enum0..1Accepts: meters, kilometers, feet, miles. Default: meters
Attraction/
@LanguageCode
The Booking.com Language Code used for the attraction information.BCL0..1Default: en

XML

<Attraction
  AttractionCategoryCode="29"
  AttractionName="Morning market"
  Distance="1.2"
  DistanceUnit="miles"
  LanguageCode="en"/>
<Attraction
  AttractionCategoryCode="41"
  AttractionName="Sushi restaurant"
  Distance="3"/>