Skip to content

get_hotels

Fetches detailed data for specific hotel IDs without performing a search. Use this to load additional data blocks for hotels already discovered via search_hotels.

Parameters

ParameterTypeRequiredDescription
hotelIdsstring[]YesHotel IDs to fetch data for
includestring[]NoData blocks to return (same options as search_hotels)
checkInstringNoCheck-in date (YYYY-MM-DD)
checkOutstringNoCheck-out date
dayDistancenumberNoDays from today for check-in (e.g., 7 for next week)
nightsnumberNoStay duration (default: 3)
roomsobject[]NoRoom configuration
currencystringNoISO 4217 currency code
offersobjectNoOffer retrieval options (mode, sort, filters)
reviewsobjectNoReview options (max, sortBy, ratings, searchTerms)
mediaobjectNoMedia options (maxImages)
searchModestringNofast (default) or deep — exhaustive search across all providers

Use cases

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_hotels",
    "arguments": {
      "hotelIds": ["hotel_abc123"],
      "include": ["review", "insight"],
      "reviews": {
        "max": 20,
        "sortBy": "recency"
      }
    }
  }
}

Get rooms and FAQ for multiple hotels

json
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_hotels",
    "arguments": {
      "hotelIds": ["hotel_abc123", "hotel_def456"],
      "include": ["room", "faq"],
      "checkIn": "2026-04-01",
      "nights": 3,
      "rooms": [{"adults": 2}]
    }
  }
}

Refresh offers with different filters

json
{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "get_hotels",
    "arguments": {
      "hotelIds": ["hotel_abc123"],
      "include": ["offer"],
      "checkIn": "2026-04-01",
      "nights": 3,
      "offers": {
        "mode": "all",
        "filters": {
          "freeCancellation": "included",
          "mealIncluded": "included"
        }
      }
    }
  }
}

Response

Same structure as search_hotels - returns a hotels array with the requested data blocks populated. See Data Types for field details.

Vio - Book like an insider