# Kayak Hotels Scraper (`jupri/kayak-hotels`) Actor

Scrape hotels prices from Kayak.com

- **URL**: https://apify.com/jupri/kayak-hotels.md
- **Developed by:** [cat](https://apify.com/jupri) (community)
- **Categories:** Travel, Real estate
- **Features:** Full permissions
- **Stats:** 91 total users, 1 monthly users, 100.0% runs succeeded, 5 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Welcome to Kayak Hotels Scraper

![enter image description here](https://ae01.alicdn.com/kf/H9fcb873f4e974b6ebe2c7e8746ba808bf/Bentuk-Siluet-Kucing-Desain-Kerajinan-Ornamen-Luar-Halaman-Belakang-Luar-Ruangan-Dekorasi-Kucing-Taman-Dekoratif-Taruhan.jpg_120x120.jpg_.webp)

#### About Kayak.com

**Kayak**  (styled as  **KAYAK**) is an American online  [travel agency](https://en.wikipedia.org/wiki/Travel_agency "Travel agency")  and  [metasearch engine](https://en.wikipedia.org/wiki/Metasearch_engine "Metasearch engine")  owned and operated by  [Booking Holdings](https://en.wikipedia.org/wiki/Booking_Holdings "Booking Holdings").
Kayak's website and mobile apps are currently available in over 18 languages and more than 30 countries, including the United States, the  [United Kingdom](https://en.wikipedia.org/wiki/United_Kingdom "United Kingdom"),  [Canada](https://en.wikipedia.org/wiki/Canada "Canada"),  [India](https://en.wikipedia.org/wiki/India "India"),  [China](https://en.wikipedia.org/wiki/China "China"),  [France](https://en.wikipedia.org/wiki/France "France"),  [Germany](https://en.wikipedia.org/wiki/Germany "Germany"),  [Italy](https://en.wikipedia.org/wiki/Italy "Italy"),  [Spain](https://en.wikipedia.org/wiki/Spain "Spain"),  [Russia](https://en.wikipedia.org/wiki/Russia "Russia"), [Switzerland](https://en.wikipedia.org/wiki/Switzerland "Switzerland"),  [Norway](https://en.wikipedia.org/wiki/Norway "Norway"),  [Sweden](https://en.wikipedia.org/wiki/Sweden "Sweden"),  [Finland](https://en.wikipedia.org/wiki/Finland "Finland"), the  [Netherlands](https://en.wikipedia.org/wiki/Netherlands "Netherlands"),  [Australia](https://en.wikipedia.org/wiki/Australia "Australia"),  [Ireland](https://en.wikipedia.org/wiki/Ireland "Ireland"),  [Mexico](https://en.wikipedia.org/wiki/Mexico "Mexico"),  [New Zealand](https://en.wikipedia.org/wiki/New_Zealand "New Zealand"),  [Belgium](https://en.wikipedia.org/wiki/Belgium "Belgium"),  [Hong Kong](https://en.wikipedia.org/wiki/Hong_Kong "Hong Kong"),  [Taiwan](https://en.wikipedia.org/wiki/Taiwan "Taiwan"),  [Korea](https://en.wikipedia.org/wiki/Korea "Korea"),  [Japan](https://en.wikipedia.org/wiki/Japan "Japan"), and  [Singapore](https://en.wikipedia.org/wiki/Singapore "Singapore").

#### About This Actress

*... almost there ...*

#### Tutorial

***Example #1: Basic Usage***

```yaml
{
    "location": "Jakarta",
    "guest_adults": 1,
    "guest_children": 0,
    "room_count": 1,
    "currency": "USD",
    "check_in": "2022-08-20",
    "check_in": "2022-08-21"
}
```

|parameter|type|description|
|-|-|-|
|`location`|***string***|city, hotel, airport, address or landmark|
|`guest_adults`|***integer***|number of adult guest|
|`room_count`|***integer***|number of room|
|`currency`|***string***|currency code|
|`check_in`|***string***|check-in date format *YYYY-MM-DD*|
|`check_out`|***string***|check-out date format *YYYY-MM-DD*|

*Notes: default `check_in` and `check_out` is tomorrow and day after tomorrow.*

***Example #2: Pagination***

Limit search result by `limit` and `page` argument.

*... almost there ...*

***Example #3: Searching Offers***

Searching hotel offers on specific dates range. Make sure the check in/out argument is supplied correctly with format : `YYYY-MM-DD` *(Year-Month-Date)*

***Example #4: Extra Information***

More detailed information. Switch on `includes:section` arguments for crawling additional information.
|section|type|description|
|--|--|-|
|overview|***boolean***|Overview and description
|promotedHotel|***boolean***|Promoted Hotel
|rentalInformation|***boolean***|Rental Information
|nearbyLandmarks|***boolean***|Nearby Landmarks
|nearbyTransport|***boolean***|Nearby Transportation
|reviews|***boolean***|User Reviews
|photos|***boolean***|Photo Gallery
|similar|***boolean***|Similar Hotels

#### Outputs

![enter image description here](https://ae01.alicdn.com/kf/H9fcb873f4e974b6ebe2c7e8746ba808bf/Bentuk-Siluet-Kucing-Desain-Kerajinan-Ornamen-Luar-Halaman-Belakang-Luar-Ruangan-Dekorasi-Kucing-Taman-Dekoratif-Taruhan.jpg_120x120.jpg_.webp)

*... almost there ...*

##### Basic Information

```yaml
{
    "amenities": [
        { "id": "24hfrontdesk", "name": "24hr front desk" },
        { "id": "ac", "name": "Air-conditioned" },
        { "id": "bizcenter", "name": "Business center" },
        { "id": "elevator", "name": "Elevator" },
        { "id": "fitness", "name": "Fitness" },
        { "id": "hairdryer", "name": "Hairdryer" },
        { "id": "hottub", "name": "Hot tub" },
        { "id": "facilitiesfordisabledguests", "name": "Increased accessibility" },
        { "id": "kitchenette", "name": "Kitchen/Kitchenette" },
        { "id": "nosmokerooms", "name": "Non-smoking rooms" },
        { "id": "parking", "name": "Parking" },
        { "id": "pool", "name": "Pool" },
        { "id": "restaurant", "name": "Restaurant" },
        { "id": "spa", "name": "Spa" },
        { "id": "wifi", "name": "Wi-Fi" }
    ],
    "badges": [
        {
            "id": "hotel",
            "localizedText": "5-star hotel",
            "type": "classification"
        }
    ],
    "bookingSites": [
        { "id": "AGODACPC", "name": "Agoda.com" },
        { "id": "BOOKINGDOTCOM", "name": "Booking.com" },
        { "id": "EDREAMSHOTEL", "name": "eDreams" },
        { "id": "EXPEDIAHOTEL", "name": "Expedia" },
        { "id": "FINDHOTEL", "name": "FINDHOTEL" },
        { "id": "HOTELSDOTCOM", "name": "Hotels.com" },
        { "id": "ORBITZHOTELCOMMISSION", "name": "Orbitz" },
        { "id": "PRICELINECORE", "name": "Priceline" },
        { "id": "TRAVELOCITYHOTELCOMMISSION", "name": "Travelocity" },
        { "id": "CTRIPHOTELENHC", "name": "Trip.com" },
        { "id": "TRIPADVISOR", "name": "Tripadvisor" },
        { "id": "OSTROVOKV2", "name": "Zenhotels.com" }
    ],
    "bookingUrl": "https://www.kayak.com/book/hotel?code=MQGkgHmPz5.QyeRKJT3oDhJ2CE39vtFCw.10100.209656&h=aa3f5b05e92c&cookieOverrides=qtELnLuIwHCc2oRDXLowN_RrIBuZWaApKVzfqxkNMJdTVTNJMSCqvy0bBlXM9XUvuHnboucdCJ4ke5UPq7USXSx8zF9RmyhFUbhrIvWoj4Wm2OkfFhZvVlPm77ZWwfS66tyBNPx2k7yCXhJNGYTeO1BYGX1J4r67PNo5BMi__ZY&_kykmc_=215$Ab0TqxQdtJTm_8jJYGu7$AXsf1yKb6K9BT0238inv7L1AVJHK41VUWx2lGAcZon9noEAliLlD35XKkZVh_HK58KpQ7MXXQrBvwtMu3Z5x00AAS_5k3aHRweFdb4_C8ml7dm_QJRUiWVR-4zquoNMqivFnAX31XZIyty9DVawMxkrboLIQi--dEsvV51Tg3bv2-2acnn5QH-u5-7ndjLZqcEz_6y4hj_rgFaUOMYTzkJA&_sid_=R-5YvG8aGJAIQt6p9x00j1P-9x2q1rxWPVV7O5EHEaoL855weIPAnsDh7PdIq7cHw&groupedMultibook=true&sortpricemode=daybase",
    "brands": [
        { "id": "brg-369", "name": "Hilton Hotels" },
        { "id": "br-369", "name": "Hilton Hotels" }
    ],
    "cheapestProviderBookingId": "8b4d28dde68c42ee211ba2b63f448a1f",
    "cheapestProviderCode": "OSTROVOKV2",
    "cheapestProviderName": "Zenhotels.com",
    "city": "Bandung",
    "distance": 1.4334114,
    "freebies": [
        { "id": "freeparking", "name": "Free parking" },
        { "id": "freecancellation", "name": "Free cancellation" },
        { "id": "freeinternet", "name": "Free internet" }
    ],
    "historicHighPrice": 148,
    "hotelId": "209656",
    "name": "Hilton Bandung",
    "numberOfProviders": 13,
    "phone": "+62 *** *** ****",
    "price": 84,
    "propertyType": "hotel",
    "resultPoint": {
        "lat": -6.912774,
        "lng": 107.59779
    },
    "shareUrl": "https://www.kayak.com/hotels/Bandung,JB,Indonesia-c18593-h209656/2022-08-22/2022-08-23/1adults",
    "smartTags": {
        "icon": "comment",
        "localizedLabel": "Good breakfast, Near monument, Near museum"
    },
    "starRating": 5,
    "thumbnail": "https://www.kayak.com/rimg/himg/46/47/5b/ice-59008-71895985_3XL-567527.jpg?width=315&height=225&crop=true",
    "topAmenities": [
        { "displayName": "Outdoor pool" },
        { "displayName": "Spa and wellness center" },
        { "displayName": "Fitness center" },
        { "displayName": "Restaurant" },
        { "displayName": "Bar/Lounge" },
        { "displayName": "Room service" },
        { "displayName": "Free parking" },
        { "displayName": "Business center" },
        { "displayName": "Flat-screen TV" },
        { "displayName": "Free toiletries" }
    ],
    "totalPrice": 101,
    "userRating": {
        "localizedLabel": "Excellent",
        "localizedText": "8.8 Excellent, 760 reviews",
        "rating": 8.8,
        "reviewCount": 760
    }
}
```

##### Price Offers

*... almost there ...*

##### Extra Information

***Overview and Description***

```yaml
... almost there ...
```

***Promoted Hotel***

```yaml
... almost there ...
```

***Rental Information***

```yaml
... almost there ...
```

***Nearby Landmarks***

```yaml
{
    "nearbyLandmarks": [
        {
            "distanceFromHotel": 0.29853757034003386,
            "distanceUnits": "mi",
            "id": "2683996",
            "lat": -6.916197,
            "localizedDistanceFromHotel": "0.3 mi",
            "localizedName": "Santosa Hospital",
            "lon": 107.600451,
            "type": "landmark"
        },
        {
            "distanceFromHotel": 0.31037632425914113,
            "distanceUnits": "mi",
            "id": "2768758",
            "lat": -6.9142089,
            "localizedDistanceFromHotel": "0.31 mi",
            "localizedName": "Bandung Hall Train Station",
            "lon": 107.6020813,
            "type": "landmark"
        },
        {
            "distanceFromHotel": 0.4739256147838972,
            "distanceUnits": "mi",
            "id": "2684097",
            "lat": -6.905913,
            "localizedDistanceFromHotel": "0.47 mi",
            "localizedName": "Istana Plaza",
            "lon": 107.597586,
            "type": "landmark"
        },
        {
            "distanceFromHotel": 0.5575731991176328,
            "distanceUnits": "mi",
            "id": "2679864",
            "lat": -6.917595,
            "localizedDistanceFromHotel": "0.56 mi",
            "localizedName": "Pasar Baru Trade Center",
            "lon": 107.604316,
            "type": "landmark"
        },
        {
            "distanceFromHotel": 0.7894919858079742,
            "distanceUnits": "mi",
            "id": "2683993",
            "lat": -6.915576,
            "localizedDistanceFromHotel": "0.79 mi",
            "localizedName": "Landmark Building",
            "lon": 107.608957,
            "type": "landmark"
        }
    ]
}
```

***Nearby Transportation***

```yaml
{
    "nearbyTransport": [
        {
            "distanceFromHotel": 1.331357671504991,
            "distanceUnits": "mi",
            "id": "178447",
            "lat": -6.904268761193421,
            "localizedDistanceFromHotel": "1.33 mi",
            "localizedName": "Husein Sastranegara",
            "lon": 107.58035817993164,
            "transportType": "airport",
            "type": "transport"
        },
        {
            "distanceFromHotel": 1.4977882240872054,
            "distanceUnits": "mi",
            "id": "3118297",
            "lat": -6.917464,
            "localizedDistanceFromHotel": "1.5 mi",
            "localizedName": "Halte Yogya Sunda Bus stop",
            "lon": 107.619125,
            "transportType": "bus",
            "type": "transport"
        }
    ]
}
```

***User Reviews***

```yaml
{
    "reviews": [
        {
            "cDateTime": "2022-08-03 11:44:00",
            "createDateLabel": "Aug 3 2022",
            "createTimeLabel": "11:44 am",
            "ctime": "Wed Aug 03 11:44:00 EDT 2022",
            "helpfulcount": 0,
            "isexternal": "true",
            "language": "en",
            "legacyText": "This is my 3rd time staying at Hilton Bandung and I always love it. The last time I stayed here I was given a complimentary upgrade to King Deluxe Plus Room at level 11. The room was spacious, bathroom had shower and bath tub. Tried the gym and it was clean and quiet. Didn't get a chance to swim though. The staff were very helpful and friendly. The location is very close to malls and foodstalls. It is also only 3 minutes away from the train station. Overall, this is one of the hotel I will recommend in Bandung.",
            "logotitle": "Agoda.com",
            "providerlogo": "/images/hotelreviews//provider-logos/hotels/reviews/h/agodaLogo.png",
            "reviewScoreLabel": "10.0",
            "reviewid": "PeEDbYIB-BTdtNISbE3J",
            "reviewurl": "https://www.kayak.com/out?url=https%3A%2F%2Fwww.agoda.com%2FnewSite%2Fen-us%2Fhotel%2Findex%2F194479%3Fcheckin%3D2022-09-20%26checkout%3D2022-09-22%26los%3D2%26rooms%3D1%26adults%3D1%26childs%3D0%26affiliate_name%3DKayak%26site_placement%3DReview%26site_id%3D1608005%26site_origin%3DUNITED%2520STATES%23customer-reviews-panel&trackClickOut=true&h=m34U0CqeppZ53EwysuuovtD49AM&hid=209656&prv=agoda&type=review",
            "score": 100,
            "scoreLabel": "Excellent",
            "src": "agoda",
            "srcFull": "Agoda.com",
            "text": "This is my 3rd time staying at Hilton Bandung and I always love it. The last time I stayed here I was given a complimentary upgrade to King Deluxe Plus Room at level 11. The room was spacious, bathroom had shower and bath tub. Tried the gym and it was clean and quiet. Didn't get a chance to swim though. The staff were very helpful and friendly. The location is very close to malls and foodstalls. It is also only 3 minutes away from the train station. Overall, this is one of the hotel I will recommend in Bandung.",
            "textMap": {
                "cons": "",
                "pros": "",
                "text": "This is my 3rd time staying at Hilton Bandung and I always love it. The last time I stayed here I was given a complimentary upgrade to King Deluxe Plus Room at level 11. The room was spacious, bathroom had shower and bath tub. Tried the gym and it was clean and quiet. Didn't get a chance to swim though. The staff were very helpful and friendly. The location is very close to malls and foodstalls. It is also only 3 minutes away from the train station. Overall, this is one of the hotel I will recommend in Bandung."
            },
            "title": "A pleasant stay",
            "unhelpfulcount": 0
        },
        {
            "cDateTime": "2022-07-31 03:42:00",
            "createDateLabel": "Jul 31 2022",
            "createTimeLabel": "3:42 am",
            "ctime": "Sun Jul 31 03:42:00 EDT 2022",
            "helpfulcount": 0,
            "isexternal": "true",
            "language": "en",
            "legacyText": "1.Please clean the room consistently 2. Please fix the taste of the breakfast 3. Please serve a valet for customer in the hotel 4. Please give more discount and promo during holiday so hilton could get a lot of customer to stay 5. Please give more extra pillow for every room because its so important especially someone who stay at hilton",
            "logotitle": "Agoda.com",
            "providerlogo": "/images/hotelreviews//provider-logos/hotels/reviews/h/agodaLogo.png",
            "reviewScoreLabel": "6.0",
            "reviewid": "tw9BWIIBwGliyjP4LGXx",
            "reviewurl": "https://www.kayak.com/out?url=https%3A%2F%2Fwww.agoda.com%2FnewSite%2Fen-us%2Fhotel%2Findex%2F194479%3Fcheckin%3D2022-09-20%26checkout%3D2022-09-22%26los%3D2%26rooms%3D1%26adults%3D1%26childs%3D0%26affiliate_name%3DKayak%26site_placement%3DReview%26site_id%3D1608005%26site_origin%3DUNITED%2520STATES%23customer-reviews-panel&trackClickOut=true&h=m34U0CqeppZ53EwysuuovtD49AM&hid=209656&prv=agoda&type=review",
            "score": 60,
            "scoreLabel": "Good",
            "src": "agoda",
            "srcFull": "Agoda.com",
            "text": "1.Please clean the room consistently 2. Please fix the taste of the breakfast 3. Please serve a valet for customer in the hotel 4. Please give more discount and promo during holiday so hilton could get a lot of customer to stay 5. Please give more extra pillow for every room because its so important especially someone who stay at hilton",
            "textMap": {
                "cons": "",
                "pros": "",
                "text": "1.Please clean the room consistently 2. Please fix the taste of the breakfast 3. Please serve a valet for customer in the hotel 4. Please give more discount and promo during holiday so hilton could get a lot of customer to stay 5. Please give more extra pillow for every room because its so important especially someone who stay at hilton"
            },
            "title": "Hilton hotel review",
            "unhelpfulcount": 0
        }
	]
}
```

***Photo Gallery***

```yaml
{
    "photos": [
        {
            "attribution": "Provided by Ice Portal",
            "localizedTag": "Pool",
            "pxheight": 1782,
            "pxwidth": 2879,
            "tag": "pool",
            "thumburl": "/rimg/himg/46/47/5b/ice-59008-71895985_3XL-567527.jpg?width=200&height=200&crop=true",
            "url": "/himg/46/47/5b/ice-59008-71895985_3XL-567527.jpg",
            "userphoto": "false"
        },
        {
            "attribution": "Provided by Ice Portal",
            "localizedTag": "Patio",
            "pxheight": 1840,
            "pxwidth": 2765,
            "tag": "patio",
            "thumburl": "/rimg/himg/46/47/5b/ice-59008-72382249_3XL-486087.jpg?width=200&height=200&crop=true",
            "url": "/himg/46/47/5b/ice-59008-72382249_3XL-486087.jpg",
            "userphoto": "false"
        },
        {
            "attribution": "Provided by Ice Portal",
            "localizedTag": "Pool",
            "pxheight": 2011,
            "pxwidth": 2879,
            "tag": "pool",
            "thumburl": "/rimg/himg/46/47/5b/ice-59008-72382201_3XL-094349.jpg?width=200&height=200&crop=true",
            "url": "/himg/46/47/5b/ice-59008-72382201_3XL-094349.jpg",
            "userphoto": "false"
        },
        {
            "attribution": "Provided by Official Hotel Information",
            "localizedTag": "Conference room",
            "pxheight": 998,
            "pxwidth": 1500,
            "tag": "meeting",
            "thumburl": "/rimg/kimg/8a/8a/75aa42c7-5feb13c5-23.jpeg?width=200&height=200&crop=true",
            "url": "/kimg/8a/8a/75aa42c7-5feb13c5-23.jpeg",
            "userphoto": "false"
        }
	]
}
```

***Similar Hotels***

```yaml
{
    "similar": [
        {
            "badge": "mobileOnly",
            "baseprice": 36.36,
            "currency": "USD",
            "displaybaseprice": "$37",
            "displayprice": "$44",
            "hid": "56238",
            "imgsrc": "/himg/91/c2/39/expediav2-56238-adae1b-113951.jpg",
            "name": "Aryaduta Bandung",
            "phone": "+62 *** *** ***",
            "ratingLabel": "Very good",
            "ratingValue": 8.3,
            "stars": 4,
            "strikethroughbase": 38,
            "strikethroughbaseDisplay": "$38",
            "strikethroughtotal": 46,
            "strikethroughtotalDisplay": "$46",
            "thumbsrc": "/rimg/himg/91/c2/39/expediav2-56238-adae1b-113951.jpg?width=200&height=200&crop=true",
            "totalPrice": 44,
            "totalprice": 44
        },
        {
            "baseprice": 63.68,
            "currency": "USD",
            "displaybaseprice": "$64",
            "displayprice": "$85",
            "hid": "678760",
            "imgsrc": "/himg/e9/39/13/hotelsdotcom-81841036-662bdfca_w-378608.jpg",
            "name": "The Trans Luxury Hotel",
            "phone": "+62 *** *** ***",
            "ratingLabel": "Wonderful",
            "ratingValue": 9,
            "stars": 5,
            "thumbsrc": "/rimg/himg/e9/39/13/hotelsdotcom-81841036-662bdfca_w-378608.jpg?width=200&height=200&crop=true",
            "totalPrice": 84.68,
            "totalprice": 84.68
        },
        {
            "badge": "mobileOnly",
            "baseprice": 83.75,
            "currency": "USD",
            "displaybaseprice": "$84",
            "displayprice": "$102",
            "hid": "6918",
            "imgsrc": "/himg/f3/06/f1/leonardo-1126613-bdosi-sheraton-club-9215-ver-clsc_O-089028.jpg",
            "name": "Sheraton Bandung Hotel & Towers",
            "phone": "+62 *** *** ***",
            "ratingLabel": "Very good",
            "ratingValue": 8.3,
            "stars": 5,
            "strikethroughbase": 84.20999908447266,
            "strikethroughbaseDisplay": "$85",
            "thumbsrc": "/rimg/himg/f3/06/f1/leonardo-1126613-bdosi-sheraton-club-9215-ver-clsc_O-089028.jpg?width=200&height=200&crop=true",
            "totalPrice": 101.33,
            "totalprice": 101.33
        }
    ]
}
```

#### Updates & BUG Fix

*... almost there ...*

#### Support

*... almost there ...*

# Actor input Schema

## `location` (type: `string`):

Where are you going ?

## `check_in` (type: `string`):

YYYY-MM-DD <i>(default = tomorrow+1)</i>

## `check_out` (type: `string`):

YYYY-MM-DD <i>(default = tomorrow+2)</i>

## `guest_adults` (type: `integer`):

No description

## `guest_children` (type: `integer`):

No description

## `room_count` (type: `integer`):

No description

## `price_mode` (type: `string`):

No description

## `currency` (type: `string`):

No description

## `sort` (type: `string`):

No description

## `limit` (type: `integer`):

try 10000 (default = 5)

## `includes:amenities` (type: `boolean`):

Hotel Amenities

## `includes:brands` (type: `boolean`):

Brands Info

## `includes:type` (type: `boolean`):

Hotel type

## `includes:bookingsites` (type: `boolean`):

No description

## `includes:freebies` (type: `boolean`):

No description

## `includes:neighborhood` (type: `boolean`):

No description

## `includes:overview` (type: `boolean`):

Hotel Overview

## `includes:promotedhotel` (type: `boolean`):

No description

## `includes:rentalinformation` (type: `boolean`):

No description

## `includes:nearbylandmarks` (type: `boolean`):

No description

## `includes:nearbytransport` (type: `boolean`):

No description

## `includes:reviews` (type: `boolean`):

No description

## `includes:photos` (type: `boolean`):

No description

## `includes:similar` (type: `boolean`):

No description

## `includes:offers` (type: `boolean`):

make sure to input check_in and check_out correctly.

## `dev_proxy_config` (type: `object`):

<b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>\<a href=https://scrapeops.io/app/register/main target=\_blank>ScrapeOps.IO</a></b><br><code>scrapeops://{api-key}</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>

## `dev_transform_enable` (type: `boolean`):

No description

## `dev_transform_fields` (type: `array`):

No description

## `dev_dataset_enable` (type: `boolean`):

No description

## `dev_dataset_clear` (type: `boolean`):

Clear Dataset before insert/update.

## `dev_dataset_name` (type: `string`):

Use mask to customize dataset name:<br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br><i>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>

## `dev_dataset_key` (type: `string`):

Column name from results to use as Key for Key-Value Storage. For example: <code>product_id</code> (must be unique).

## Actor input object example

```json
{
  "location": "Jakarta",
  "guest_adults": 1,
  "guest_children": 0,
  "room_count": 1,
  "currency": "USD",
  "limit": 5
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "location": "Jakarta"
};

// Run the Actor and wait for it to finish
const run = await client.actor("jupri/kayak-hotels").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "location": "Jakarta" }

# Run the Actor and wait for it to finish
run = client.actor("jupri/kayak-hotels").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "location": "Jakarta"
}' |
apify call jupri/kayak-hotels --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jupri/kayak-hotels"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/4Pgb5f5opvibdcZ5d/builds/lp0bbKyDbzWq1e3MN/openapi.json
