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
10d 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 →
opentable.ca API
Search and discover restaurants on OpenTable, view detailed information like menus and reviews, and check real-time dining availability across metro areas. Find top-rated restaurants in your location and instantly see which tables are open for your preferred date and time.
fandango.com API
Search for movies and retrieve nearby theater listings with showtimes by ZIP code and date, plus showtimes for a specific movie at nearby theaters.
data.lime.bike API
Access real-time availability data for Lime bikes and scooters, including station locations, vehicle status, system alerts, and geofencing zones across multiple cities. Monitor micromobility inventory and service information to find nearby vehicles or plan your trips effectively.
turo.com API
Search for peer-to-peer car rentals across Turo by location and dates to browse available vehicles with pricing, specifications, and real-time availability. Get detailed information on specific cars to compare features and make rental decisions.
reservation.pc.gc.ca API
Access real-time campground availability and reservation data from the Parks Canada booking system. Search locations, retrieve available campsites and cabins, filter by equipment type, and review operating date schedules across the national park network. Includes detailed resource metadata and map-based availability overviews.
bahn.com API
Search German train schedules and stations, find connections between destinations, and compare ticket prices across Deutsche Bahn routes. Get real-time station information and transit association details to plan your train journey efficiently.
united.com API
Search United Airlines flights, check real-time flight status, and view detailed seat maps to plan your perfect trip. Compare fare options and use airport autocomplete to quickly find your departure and arrival cities.
thetrainline.com API
Search UK train stations and find the cheapest fares across date ranges, then generate direct booking links to complete your purchase on Trainline.com. Get real-time journey information to compare prices and book your tickets in seconds.