Hotels.com API endpoint
Use Crawlora's Hotels.com hotel search API to extract supported public Hotels.com data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/hotels/searchReturns a page of date-bound Hotels.com hotel search results for either a free-text destination or a numeric Hotels.com region_id: normalized property cards with per-night and per-stay prices, review score and count, location, thumbnail, amenities, and promotional badges. Provide exactly one of query or region_id; region_id skips destination typeahead resolution. Prices are the live rates Hotels.com shows for the requested check-in and check-out dates. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| request (body) | object | Yes | Search request | ||
| x-api-key (header) | string | Yes | API key required |
curl -X POST "https://api.crawlora.net/api/v1/hotels/search" \
-H "x-api-key: $CRAWLORA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"adults":2,"check_in":"2026-09-10","check_out":"2026-09-11","currency":"USD","locale":"en_US","page":1,"page_size":20,"query":"New York","region_id":"2621","rooms":1}'Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
Returns a page of date-bound search results with the live per-night and per-stay prices Hotels.com shows for the requested dates. Price fields are display strings: `price` is the per-stay total (`LEAD`), `strikeout_price` the crossed-out reference price, and `nightly_price` the per-night qualifier (e.g. `$369 nightly`). Each property's `url` is the canonical `/ho<id>/<slug>/` page (usable with `/hotels/property`) and its `id` is the numeric global property id usable with `/hotels/rates` and `/hotels/reviews`. A destination with no matches returns an empty `properties` array. ```json { "code": 200, "msg": "OK", "data": { "destination": "New York, New York, United States of America", "region_id": "2621", "check_in": "2026-09-10", "check_out": "2026-09-11", "page": 1, "properties": [ { "id": "19681371", "name": "Pod Times Square", "url": "https://www.hotels.com/ho630803872/pod-times-square-new-york-united-states-of-america/", "location": "New York", "review_score": 9.2, "review_count": 5901, "review_title": "Wonderful", "price": "$424", "strikeout_price": "$504", "nightly_price": "$369 nightly", "thumbnail_url": "https://images.trvl-media.com/lodging/...", "badges": ["Member Price $47 off"] } ] } } ```
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"adults": 2,
"check_in": "2026-09-10",
"check_out": "2026-09-11",
"currency": "USD",
"locale": "en_US",
"page": 1,
"page_size": 20,
"query": "New York",
"region_id": "2621",
"rooms": 1
}Request schema
#/definitions/hotels.SearchOption
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| adults | integer | No | 2 | |||
| check_in | string | Yes | 2026-09-10 | |||
| check_out | string | Yes | 2026-09-11 | |||
| currency | string | No | USD | |||
| locale | string | No | en_US | |||
| page | integer | No | 1 | |||
| page_size | integer | No | 20 | |||
| query | string | No | New York | |||
| region_id | string | No | 2621 | |||
| rooms | integer | No | 1 |
Response schema
#/definitions/hotels.searchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | hotels.SearchResponse | No | ||||
| data.check_in | string | No | ||||
| data.check_out | string | No | ||||
| data.destination | string | No | ||||
| data.page | integer | No | ||||
| data.properties | array | No | ||||
| data.properties[].amenities | array | No | ||||
| data.properties[].badges | array | No | ||||
| data.properties[].id | string | No | ||||
| data.properties[].location | string | No | ||||
| data.properties[].name | string | No | ||||
| data.properties[].nightly_price | string | No | ||||
| data.properties[].price | string | No | ||||
| data.properties[].review_count | integer | No | ||||
| data.properties[].review_score | number | No | ||||
| data.properties[].review_title | string | No | ||||
| data.properties[].strikeout_price | string | No | ||||
| data.properties[].thumbnail_url | string | No | ||||
| data.properties[].url | string | No | ||||
| data.region_id | string | No | ||||
| data.results_label | string | No | ||||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X POST "https://api.crawlora.net/api/v1/hotels/search" \
-H "x-api-key: $CRAWLORA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"adults":2,"check_in":"2026-09-10","check_out":"2026-09-11","currency":"USD","locale":"en_US","page":1,"page_size":20,"query":"New York","region_id":"2621","rooms":1}'Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms