Discover/hotels.com API
live

hotels.com APIhotels.com

Search Hotels.com properties by destination and dates, get room availability and pricing, retrieve full property details, and look up popular destinations.

Endpoints
5
Updated
1mo ago
Try it
Search keyword for destination lookup (e.g. 'Istanbul', 'New York', 'Paris')
api.parse.bot/scraper/fa8d38aa-36ba-45d4-8191-f30d2d2e3c46/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/fa8d38aa-36ba-45d4-8191-f30d2d2e3c46/autocomplete_destination?query=New+York' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Suggest destination names as a user types a query string. Returns matching cities, airports, and neighborhoods with their region IDs, coordinates, and types.

Input
ParamTypeDescription
queryrequiredstringSearch keyword for destination lookup (e.g. 'Istanbul', 'New York', 'Paris')
Response
{
  "type": "object",
  "fields": {
    "data": "array of location objects each containing id, name, type, lat, long",
    "status": "string indicating success"
  },
  "sample": {
    "data": [
      {
        "id": "1639",
        "lat": "41.01357",
        "long": "28.96352",
        "name": "Istanbul, Istanbul, Türkiye",
        "type": "CITY"
      },
      {
        "id": "553248635974515940",
        "lat": "41.258501",
        "long": "28.742676",
        "name": "Istanbul, Türkiye (IST)",
        "type": "AIRPORT"
      },
      {
        "id": "6063107",
        "lat": "41.00672778184033",
        "long": "28.97695235993852",
        "name": "Sultanahmet, Istanbul, Istanbul, Türkiye",
        "type": "NEIGHBORHOOD"
      }
    ],
    "status": "success"
  }
}

About the hotels.com API

The Hotels.com API exposes 5 endpoints covering destination autocomplete, hotel search, room availability, property details, and popular destinations. Starting with autocomplete_destination, you can resolve a partial city or neighborhood name into a region_id and coordinate pair, then pass that directly into search_hotels to retrieve a live list of matching properties with pricing for specific check-in and check-out dates.

Destination Discovery

autocomplete_destination accepts a partial query string (e.g. "Istanbul" or "JFK") and returns an array of location objects, each with an id, name, type (city, airport, neighborhood), and lat/long coordinates. The id field is the region_id required by search_hotels. get_popular_destinations returns a curated list of destination names and IDs with no inputs required — useful for populating a home screen or seeding a destination picker without any user input.

Hotel Search and Room Availability

search_hotels takes a region_id, start_date, end_date (both in YYYY-MM-DD format), optional rooms count, and optional adults count. It returns a data object containing a hotels array and a total count. Each hotel object in the array includes enough detail to identify and link to a specific property. To go deeper, pass a property_id from the search results into get_hotel_rooms, which returns an array of available room types with per-room pricing for the requested dates, guest count, and room count.

Full Property Details

get_hotel_details accepts a single property_id and returns the full detail object for that property — amenities, descriptions, images, location metadata, and policy information as exposed by Hotels.com. This endpoint requires no date inputs, making it suitable for building property profile pages or caching baseline hotel metadata independently of availability lookups.

Data Flow

The typical usage pattern chains the endpoints: get_popular_destinations or autocomplete_destinationsearch_hotelsget_hotel_details and/or get_hotel_rooms. The region_id from autocomplete is the key join field across the destination and search layers, and property_id from search results is the key join field for the detail and room endpoints.

Common use cases
  • Build a hotel search widget that resolves typed city names to region IDs via autocomplete_destination before querying availability
  • Display live room pricing and availability for a specific property using get_hotel_rooms with date and guest parameters
  • Aggregate hotel metadata (amenities, images, policies) from get_hotel_details for a travel comparison tool
  • Populate a destination discovery carousel using get_popular_destinations with no user input required
  • Monitor nightly rate changes across multiple Hotels.com properties by polling get_hotel_rooms on a schedule
  • Map hotel coordinates returned by autocomplete_destination to visualize destination coverage on a travel planning map
  • Feed hotel search results from search_hotels into a price-alert system keyed on property_id and date range
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Hotels.com have an official developer API?+
Hotels.com does not offer a publicly documented developer API. It is part of the Expedia Group affiliate program, which exposes some booking data through the Expedia Rapid API (developer.expediapartnersolutions.com), but that requires a partner agreement. This Parse API covers the same data surfaces — search, details, rooms, destinations — without a partner account.
What does get_hotel_rooms return beyond a price?+
get_hotel_rooms returns an array of room objects for the requested property_id, start_date, end_date, adults, and rooms count. Each object represents a distinct available room type. The response includes pricing scoped to the exact occupancy and date range you supply — changing any of those inputs will return a different set of room objects with updated prices.
Does the search_hotels endpoint support filtering by star rating, amenities, or price range?+
Not currently. search_hotels accepts destination (query and region_id), dates, rooms, and adults only — there are no filter parameters for star rating, amenities, or price bands in the current endpoint. You can fork this API on Parse and revise it to add those filter inputs if your use case requires them.
Is guest review data (ratings, review text) accessible through these endpoints?+
Not currently. The five endpoints cover search results, room availability, property details, destination autocomplete, and popular destinations. Guest review scores and review text are not returned as distinct fields. You can fork this API on Parse and revise it to add a reviews endpoint for a given property_id.
How should I handle the region_id when the autocomplete returns multiple matches for the same city name?+
autocomplete_destination returns each match as a separate object with its own id, name, type, lat, and long. When a query like 'Paris' returns multiple results (e.g. Paris, France vs. Paris, Texas), you differentiate by checking the type field and coordinates. Pass the correct id as region_id into search_hotels to ensure results are scoped to the intended destination.
Page content last updated . Spec covers 5 endpoints from hotels.com.
Related APIs in TravelSee all →
tripadvisor.com API
Search for travel destinations and discover hotels with detailed information like ratings, reviews, and amenities. Get comprehensive place details to help plan your perfect trip and compare accommodation options.
orbitz.com API
Search for hotels and destinations on Orbitz, then view detailed property information including pricing and amenities. Get typeahead location suggestions as you type to quickly find your travel destination.
hotelscan.ai API
Search and compare hotels with detailed guest reviews, room availability, and pricing information across flexible dates. Find similar properties, get autocomplete suggestions for locations, and access comprehensive hotel details all in one place.
travelocity.com API
Search for travel destinations and browse hotel listings on Travelocity. Compare options by location, dates, and availability to find and book accommodation.
agoda.com API
agoda.com API
expedia.com API
Search for hotels and flights across Expedia while viewing detailed property information to compare prices and amenities for your travel plans. Get comprehensive travel options all from one integration without manually browsing the website.
hilton.com API
Search for Hilton hotels worldwide by destination with autocomplete suggestions for locations, or convert addresses into exact coordinates. Find your ideal Hilton accommodation and get location details all in one place.
trivago.com.br API
Search hotels across Trivago by destination, dates, and guest count. Filter by price range and currency, get autocomplete suggestions for locations, and retrieve detailed hotel information including star ratings, guest reviews, and pricing from multiple booking sites.