API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

host_info

Information about the host of a lodging property

Fields

name
string
required

Name of the host

Example Sarah Johnson
image_url
string · uri

URL to the host's profile image

Example https://example.com/hosts/sarah-johnson-profile.jpg
description
localizable_string

A LocalizableString object contains the text value and its associated locale. The value field is a required string with the actual text. The locale field is an optional string representing the language and region of the value. The locale is omitted when Hopper can't guarantee the language of the value.

Show fields
value
string
required

The actual text value, which can vary based on the locale.

Example Oceanside Hotel is a remarkable oasis boasting eye-catching design, luxurious amenities, and cozy stylishly furnished rooms. Each accommodation has white linens, plush beds, luxury Lady Primrose bath products, and a well-appointed decor. Guests can enjoy free WiFi, beach amenities, outdoor activities, and watersports. As the Miami sun warms your skin, retreat to our relaxing pool area with lounges or grab a bite at The Tavern, our full-service restaurant and bar, open for breakfast, lunch, and dinner. Whether you are visiting for business or pleasure, the Oceanside Hotel is an intimate boutique experience in Miami Beach.
locale
string

Locale code representing the language and regional variation of text content. This follows the IETF RFC 5646 standard for language tags, which provides a standardized way to identify languages.

Common examples:

  • "en-US" for U.S. English
  • "fr-FR" for French in France
  • "es-ES" for Spanish in Spain
  • "zh-CN" for Chinese in China
  • "ja-JP" for Japanese in Japan
Pattern ^[a-z]{2,4}(-[A-Z][a-z]{3})?(-([A-Z]{2}|[0-9]{3}))?$ · Example en-US
spoken_languages
array of string

Spoken languages the host can speak

Example
{
  "name": "Sarah Johnson",
  "image_url": "https://example.com/hosts/sarah-johnson-profile.jpg",
  "description": {
    "value": "Oceanside Hotel is a remarkable oasis boasting eye-catching design, luxurious amenities, and cozy stylishly furnished rooms. Each accommodation has white linens, plush beds, luxury Lady Primrose bath products, and a well-appointed decor. Guests can enjoy free WiFi, beach amenities, outdoor activities, and watersports. As the Miami sun warms your skin, retreat to our relaxing pool area with lounges or grab a bite at The Tavern, our full-service restaurant and bar, open for breakfast, lunch, and dinner. Whether you are visiting for business or pleasure, the Oceanside Hotel is an intimate boutique experience in Miami Beach.\n",
    "locale": "en-US"
  },
  "spoken_languages": [
    "spanish",
    "english"
  ]
}