Discover/Hotels API
live

Hotels APIhotels.com ↗

Search Hotels.com properties by destination and dates, get autocomplete suggestions, retrieve popular destinations, and find nearby hotels via a simple REST API.

Endpoint health
verified 3d ago
search_hotels
get_popular_destinations
get_nearby_hotels
autocomplete_destination
4/4 passing latest checkself-healing
Endpoints
4
Updated
15d ago

What is the Hotels API?

The Hotels.com API exposes 4 endpoints for searching hotel availability, resolving destination names to region IDs, listing popular travel destinations, and finding nearby properties. The search_hotels endpoint returns up to 20 hotel listings per query, each carrying name, location, nightly price, total price, guest rating, review summary, image URL, and a direct booking link.

This call costs1 credit / call— charged only on success
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.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/fa8d38aa-36ba-45d4-8191-f30d2d2e3c46/autocomplete_destination?query=Paris' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalmissing one? ·

Suggest destination names as a user types a query string. Returns matching cities, airports, neighborhoods, and points of interest with their region IDs, coordinates, and types. Use the returned region ID as input to search_hotels.

Input
ParamTypeDescription
queryrequiredstringSearch keyword for destination lookup (e.g. 'Istanbul', 'New York', 'Paris')
Response
{
  "type": "object",
  "fields": {
    "destinations": "array of location objects each containing id, name, type, lat, long"
  },
  "sample": {
    "data": {
      "destinations": [
        {
          "id": "2734",
          "lat": "48.853564",
          "long": "2.348095",
          "name": "Paris, France",
          "type": "CITY"
        },
        {
          "id": "6200422",
          "lat": "48.862383",
          "long": "2.339074",
          "name": "Paris City Center, Paris, France",
          "type": "NEIGHBORHOOD"
        }
      ]
    },
    "status": "success"
  }
}

About the Hotels API

Destination Resolution and Hotel Search

Start with autocomplete_destination, which accepts a free-text query (e.g. 'Istanbul' or 'New York') and returns an array of location objects. Each object includes an id, name, type (city, airport, neighborhood, or point of interest), and coordinates (lat, long). Pass the returned id as the region_id parameter to search_hotels. Alternatively, get_popular_destinations returns a curated list of destination names and their IDs, so you can skip the autocomplete step for well-known cities.

Hotel Listings

search_hotels requires region_id, query, start_date, and end_date (both in YYYY-MM-DD format). Optional parameters rooms and adults let you scope occupancy. The response includes a total count and a hotels array. Each hotel object exposes id, name, location, rating, reviews_text, price_per_night, total_price, image_url, and a url pointing directly to the Hotels.com listing for that property.

Nearby Hotels

get_nearby_hotels takes a property_id sourced from search_hotels results and returns up to 20 competing or adjacent properties in the same format — id, name, location, rating, reviews_text, price_per_night, total_price, image_url, and url. The start_date and end_date parameters are optional here; omitting them defaults to tomorrow and the day after tomorrow respectively. rooms and adults are also accepted.

Reliability & maintenanceVerified

The Hotels API is a managed, monitored endpoint for hotels.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when hotels.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official hotels.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a hotel price comparison tool by querying multiple destination region IDs from get_popular_destinations and comparing price_per_night across results.
  • Power a travel chatbot that resolves user-typed city names via autocomplete_destination before fetching live availability from search_hotels.
  • Generate a 'hotels near this property' feature in a travel app using get_nearby_hotels with a property_id from search results.
  • Track nightly price trends for specific destinations by periodically calling search_hotels with the same region_id and date range.
  • Populate a destination picker UI with pre-resolved region IDs from get_popular_destinations, reducing the need for autocomplete calls.
  • Aggregate guest ratings and reviews_text snapshots across multiple cities to surface top-rated properties by destination.
  • Build an occupancy-aware search by varying adults and rooms parameters across identical date ranges to surface price differences.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. 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 public developer API. Expedia Group, which owns Hotels.com, provides affiliate and partner programs (see the Expedia Group Partner Solutions site), but those are gated programs and not freely accessible REST endpoints.
What does search_hotels actually return per hotel — is rating a numeric score or a label?+
Each hotel object in the hotels array includes a rating field and a reviews_text field. The rating carries the guest score as returned by Hotels.com, while reviews_text is the associated label (e.g. 'Wonderful' or 'Very good'). Both fields appear alongside price_per_night, total_price, image_url, and a direct url to the property listing.
Does the API return room-level details, amenities, or cancellation policies?+
Not currently. The API returns property-level data — name, location, rating, pricing, and a booking URL — for up to 20 results per search. Room type breakdowns, amenity lists, and cancellation terms are not part of the current response shape. You can fork this API on Parse and revise it to add an endpoint targeting individual property detail pages.
How many results does search_hotels return, and is there pagination?+
The endpoint returns up to 20 hotel listings per call. There is no pagination parameter in the current spec, so you cannot retrieve results beyond the first 20 for a given query. If your use case requires broader coverage, you can fork this API on Parse and revise it to add offset or page-based pagination.
Can I filter search results by star rating, price range, or property type?+
The current search_hotels endpoint accepts region_id, query, start_date, end_date, rooms, and adults — there are no filter parameters for star rating, price range, or property type. Results are returned sorted by Hotels.com's recommendation order. You can fork this API on Parse and revise it to expose additional filter parameters.
Page content last updated . Spec covers 4 endpoints from hotels.com.
Related APIs in TravelSee all →
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.
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.
agoda.com API
Access data from agoda.com.
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.
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.
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.
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.
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.