YGO API
  1. Schemas
YGO API
  • Overview
  • Core Concepts
  • Authentication
  • Quickstart Guide
  • AI Search & Trip Planning
  • Booking Flow
  • Environments
  • General
    • Check API health status
    • Get current API key context
  • AI Search & Trip Planning
    • Send message to YGO AI
  • Product Search (Classic)
    • Search for hotel & package offers
    • Get transfers for booking
    • Get package price calendar
  • Bookings
    • Get or create open booking
    • Update open booking
    • Update booking status and trigger workflows
    • List bookings
    • Get booking
  • Schemas
    • Schemas
      • PackageSearchRequest
      • GetTransfersRequest
      • GetOpenBookingRequest
      • SaveOpenBookingRequest
      • SaveBookingStatusRequest
      • ListBookingsRequest
      • GetBookingRequest
      • GetPackageCalendarRequest
      • Product
      • TransferOptionsResponse
      • Booking
      • ProductTexts
      • TransferOption
      • BookingDetails
      • TripReference
      • PackageCalendarResponse
      • LocaleContent
      • Trip
      • BookingItemInput
      • PackageCalendarDate
      • ProductImage
      • TransferImage
      • BookingItem
      • ProductDetails
      • PickupInformation
      • Traveller
      • PackageOffer
      • PickupLocation
      • TourOperator
      • Pickup
      • Image
      • Accommodation
      • CheckPickup
      • Room
      • TransferRemark
      • Transport
      • CancellationPolicy
      • Flight
      • Airport
      • Price
      • PriceByPax
      • SuccessResponse
      • ErrorResponse
      • Hotel
      • HotelFeatures
      • FeatureState
      • RoomFeatures
      • RoomContent
      • Facility
    • Response
      • Unauthorized
  1. Schemas

Hotel

Complete hotel details including facilities, rooms, features, and enriched metadata from Hotelbeds

{
    "HotelbedsCode": 0,
    "LocalizedRooms": {
        "en": [
            {
                "RoomCode": "DBL.ST",
                "Description": "Double Standard Room",
                "MinPax": 1,
                "MaxPax": 2
            }
        ]
    },
    "LocalizedFacilities": {
        "en": [
            {
                "FacilityCode": 10,
                "Description": {
                    "Content": "Swimming Pool"
                }
            }
        ]
    },
    "RoomImages": {
        "DBL.ST": [
            {
                "URL": "https://cdn.ygo.ai/hotels/12345/rooms/dbl-st-1.jpg",
                "Width": 1920,
                "Height": 1080,
                "Type": "room"
            }
        ]
    },
    "RoomFeatures": {
        "DBL.ST": {
            "SquareMeters": 28,
            "HasBalcony": true,
            "HasWifi": true
        }
    },
    "Stars": 4.5,
    "Exists": true,
    "PetsAllowed": true,
    "HasPool": true,
    "HasSauna": true,
    "HasSpa": true,
    "HasFitness": true,
    "HasGym": true,
    "HasBalcony": true,
    "Has24hReception": true,
    "HasWifi": true,
    "HasBar": true,
    "HasRestaurant": true,
    "HasElevator": true,
    "HasAirCondition": true,
    "HasBreakfast": true,
    "HasParking": true,
    "WheelchairAccessible": true,
    "Features": {
        "Pool": "yes",
        "Wifi": "yes",
        "Parking": "yes",
        "PetsAllowed": "no",
        "Spa": "unknown"
    }
}
Built with