# Traveloka Scraper: Hotels, Reviews, Flights & Activities (`scrapysocial/traveloka-scraper`) Actor

Scrape Traveloka hotel search with filters, rooms and live rates, similar hotels, guest reviews and summaries, cheap-date calendars, flight date prices, trains, buses, car rentals and activities. Real-time, clean JSON. Pay only for results.

- **URL**: https://apify.com/scrapysocial/traveloka-scraper.md
- **Developed by:** [Scrapy Social](https://apify.com/scrapysocial) (community)
- **Categories:** Travel, E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.90 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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

## Traveloka Scraper: Hotels, Reviews, Flights & Activities

Southeast Asia's largest travel platform as clean JSON: hotels with live rates and reviews, flight fares, trains, buses, car rentals and activities, plus helper endpoints for every id a search needs.

**24 endpoints** · real-time data · no Traveloka account or cookies needed · automatic pagination · batch input · pay only for results ($2.80 / 1,000 results, down to $1.90 on higher Apify plans).

### What can this scraper do?

- **Hotel**: Search Hotels, Similar Hotels, Hotel Rooms, Hotel Reviews, Hotel Review Summary, Hotel Nearby Places, Hotel Cheap Dates
- **Flight**: Flight Date Prices, Airport Info
- **Train**: Search Trains
- **Bus**: Search Buses
- **Car Rental**: Search Car Rentals
- **Activity**: Search Activities, Activity Destination, Activity Reviews, Activity Review Summary
- **Utility**: Hotel Locations, Hotel Search Filters, Review Filters, Flight Airports, Train Stations, Bus Countries, Bus Locations, Car Rental Locations

### Use cases

- Hotel price tracking: search a city with star, guest-score, property-type and facility filters, then pull live room rates.
- Reputation analysis: guest reviews with filters and AI review summaries.
- Fare monitoring: cheapest flight fare per day and hotel cheap-date calendars.
- Transport inventory: train, bus and car-rental availability and prices.
- Activity research: attractions, destination pages and activity reviews.

### Why this scraper

- **Clean, consistent JSON.** The same fields (`id`, `author`, `stats`, `createdAt` …) across endpoints, so you write your parser once.
- **Real-time.** Every run fetches live data; nothing is served from a stale database.
- **No login, no blocking headaches.** Sessions, proxies, signatures and retries are handled for you.
- **Pagination built in.** Set *Max results per query*; the actor follows cursors for you and de-duplicates.
- **Batch mode.** Many usernames / posts / keywords in one run.
- **Fair billing.** Not-found lookups and failed calls are never charged.

### How to use it

1. Pick **What to scrape** (for example *Search Hotels*).
2. Fill the fields that endpoint uses (each field lists the endpoints that use it). Leave the others empty.
3. Set **Max results per query**, then click **Start**.
4. Download the results as JSON, CSV, Excel or HTML, or read them through the Apify API.

#### Input examples

**4–5 star hotels in Jakarta**

```json
{
  "endpoint": "hotel-search",
  "geoId": "102813",
  "checkInYear": 2026,
  "checkInMonth": 12,
  "checkInDay": 14,
  "checkOutYear": 2026,
  "checkOutMonth": 12,
  "checkOutDay": 15,
  "starRating": "4,5",
  "maxItems": 100
}
```

**Guest reviews of a hotel**

```json
{
  "endpoint": "hotel-reviews",
  "hotelId": "237749",
  "maxItems": 100
}
```

**Cheapest fare per day, Jakarta → Bali**

```json
{
  "endpoint": "flight-date-prices",
  "origin": "CGK",
  "destination": "DPS",
  "departureYear": 2026,
  "departureMonth": 12,
  "departureDay": 14,
  "maxItems": 50
}
```

**Activities in Jakarta**

```json
{
  "endpoint": "activity-search",
  "keyword": "jakarta",
  "maxItems": 50
}
```

**Resolve several destinations (batch)**

```json
{
  "endpoint": "hotel-locations",
  "batch": [
    {
      "keyword": "bali"
    },
    {
      "keyword": "jakarta"
    }
  ],
  "maxItems": 50
}
```

### Output

Each result is one dataset row. List endpoints produce one row per item; lookups produce one row. Every row has a `_meta` object (endpoint, query, page, scrapedAt). Trend lists and similar responses also carry the list's own fields under `_context`. Example row from **Search Hotels**:

```json
{
  "id": "237749",
  "name": "Grand Sahid Jaya Jakarta",
  "region": "Sudirman, Central Jakarta",
  "propertyType": "Hotels",
  "starRating": "5.0",
  "rating": "8.1",
  "ratingLabel": "Very Good",
  "reviewCount": "4896",
  "latitude": "-6.211145",
  "longitude": "106.819933",
  "imageUrl": "https://img.cnt.traveloka.com/tvlk/apr-asset/Ixf4aptF5N2Qdfmh4fGGYhTN274kJXuNMkUAzpL5HuD9j?…",
  "images": [
    "https://img.cnt.traveloka.com/tvlk/apr-asset/Ixf4aptF5N2Qdfmh4fGGYhTN274kJXuNMkUAzpL5HuD9j?…",
    "https://img.cnt.traveloka.com/tvlk/apr-asset/Ixf4aptF5N2Qdfmh4fGGYhTN274kJXuNMkUAzpL5HuD9j?…"
  ],
  "facilities": [
    "RESTAURANT",
    "WIFI_PUBLIC_AREA"
  ],
  "features": [
    "Outdoor pool",
    "Poolside bar"
  ],
  "url": "hotel/indonesia/grand-sahid-jaya-jakarta-237749",
  "_meta": {
    "endpoint": "hotel-search",
    "query": {
      "geoId": "102813",
      "checkInYear": "2026",
      "checkInMonth": "12",
      "checkInDay": "14",
      "checkOutYear": "2026",
      "checkOutMonth": "12",
      "checkOutDay": "15"
    },
    "page": 1,
    "scrapedAt": "2026-11-11T08:00:00.000Z"
  }
}
```

A run summary (results, pages, not found, failed, stop reason) is saved to the key-value store as `OUTPUT`.

### Endpoints

| Group | Endpoint (`endpoint` value) | What you get | Paginated |
|---|---|---|---|
| Hotel | Search Hotels (`hotel-search`) | Search hotels in a region, city or area with star, rating, type and facility filters. | yes |
| Hotel | Similar Hotels (`hotel-similar`) | Get hotels similar to a given hotel, with their cheapest price for the dates. |  |
| Hotel | Hotel Rooms (`hotel-rooms`) | Get bookable rooms and live rates of a hotel for given dates. |  |
| Hotel | Hotel Reviews (`hotel-reviews`) | Get guest reviews of a hotel with score, language, purpose and format filters. | yes |
| Hotel | Hotel Review Summary (`hotel-review-summary`) | Get a hotel's overall score, review count, AI summary and highlighted reviews. |  |
| Hotel | Hotel Nearby Places (`hotel-nearby`) | Get landmarks, transport and places around a hotel with distances. |  |
| Hotel | Hotel Cheap Dates (`hotel-cheap-dates`) | Get which days of a month are flagged cheapest for hotels in a location. |  |
| Flight | Flight Date Prices (`flight-date-prices`) | Get the cheapest one-way fare per day around a travel date for a route. |  |
| Flight | Airport Info (`airport-info`) | Get name, city, country, ICAO and coordinates of airports by IATA code. |  |
| Train | Search Trains (`train-search`) | Search one-way train schedules, classes, seats left and fares between two stations. |  |
| Bus | Search Buses (`bus-search`) | Search bus and shuttle departures, operators, seats and fares between two places. |  |
| Car Rental | Search Car Rentals (`car-rental-search`) | Search rental cars (with or without driver) for a pick-up place and period. | yes |
| Activity | Search Activities (`activity-search`) | Search Traveloka Xperience activities, destinations and categories by keyword. |  |
| Activity | Activity Destination (`activity-destination`) | Get top activities, categories, nearby areas and stats for an Xperience destination. |  |
| Activity | Activity Reviews (`activity-reviews`) | Get customer reviews of an Xperience activity with score, language and format filters. | yes |
| Activity | Activity Review Summary (`activity-review-summary`) | Get an activity's overall score, review count and highlighted reviews. |  |
| Utility | Hotel Locations (`hotel-locations`) | Suggest regions, cities, areas, landmarks and hotels for a hotel search keyword. |  |
| Utility | Hotel Search Filters (`hotel-filters`) | List hotel filter options, neighborhoods and price range for a location. |  |
| Utility | Review Filters (`review-filters`) | List the live sort and filter options for hotel or activity reviews. |  |
| Utility | Flight Airports (`flight-airports`) | Search airports and city areas by keyword for flight queries. |  |
| Utility | Train Stations (`train-stations`) | Search train stations and cities by keyword for train searches. |  |
| Utility | Bus Countries (`bus-countries`) | List the countries where Traveloka sells bus and shuttle tickets. |  |
| Utility | Bus Locations (`bus-locations`) | Search cities, areas and terminals by keyword for bus searches. |  |
| Utility | Car Rental Locations (`car-rental-locations`) | Search pick-up cities, regions and places for car rental searches. |  |

#### Endpoint reference

##### Hotel

###### Search Hotels · `hotel-search`

Returns hotels and other stays inside a Traveloka geo (region / city / area) for the given dates: name, stars, guest score, location, images, facilities and SEO url. Get `geoId` from `the "Hotel Locations" endpoint`; filter ids and neighborhoods come from `the "Hotel Search Filters" endpoint`. Supports `sort`, `starRating`, `guestRating`, `propertyType`, `facilities`, `roomFacilities`, `uniqueFacilities`, `promos` and `picks` (see param docs); pass a neighborhood id from `hotel/filters` as `geoId` to search one area. `total` is capped at 5000 by Traveloka. Offset pagination: `cursor` + `count`; `hasMore` is false on the first empty page. Live room prices are not part of this list — use `the "Hotel Rooms" endpoint` or `the "Similar Hotels" endpoint`.

| Field | Required | Description |
|---|---|---|
| `geoId` | yes | Traveloka geo id of a region / city / area (e.g. `102813` = Jakarta, `102746` = Bali). Get it from `the "Hotel Locations" endpoint` (`id` of a region, city or area row); a neighborhood id from `the "Hotel Search Filters" endpoint` (`areas[].id`, e.g. `102899`… |
| `checkInYear` | yes | Check-in year (4 digits). Must be today or later. |
| `checkInMonth` | yes | Check-in month, 1–12. |
| `checkInDay` | yes | Check-in day of month, 1–31. |
| `checkOutYear` | yes | Check-out year (4 digits). Must be today or later. |
| `checkOutMonth` | yes | Check-out month, 1–12. |
| `checkOutDay` | yes | Check-out day of month, 1–31. |
| `adults` |  | Number of adult guests (1–30). Omit = 2. |
| `rooms` |  | Number of rooms (1–8). Omit = 1. |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |
| `sort` |  | Sort order. Allowed: `popularity` = Traveloka popularity (default), `rating` = highest guest rating first, `distance` = closest to the location centre first. Values are lower-case. |
| `starRating` |  | Star-rating filter, comma-separated digits 1–5 (e.g. `4,5` = 4★ or 5★). Omit = any. |
| `guestRating` |  | Minimum guest score. Allowed: `7` = 7+, `8` = 8+, `9` = 9+. Omit = any. |
| `propertyType` |  | Property-type filter, comma-separated, upper-case. Allowed: `HOTEL`, `APARTMENT`, `VILLA`, `GUESTHOUSE`, `HOMESTAY`, `HOSTEL`, `BED_AND_BREAKFAST`, `CAPSULE_HOTEL`, `RESORT`, `RYOKAN` (availability varies per city — see `the "Hotel Search Filters" endpoint` c… |
| `facilities` |  | Popular-facility filter, comma-separated ids from `the "Hotel Search Filters" endpoint` category `BASIC_FACILITIES` (e.g. `POOL,BREAKFAST,PARKING,FITNESS,AIRPORT_TRANSFER`). Omit = any. |
| `roomFacilities` |  | Room-facility filter, comma-separated ids from `the "Hotel Search Filters" endpoint` category `ROOM_FACILITIES` (e.g. `AIR_CONDITIONING,BATHTUB,KITCHENETTE,FAMILY_ROOM`). Omit = any. |
| `uniqueFacilities` |  | Unique-facility filter, comma-separated ids from `the "Hotel Search Filters" endpoint` category `UNIQUE_FACILITIES` (e.g. `BAR,SHOPPING,GOLF`). Omit = any. |
| `promos` |  | Promo filter, comma-separated ids from `the "Hotel Search Filters" endpoint` category `PROMO_AND_DISCOUNT` (campaign ids change often, e.g. `PROMO_FOR_YOU`). Omit = any. |
| `picks` |  | Traveloka's picks, comma-separated. Allowed: `PREFERRED_PARTNER`, `BUDGET_HOTEL`. Omit = any. |
| `cursor` |  | Zero-based offset of the first item. Omit (or `0`) for page one; next page = previous `cursor` + `count` while `hasMore` is true. |
| `count` |  | Number of hotels per page (1–50). Omit = 20. |

###### Similar Hotels · `hotel-similar`

Returns Traveloka's "similar properties" for one hotel with the cheapest bookable rate (base, taxes, total) for the given stay. `hotelId` comes from `the "Search Hotels" endpoint` or `the "Hotel Locations" endpoint`. An unknown hotel returns an empty list.

| Field | Required | Description |
|---|---|---|
| `hotelId` | yes | Traveloka hotel id (numeric), e.g. `237749` = Grand Sahid Jaya Jakarta. Get it from `the "Search Hotels" endpoint` or `the "Hotel Locations" endpoint` (hotel rows). |
| `checkInYear` | yes | Check-in year (4 digits). Must be today or later. |
| `checkInMonth` | yes | Check-in month, 1–12. |
| `checkInDay` | yes | Check-in day of month, 1–31. |
| `checkOutYear` | yes | Check-out year (4 digits). Must be today or later. |
| `checkOutMonth` | yes | Check-out month, 1–12. |
| `checkOutDay` | yes | Check-out day of month, 1–31. |
| `adults` |  | Number of adult guests (1–30). Omit = 2. |
| `rooms` |  | Number of rooms (1–8). Omit = 1. |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |

###### Hotel Rooms · `hotel-rooms`

Returns every room type of one hotel with its rate plans: occupancy, rooms left, breakfast, refundability and base / tax / total price for the stay. `hotelId` comes from `the "Search Hotels" endpoint`. Sold-out or unknown hotels return an empty `rooms` list. This platform is protected by AWS WAF: it works from a warmed-up logged-in Traveloka tab and is challenged for headless clients.

| Field | Required | Description |
|---|---|---|
| `hotelId` | yes | Traveloka hotel id (numeric), e.g. `237749` = Grand Sahid Jaya Jakarta. Get it from `the "Search Hotels" endpoint` or `the "Hotel Locations" endpoint` (hotel rows). |
| `checkInYear` | yes | Check-in year (4 digits). Must be today or later. |
| `checkInMonth` | yes | Check-in month, 1–12. |
| `checkInDay` | yes | Check-in day of month, 1–31. |
| `checkOutYear` | yes | Check-out year (4 digits). Must be today or later. |
| `checkOutMonth` | yes | Check-out month, 1–12. |
| `checkOutDay` | yes | Check-out day of month, 1–31. |
| `adults` |  | Number of adult guests (1–30). Omit = 2. |
| `rooms` |  | Number of rooms (1–8). Omit = 1. |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |

###### Hotel Reviews · `hotel-reviews`

Returns Traveloka guest reviews of one hotel: score, text (translated + original), author, media, likes and owner reply. Supports `sort`, `rating`, `language`, `travelPurpose` and `format` (see param docs; the same lists are returned live by `the "Review Filters" endpoint`). Offset pagination: `cursor` + `count`, `hasMore` from Traveloka. Unknown hotels return an empty list.

| Field | Required | Description |
|---|---|---|
| `hotelId` | yes | Traveloka hotel id (numeric), e.g. `237749` = Grand Sahid Jaya Jakarta. Get it from `the "Search Hotels" endpoint` or `the "Hotel Locations" endpoint` (hotel rows). |
| `sort` |  | Order. Allowed: `newest` (default), `helpful` = most helpful, `rating_desc` = highest score first, `rating_asc` = lowest score first. |
| `rating` |  | Score band. Allowed: `all`, `exceptional` (9+), `very_good` (8+), `pleasant` (6+), `fair` (5+), `poor` (<5). Omit = `all`. |
| `language` |  | Review language. Allowed: `all` (app language + translations), `en`, `id`, `ms`, `th`, `vi`, `jp`, `ko`, `zh`. Omit = `all`. |
| `travelPurpose` |  | Hotel guest category. Allowed: `all`, `staycation`, `transit`, `shopping_and_culinary`, `leisure`, `business`, `romantic`, `family`, `backpacking`, `medical`. Omit = `all`. |
| `format` |  | Review format. Allowed: `all` = every review, `text` = with text, `media` = with photos/videos, `text_media` = text and media. Omit = `all`. |
| `cursor` |  | Zero-based offset of the first item. Omit (or `0`) for page one; next page = previous `cursor` + `count` while `hasMore` is true. |
| `count` |  | Number of reviews per page (1–50). Omit = 20. |

###### Hotel Review Summary · `hotel-review-summary`

Returns the aggregate guest score of one hotel (score, label, review count), Traveloka's AI-written summary with topic highlights and the highlighted reviews shown on the hotel page. 404 NOT_FOUND when the hotel does not exist or has no Traveloka reviews.

| Field | Required | Description |
|---|---|---|
| `hotelId` | yes | Traveloka hotel id (numeric), e.g. `237749` = Grand Sahid Jaya Jakarta. Get it from `the "Search Hotels" endpoint` or `the "Hotel Locations" endpoint` (hotel rows). |

###### Hotel Nearby Places · `hotel-nearby`

Returns the points of interest Traveloka shows around one hotel (landmarks, transport hubs, malls, restaurants…) with type, distance, coordinates and rating, plus the section list (`Nearby Places`, `Popular Places`…) that groups them by id. 404 NOT_FOUND when the hotel id is unknown.

| Field | Required | Description |
|---|---|---|
| `hotelId` | yes | Traveloka hotel id (numeric), e.g. `237749` = Grand Sahid Jaya Jakarta. Get it from `the "Search Hotels" endpoint` or `the "Hotel Locations" endpoint` (hotel rows). |

###### Hotel Cheap Dates · `hotel-cheap-dates`

Returns Traveloka's price calendar for a geo (region / city / area) and month: an object keyed by day of month (`"14"`) whose `bestDateStatus` is `HIGHLIGHT_CHEAP` on the cheaper days and `NORMAL` otherwise. `geoId` comes from `the "Hotel Locations" endpoint`.

| Field | Required | Description |
|---|---|---|
| `geoId` | yes | Traveloka geo id of a region / city / area (e.g. `102813` = Jakarta, `102746` = Bali). Get it from `the "Hotel Locations" endpoint` (`id` of a region, city or area row); a neighborhood id from `the "Hotel Search Filters" endpoint` (`areas[].id`, e.g. `102899`… |
| `year` | yes | Calendar year (4 digits). |
| `month` | yes | Calendar month, 1–12. |
| `adults` |  | Number of adult guests (1–30). Omit = 2. |
| `rooms` |  | Number of rooms (1–8). Omit = 1. |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |

##### Flight

###### Flight Date Prices · `flight-date-prices`

Returns Traveloka's fare calendar for a one-way route: the cheapest fare, airline codes and a cheap/normal flag for each day around the requested date, plus a price-insight message. Amounts are in minor units when `currencyDecimals` > 0 (USD 14200 = 142.00). Codes come from `the "Flight Airports" endpoint`; `seatClass` is documented below.

| Field | Required | Description |
|---|---|---|
| `origin` | yes | Origin airport IATA code (`CGK`, `DPS`) or Traveloka city-area code (`JKTA` = all Jakarta airports). Get codes from `the "Flight Airports" endpoint`. |
| `destination` | yes | Destination airport IATA code (`CGK`, `DPS`) or Traveloka city-area code (`JKTA` = all Jakarta airports). Get codes from `the "Flight Airports" endpoint`. |
| `departureYear` | yes | Departure year (4 digits). Must be today or later. |
| `departureMonth` | yes | Departure month, 1–12. |
| `departureDay` | yes | Departure day of month, 1–31. |
| `adults` |  | Adult passengers (1–7). Omit = 1. |
| `children` |  | Child passengers, age 2–11 (0–6). Omit = 0. |
| `infants` |  | Infant passengers, under 2 (0–4). Omit = 0. |
| `seatClass` |  | Cabin class. Allowed: `ECONOMY` (default), `PREMIUM_ECONOMY`, `BUSINESS`, `FIRST`. Upper-case. |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |

###### Airport Info · `airport-info`

Looks up one or more airports (or Traveloka city areas) by code: name, city, country, ICAO code, area code and geo location. 404 NOT_FOUND when none of the codes exist.

| Field | Required | Description |
|---|---|---|
| `codes` | yes | Comma-separated IATA airport codes or Traveloka area codes (max 10), e.g. `CGK,DPS`. |

##### Train

###### Search Trains · `train-search`

Returns every train for a date and station pair: train name/number, class and sub-class, departure/arrival time, duration, seats available, transits and fares. Station codes come from `the "Train Stations" endpoint`; use `provider` = `KCIC` for Whoosh. An empty `trains` list means no service on that date.

| Field | Required | Description |
|---|---|---|
| `origin` | yes | Origin station code (e.g. `GMR` = Gambir, `BD` = Bandung; Whoosh: `HLM`, `PDL`, `TGL`). Get codes from `the "Train Stations" endpoint`. |
| `destination` | yes | Destination station code (e.g. `GMR` = Gambir, `BD` = Bandung; Whoosh: `HLM`, `PDL`, `TGL`). Get codes from `the "Train Stations" endpoint`. |
| `departureYear` | yes | Departure year (4 digits). Must be today or later. |
| `departureMonth` | yes | Departure month, 1–12. |
| `departureDay` | yes | Departure day of month, 1–31. |
| `adults` |  | Adult passengers (1–4). Omit = 1. |
| `infants` |  | Infant passengers (0–4). Omit = 0. |
| `provider` |  | Rail operator. Allowed: `KAI` = Kereta Api Indonesia (default), `KCIC` = Whoosh high-speed rail (Halim–Padalarang–Tegalluar). |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |

##### Bus

###### Search Buses · `bus-search`

Returns bus / shuttle trips for a date: operator, fleet, route, pick-up and drop-off points with addresses, departure time, duration, seats left, facilities, rating and fare. Place codes and types come from `the "Bus Locations" endpoint` (`code` + `type`). City-to-city routes can return thousands of trips; search from an area (`type` = `GEO`) for smaller result sets.

| Field | Required | Description |
|---|---|---|
| `originCode` | yes | Origin code from `the "Bus Locations" endpoint` (e.g. `a102813` = Jakarta city, `g102973` = Ancol area). |
| `originType` |  | Type of `originCode` as returned by bus/locations. Allowed: `CITY_GEO` (city), `GEO` (area), `ROUTE_POINT` (terminal / pool). Omit = `CITY_GEO`. |
| `destinationCode` | yes | Destination code from `the "Bus Locations" endpoint` (e.g. `a103859` = Bandung). |
| `destinationType` |  | Type of `destinationCode`. Allowed: `CITY_GEO`, `GEO`, `ROUTE_POINT`. Omit = `CITY_GEO`. |
| `departureYear` | yes | Departure year (4 digits). Must be today or later. |
| `departureMonth` | yes | Departure month, 1–12. |
| `departureDay` | yes | Departure day of month, 1–31. |
| `passengers` |  | Passengers (1–10). Omit = 1. |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |

##### Car Rental

###### Search Car Rentals · `car-rental-search`

Returns rental offers for a place and period: vehicle (brand, model, type, seats, bags, transmission), supplier with rating, stock and daily / total price. Traveloka searches suppliers asynchronously: the first call starts the search and usually returns `cars: []` with `searchCompleted: false`, a `cursor` and a `searchId`; wait ~1 s and call again with both until `searchCompleted` is true. Location fields come from `the "Car Rental Locations" endpoint`.

| Field | Required | Description |
|---|---|---|
| `locationId` | yes | Pick-up `locationId` from `the "Car Rental Locations" endpoint` (e.g. `102813` = Jakarta). |
| `locationName` | yes | Pick-up `name` from the same locations row (Traveloka requires it). |
| `locationType` |  | `locationType` from the locations row. Allowed: `PPR_ROUTE` (city / region coverage), `POI` (airport, station, hotel…). Omit = `PPR_ROUTE`. |
| `locationSubType` |  | `locationSubType` from the locations row (e.g. `REGION`, `CITY`, `AIRPORT`). Omit = `REGION`. |
| `startYear` | yes | Pick-up year (4 digits). Must be today or later. |
| `startMonth` | yes | Pick-up month, 1–12. |
| `startDay` | yes | Pick-up day of month, 1–31. |
| `startHour` |  | Pick-up hour 0–23. Omit = 9. |
| `startMinute` |  | Pick-up minute (0 or 30). Omit = 0.Allowed: `0`, `30`. |
| `endYear` | yes | Drop-off year (4 digits). Must be today or later. |
| `endMonth` | yes | Drop-off month, 1–12. |
| `endDay` | yes | Drop-off day of month, 1–31. |
| `endHour` |  | Drop-off hour 0–23. Omit = 9. |
| `endMinute` |  | Drop-off minute (0 or 30). Omit = 0.Allowed: `0`, `30`. |
| `withDriver` |  | `false` = self-drive (default), `true` = car with driver. |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |
| `searchId` |  | `searchId` returned by the previous call of the same search. Omit on the first call. |
| `cursor` |  | Polling cursor returned by the previous call. Omit on the first call; resend until `searchCompleted` is true. |

##### Activity

###### Search Activities · `activity-search`

Returns Traveloka Xperience matches for a keyword: bookable products (attractions, tours, tickets — `id` feeds `the "Activity Reviews" endpoint`), destinations (`entityId` feeds `the "Activity Destination" endpoint`), keyword categories and brand chains.

| Field | Required | Description |
|---|---|---|
| `keyword` | yes | Search text (place, attraction or activity), e.g. `jakarta`, `dufan`, `bali snorkeling`. |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |

###### Activity Destination · `activity-destination`

Returns Traveloka's destination page data for a geo: number of activities, lowest price, rating, best time to visit, top products (name + url), categories and sub-areas. `entityId` comes from `the "Search Activities" endpoint` (`destinations[].entityId`). 404 NOT_FOUND when Traveloka has no destination page for that id.

| Field | Required | Description |
|---|---|---|
| `entityId` | yes | Destination geo id from `the "Search Activities" endpoint` (e.g. `102813` = Jakarta, `102746` = Bali). |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |

###### Activity Reviews · `activity-reviews`

Returns Traveloka reviews of one Xperience product: score, text, author, media and likes. Supports `sort`, `rating`, `language` and `format` (see param docs; live lists via `the "Review Filters" endpoint?productType=activity`). Offset pagination: `cursor` + `count`, `hasMore` from Traveloka. Products without reviews return an empty list.

| Field | Required | Description |
|---|---|---|
| `activityId` | yes | Traveloka Xperience product id (numeric), e.g. `4994749750367` = Jakarta Bird Land Ancol. Get it from `the "Search Activities" endpoint` (`products[].id`). |
| `sort` |  | Order. Allowed: `newest` (default), `helpful` = most helpful, `rating_desc` = highest score first, `rating_asc` = lowest score first. |
| `rating` |  | Score band. Allowed: `all`, `exceptional` (9+), `very_good` (8+), `pleasant` (6+), `fair` (5+), `poor` (<5). Omit = `all`. |
| `language` |  | Review language. Allowed: `all` (app language + translations), `en`, `id`, `ms`, `th`, `vi`, `jp`, `ko`, `zh`. Omit = `all`. |
| `format` |  | Review format. Allowed: `all` = every review, `text` = with text, `media` = with photos/videos, `text_media` = text and media. Omit = `all`. |
| `cursor` |  | Zero-based offset of the first item. Omit (or `0`) for page one; next page = previous `cursor` + `count` while `hasMore` is true. |
| `count` |  | Number of reviews per page (1–50). Omit = 20. |

###### Activity Review Summary · `activity-review-summary`

Returns the aggregate score of one Xperience product (score, label, review count) and the highlighted reviews. 404 NOT_FOUND when the product does not exist or has no reviews.

| Field | Required | Description |
|---|---|---|
| `activityId` | yes | Traveloka Xperience product id (numeric), e.g. `4994749750367` = Jakarta Bird Land Ancol. Get it from `the "Search Activities" endpoint` (`products[].id`). |

##### Utility

###### Hotel Locations · `hotel-locations`

Typeahead behind the Traveloka hotel search box. One `locations` list, ranked by Traveloka; `type` tells the row kind (`GEO_COUNTRY`, `GEO_REGION`, `GEO_CITY`, `GEO_AREA`, `LANDMARK`, `HOTEL`). Geo rows give the `geoId` for `the "Search Hotels" endpoint`, `the "Hotel Search Filters" endpoint` and `the "Hotel Cheap Dates" endpoint`; `HOTEL` rows give the `hotelId` for hotel rooms, reviews, nearby and similar (`cityGeoId` = the hotel's city geo id).

| Field | Required | Description |
|---|---|---|
| `keyword` | yes | City, area, landmark or hotel name, e.g. `bali`, `jakarta`, `grand sahid`. |

###### Hotel Search Filters · `hotel-filters`

Returns the filter panel Traveloka shows for a hotel search: every category (`STAR_RATING`, `GUEST_RATING`, `ACCOMMODATION_TYPE`, `BASIC_FACILITIES`, `ROOM_FACILITIES`, `UNIQUE_FACILITIES`, `PROMO_AND_DISCOUNT`, `PROPERTY_SELECTION`) with ids, labels and counts, the neighborhoods (`areas[].id` → pass as `geoId` to search one neighborhood), popular filters and the price range. Feeds the filter params of `the "Search Hotels" endpoint`.

| Field | Required | Description |
|---|---|---|
| `geoId` | yes | Traveloka geo id of a region / city / area (e.g. `102813` = Jakarta, `102746` = Bali). Get it from `the "Hotel Locations" endpoint` (`id` of a region, city or area row); a neighborhood id from `the "Hotel Search Filters" endpoint` (`areas[].id`, e.g. `102899`… |
| `checkInYear` | yes | Check-in year (4 digits). Must be today or later. |
| `checkInMonth` | yes | Check-in month, 1–12. |
| `checkInDay` | yes | Check-in day of month, 1–31. |
| `checkOutYear` | yes | Check-out year (4 digits). Must be today or later. |
| `checkOutMonth` | yes | Check-out month, 1–12. |
| `checkOutDay` | yes | Check-out day of month, 1–31. |
| `currency` |  | Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`. |

###### Review Filters · `review-filters`

Returns Traveloka's review sort keys and filter groups (format, rating, language and — for hotels — travel purpose) with labels and platform values for one hotel or activity. The friendly values accepted by `the "Hotel Reviews" endpoint` and `the "Activity Reviews" endpoint` map 1:1 to these (e.g. `rating=very_good` = `RATING_VALUE_VERY_GOOD`).

| Field | Required | Description |
|---|---|---|
| `productType` |  | Allowed: `hotel` (default) or `activity`. |
| `id` | yes | Hotel id (productType `hotel`) or Xperience product id (`activity`). |

###### Flight Airports · `flight-airports`

Typeahead behind the Traveloka flight form. Each row has the `code` (IATA airport or Traveloka area such as `JKTA`) used by `the "Flight Date Prices" endpoint` and `the "Airport Info" endpoint`; area rows list their airports in `airports`. Omit `keyword` to get Traveloka's popular airports.

| Field | Required | Description |
|---|---|---|
| `keyword` |  | City, airport name or code, e.g. `bali`, `jakarta`, `SIN`. Omit = popular airports. |

###### Train Stations · `train-stations`

Typeahead behind the Traveloka train form. Station `code` values feed `origin` / `destination` of `the "Search Trains" endpoint`. Use `provider` = `KCIC` for Whoosh stations. Omit `keyword` to get the popular list.

| Field | Required | Description |
|---|---|---|
| `keyword` |  | Station or city name / code, e.g. `bandung`, `gambir`. Omit = popular stations. |
| `provider` |  | Rail operator. Allowed: `KAI` = Kereta Api Indonesia (default), `KCIC` = Whoosh high-speed rail (Halim–Padalarang–Tegalluar). |

###### Bus Countries · `bus-countries`

Returns the country chips of the Traveloka bus form (`countryCode` feeds `the "Bus Locations" endpoint`) and the product types sold per country.

*No parameters.*

###### Bus Locations · `bus-locations`

Typeahead behind the Traveloka bus form. Each row's `code` + `type` feed `originCode/originType` and `destinationCode/destinationType` of `the "Search Buses" endpoint`; cities list their areas / terminals in `children`. `countryCode` values come from `the "Bus Countries" endpoint`.

| Field | Required | Description |
|---|---|---|
| `keyword` |  | City, area or terminal name, e.g. `jakarta`, `bandung`. Omit = popular places. |
| `countryCode` |  | Restrict to one country (ISO-2 from `the "Bus Countries" endpoint`, e.g. `ID`). Omit = `All`. |
| `field` |  | Which form field is being filled. Allowed: `ORIGIN` (default), `DESTINATION`. |

###### Car Rental Locations · `car-rental-locations`

Typeahead behind the Traveloka car-rental form. Each item's `locationId`, `name`, `locationType` and `locationSubType` feed `the "Search Car Rentals" endpoint`. `withDriver` switches between self-drive and with-driver coverage.

| Field | Required | Description |
|---|---|---|
| `keyword` |  | City, airport or place name, e.g. `jakarta`, `bali`. Omit = popular places. |
| `withDriver` |  | `false` = self-drive coverage (default), `true` = with-driver coverage. |

### Pagination, limits and batch

- **Max results per query** (`maxItems`) and **Max pages per query** (`maxPages`) bound each query; the actor stops at whichever comes first or when the source has no more pages.
- **Batch** (`batch`) runs the selected endpoint once per object, e.g. `[{"username":"a"},{"username":"b"}]`. Form fields act as defaults for every batch entry.
- **Parallel queries** (`concurrency`) controls how many batch entries run at once.
- To continue a previous run manually, pass the last `cursor` from the response (with *One row per result* off) as the `cursor` field.

### Pricing

This actor uses **pay per event** pricing: you pay for the results you get, not for compute time.

Higher Apify plans get an automatic Store discount:

| Apify plan | Per 1,000 results | Actor start |
|---|---|---|
| Free | $2.80 | $0.005 |
| Bronze | $2.50 | $0.004 |
| Silver | $2.20 | $0.003 |
| Gold | $1.90 | $0.0025 |
| Platinum | $1.90 | $0.0025 |
| Diamond | $1.90 | $0.0025 |

Example on the Free plan: 1,000 results in one run cost $2.805. Platform usage (compute, proxy, storage) is included; you pay only the events above. The start event is charged once per run at the default 512 MB memory.

Not-found lookups and failed calls are free. With *One row per result* off, a row holding a page of N items counts as N results.

Set **Maximum cost per run** in the run options to cap spending; the actor stops cleanly at that limit and keeps everything it already saved.

### Integrations and API

Run it from code with the Apify API or clients and get results as JSON:

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('<username>/traveloka-scraper').call({"endpoint":"hotel-search","geoId":"102813","checkInYear":2026,"checkInMonth":12,"checkInDay":14,"checkOutYear":2026,"checkOutMonth":12,"checkOutDay":15,"starRating":"4,5","maxItems":100});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

It also works with schedules, webhooks, Make, Zapier, n8n, Google Sheets and every other Apify integration.

### FAQ

**Do I need a Traveloka account, cookies or an API key?** No. Just pick an endpoint and run.

**Is scraping Traveloka legal?** This actor only returns publicly available data. You are responsible for how you use it: respect privacy laws (GDPR, CCPA), the platform's terms, and do not collect personal data without a legitimate reason.

**Why did a query return nothing?** The account, post or keyword may not exist, may be private, or may have no public results. Those queries are reported in the `OUTPUT` summary as *not found* and are not charged.

**Can I get more than the maximum?** Raise *Max results per query* and *Max pages per query*. Very large pulls are best split with *Batch*.

**How fresh is the data?** Real time: each run reads the platform at that moment.

### Changelog and support

See the **Changelog** tab. Found a bug or need a field or endpoint? Open an issue in the **Issues** tab; we usually reply within a day.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapysocial/traveloka-scraper/changelog.md

# Actor input Schema

## `endpoint` (type: `string`):

Pick the Traveloka data you want. Then fill only the fields that endpoint uses (each field says which endpoints use it). Full list with descriptions: see the README tab.

## `geoId` (type: `string`):

Traveloka geo id of a region / city / area (e.g. `102813` = Jakarta, `102746` = Bali). Get it from `the "Hotel Locations" endpoint` (`id` of a region, city or area row); a neighborhood id from `the "Hotel Search Filters" endpoint` (`areas[].id`, e.g. `102899` = Central Jakarta) narrows the search to that area.<br><br><b>Used by:</b> Search Hotels, Hotel Cheap Dates, Hotel Search Filters. <b>Required by:</b> Search Hotels, Hotel Cheap Dates, Hotel Search Filters. <b>Example:</b> <code>102813</code>

## `checkInYear` (type: `integer`):

Check-in year (4 digits). Must be today or later.<br><br><b>Used by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Required by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Example:</b> <code>2026</code>

## `checkInMonth` (type: `integer`):

Check-in month, 1–12.<br><br><b>Used by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Required by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Example:</b> <code>12</code>

## `checkInDay` (type: `integer`):

Check-in day of month, 1–31.<br><br><b>Used by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Required by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Example:</b> <code>14</code>

## `checkOutYear` (type: `integer`):

Check-out year (4 digits). Must be today or later.<br><br><b>Used by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Required by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Example:</b> <code>2026</code>

## `checkOutMonth` (type: `integer`):

Check-out month, 1–12.<br><br><b>Used by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Required by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Example:</b> <code>12</code>

## `checkOutDay` (type: `integer`):

Check-out day of month, 1–31.<br><br><b>Used by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Required by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Search Filters. <b>Example:</b> <code>15</code>

## `adults` (type: `integer`):

Number of adult guests (1–30). Omit = 2.<br><br><b>Used by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Cheap Dates, Flight Date Prices, Search Trains. <b>Example:</b> <code>2</code>

## `rooms` (type: `integer`):

Number of rooms (1–8). Omit = 1.<br><br><b>Used by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Cheap Dates. <b>Example:</b> <code>1</code>

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

Price currency (ISO 4217, upper-case). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`.<br><br><b>Used by:</b> Search Hotels, Similar Hotels, Hotel Rooms, Hotel Cheap Dates, Flight Date Prices, Search Trains +5 more.

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

Sort order. Allowed: `popularity` = Traveloka popularity (default), `rating` = highest guest rating first, `distance` = closest to the location centre first. Values are lower-case.<br><br><b>Used by:</b> Search Hotels, Hotel Reviews, Activity Reviews.

## `starRating` (type: `string`):

Star-rating filter, comma-separated digits 1–5 (e.g. `4,5` = 4★ or 5★). Omit = any.<br><br><b>Used by:</b> Search Hotels. <b>Example:</b> <code>4,5</code>

## `guestRating` (type: `string`):

Minimum guest score. Allowed: `7` = 7+, `8` = 8+, `9` = 9+. Omit = any.<br><br><b>Used by:</b> Search Hotels.

## `propertyType` (type: `string`):

Property-type filter, comma-separated, upper-case. Allowed: `HOTEL`, `APARTMENT`, `VILLA`, `GUESTHOUSE`, `HOMESTAY`, `HOSTEL`, `BED_AND_BREAKFAST`, `CAPSULE_HOTEL`, `RESORT`, `RYOKAN` (availability varies per city — see `the "Hotel Search Filters" endpoint` category `ACCOMMODATION_TYPE`). Omit = any.<br><br><b>Used by:</b> Search Hotels.

## `facilities` (type: `string`):

Popular-facility filter, comma-separated ids from `the "Hotel Search Filters" endpoint` category `BASIC_FACILITIES` (e.g. `POOL,BREAKFAST,PARKING,FITNESS,AIRPORT_TRANSFER`). Omit = any.<br><br><b>Used by:</b> Search Hotels.

## `roomFacilities` (type: `string`):

Room-facility filter, comma-separated ids from `the "Hotel Search Filters" endpoint` category `ROOM_FACILITIES` (e.g. `AIR_CONDITIONING,BATHTUB,KITCHENETTE,FAMILY_ROOM`). Omit = any.<br><br><b>Used by:</b> Search Hotels.

## `uniqueFacilities` (type: `string`):

Unique-facility filter, comma-separated ids from `the "Hotel Search Filters" endpoint` category `UNIQUE_FACILITIES` (e.g. `BAR,SHOPPING,GOLF`). Omit = any.<br><br><b>Used by:</b> Search Hotels.

## `promos` (type: `string`):

Promo filter, comma-separated ids from `the "Hotel Search Filters" endpoint` category `PROMO_AND_DISCOUNT` (campaign ids change often, e.g. `PROMO_FOR_YOU`). Omit = any.<br><br><b>Used by:</b> Search Hotels.

## `picks` (type: `string`):

Traveloka's picks, comma-separated. Allowed: `PREFERRED_PARTNER`, `BUDGET_HOTEL`. Omit = any.<br><br><b>Used by:</b> Search Hotels.

## `cursor` (type: `string`):

Zero-based offset of the first item. Omit (or `0`) for page one; next page = previous `cursor` + `count` while `hasMore` is true.<br><br><b>Used by:</b> Search Hotels, Hotel Reviews, Search Car Rentals, Activity Reviews. <b>Example:</b> <code>0</code>

## `count` (type: `integer`):

Number of reviews per page (1–50). Omit = 20.<br><br><b>Used by:</b> Search Hotels, Hotel Reviews, Activity Reviews. <b>Example:</b> <code>20</code>

## `hotelId` (type: `string`):

Traveloka hotel id (numeric), e.g. `237749` = Grand Sahid Jaya Jakarta. Get it from `the "Search Hotels" endpoint` or `the "Hotel Locations" endpoint` (hotel rows).<br><br><b>Used by:</b> Similar Hotels, Hotel Rooms, Hotel Reviews, Hotel Review Summary, Hotel Nearby Places. <b>Required by:</b> Similar Hotels, Hotel Rooms, Hotel Reviews, Hotel Review Summary, Hotel Nearby Places. <b>Example:</b> <code>237749</code>

## `rating` (type: `string`):

Score band. Allowed: `all`, `exceptional` (9+), `very_good` (8+), `pleasant` (6+), `fair` (5+), `poor` (<5). Omit = `all`.<br><br><b>Used by:</b> Hotel Reviews, Activity Reviews.

## `language` (type: `string`):

Review language. Allowed: `all` (app language + translations), `en`, `id`, `ms`, `th`, `vi`, `jp`, `ko`, `zh`. Omit = `all`.<br><br><b>Used by:</b> Hotel Reviews, Activity Reviews.

## `travelPurpose` (type: `string`):

Hotel guest category. Allowed: `all`, `staycation`, `transit`, `shopping_and_culinary`, `leisure`, `business`, `romantic`, `family`, `backpacking`, `medical`. Omit = `all`.<br><br><b>Used by:</b> Hotel Reviews.

## `format` (type: `string`):

Review format. Allowed: `all` = every review, `text` = with text, `media` = with photos/videos, `text_media` = text and media. Omit = `all`.<br><br><b>Used by:</b> Hotel Reviews, Activity Reviews.

## `year` (type: `integer`):

Calendar year (4 digits).<br><br><b>Used by:</b> Hotel Cheap Dates. <b>Required by:</b> Hotel Cheap Dates. <b>Example:</b> <code>2026</code>

## `month` (type: `integer`):

Calendar month, 1–12.<br><br><b>Used by:</b> Hotel Cheap Dates. <b>Required by:</b> Hotel Cheap Dates. <b>Example:</b> <code>12</code>

## `origin` (type: `string`):

Origin airport IATA code (`CGK`, `DPS`) or Traveloka city-area code (`JKTA` = all Jakarta airports). Get codes from `the "Flight Airports" endpoint`.<br><br><b>Used by:</b> Flight Date Prices, Search Trains. <b>Required by:</b> Flight Date Prices, Search Trains. <b>Example:</b> <code>CGK</code>

## `destination` (type: `string`):

Destination airport IATA code (`CGK`, `DPS`) or Traveloka city-area code (`JKTA` = all Jakarta airports). Get codes from `the "Flight Airports" endpoint`.<br><br><b>Used by:</b> Flight Date Prices, Search Trains. <b>Required by:</b> Flight Date Prices, Search Trains. <b>Example:</b> <code>DPS</code>

## `departureYear` (type: `integer`):

Departure year (4 digits). Must be today or later.<br><br><b>Used by:</b> Flight Date Prices, Search Trains, Search Buses. <b>Required by:</b> Flight Date Prices, Search Trains, Search Buses. <b>Example:</b> <code>2026</code>

## `departureMonth` (type: `integer`):

Departure month, 1–12.<br><br><b>Used by:</b> Flight Date Prices, Search Trains, Search Buses. <b>Required by:</b> Flight Date Prices, Search Trains, Search Buses. <b>Example:</b> <code>12</code>

## `departureDay` (type: `integer`):

Departure day of month, 1–31.<br><br><b>Used by:</b> Flight Date Prices, Search Trains, Search Buses. <b>Required by:</b> Flight Date Prices, Search Trains, Search Buses. <b>Example:</b> <code>14</code>

## `children` (type: `integer`):

Child passengers, age 2–11 (0–6). Omit = 0.<br><br><b>Used by:</b> Flight Date Prices. <b>Example:</b> <code>0</code>

## `infants` (type: `integer`):

Infant passengers, under 2 (0–4). Omit = 0.<br><br><b>Used by:</b> Flight Date Prices, Search Trains. <b>Example:</b> <code>0</code>

## `seatClass` (type: `string`):

Cabin class. Allowed: `ECONOMY` (default), `PREMIUM_ECONOMY`, `BUSINESS`, `FIRST`. Upper-case.<br><br><b>Used by:</b> Flight Date Prices.

## `codes` (type: `string`):

Comma-separated IATA airport codes or Traveloka area codes (max 10), e.g. `CGK,DPS`.<br><br><b>Used by:</b> Airport Info. <b>Required by:</b> Airport Info. <b>Example:</b> <code>CGK,DPS</code>

## `provider` (type: `string`):

Rail operator. Allowed: `KAI` = Kereta Api Indonesia (default), `KCIC` = Whoosh high-speed rail (Halim–Padalarang–Tegalluar).<br><br><b>Used by:</b> Search Trains, Train Stations.

## `originCode` (type: `string`):

Origin code from `the "Bus Locations" endpoint` (e.g. `a102813` = Jakarta city, `g102973` = Ancol area).<br><br><b>Used by:</b> Search Buses. <b>Required by:</b> Search Buses. <b>Example:</b> <code>a102813</code>

## `originType` (type: `string`):

Type of `originCode` as returned by bus/locations. Allowed: `CITY_GEO` (city), `GEO` (area), `ROUTE_POINT` (terminal / pool). Omit = `CITY_GEO`.<br><br><b>Used by:</b> Search Buses.

## `destinationCode` (type: `string`):

Destination code from `the "Bus Locations" endpoint` (e.g. `a103859` = Bandung).<br><br><b>Used by:</b> Search Buses. <b>Required by:</b> Search Buses. <b>Example:</b> <code>a103859</code>

## `destinationType` (type: `string`):

Type of `destinationCode`. Allowed: `CITY_GEO`, `GEO`, `ROUTE_POINT`. Omit = `CITY_GEO`.<br><br><b>Used by:</b> Search Buses.

## `passengers` (type: `integer`):

Passengers (1–10). Omit = 1.<br><br><b>Used by:</b> Search Buses. <b>Example:</b> <code>1</code>

## `locationId` (type: `string`):

Pick-up `locationId` from `the "Car Rental Locations" endpoint` (e.g. `102813` = Jakarta).<br><br><b>Used by:</b> Search Car Rentals. <b>Required by:</b> Search Car Rentals. <b>Example:</b> <code>102813</code>

## `locationName` (type: `string`):

Pick-up `name` from the same locations row (Traveloka requires it).<br><br><b>Used by:</b> Search Car Rentals. <b>Required by:</b> Search Car Rentals. <b>Example:</b> <code>Jakarta</code>

## `locationType` (type: `string`):

`locationType` from the locations row. Allowed: `PPR_ROUTE` (city / region coverage), `POI` (airport, station, hotel…). Omit = `PPR_ROUTE`.<br><br><b>Used by:</b> Search Car Rentals.

## `locationSubType` (type: `string`):

`locationSubType` from the locations row (e.g. `REGION`, `CITY`, `AIRPORT`). Omit = `REGION`.<br><br><b>Used by:</b> Search Car Rentals. <b>Example:</b> <code>REGION</code>

## `startYear` (type: `integer`):

Pick-up year (4 digits). Must be today or later.<br><br><b>Used by:</b> Search Car Rentals. <b>Required by:</b> Search Car Rentals. <b>Example:</b> <code>2026</code>

## `startMonth` (type: `integer`):

Pick-up month, 1–12.<br><br><b>Used by:</b> Search Car Rentals. <b>Required by:</b> Search Car Rentals. <b>Example:</b> <code>12</code>

## `startDay` (type: `integer`):

Pick-up day of month, 1–31.<br><br><b>Used by:</b> Search Car Rentals. <b>Required by:</b> Search Car Rentals. <b>Example:</b> <code>14</code>

## `startHour` (type: `integer`):

Pick-up hour 0–23. Omit = 9.<br><br><b>Used by:</b> Search Car Rentals. <b>Example:</b> <code>9</code>

## `startMinute` (type: `string`):

Pick-up minute (0 or 30). Omit = 0.<br><br><b>Used by:</b> Search Car Rentals.

## `endYear` (type: `integer`):

Drop-off year (4 digits). Must be today or later.<br><br><b>Used by:</b> Search Car Rentals. <b>Required by:</b> Search Car Rentals. <b>Example:</b> <code>2026</code>

## `endMonth` (type: `integer`):

Drop-off month, 1–12.<br><br><b>Used by:</b> Search Car Rentals. <b>Required by:</b> Search Car Rentals. <b>Example:</b> <code>12</code>

## `endDay` (type: `integer`):

Drop-off day of month, 1–31.<br><br><b>Used by:</b> Search Car Rentals. <b>Required by:</b> Search Car Rentals. <b>Example:</b> <code>16</code>

## `endHour` (type: `integer`):

Drop-off hour 0–23. Omit = 9.<br><br><b>Used by:</b> Search Car Rentals. <b>Example:</b> <code>9</code>

## `endMinute` (type: `string`):

Drop-off minute (0 or 30). Omit = 0.<br><br><b>Used by:</b> Search Car Rentals.

## `withDriver` (type: `boolean`):

`false` = self-drive coverage (default), `true` = with-driver coverage.<br><br><b>Used by:</b> Search Car Rentals, Car Rental Locations. <b>Example:</b> <code>false</code>

## `searchId` (type: `string`):

`searchId` returned by the previous call of the same search. Omit on the first call.<br><br><b>Used by:</b> Search Car Rentals.

## `keyword` (type: `string`):

Search text (place, attraction or activity), e.g. `jakarta`, `dufan`, `bali snorkeling`.<br><br><b>Used by:</b> Search Activities, Hotel Locations, Flight Airports, Train Stations, Bus Locations, Car Rental Locations. <b>Required by:</b> Search Activities, Hotel Locations. <b>Example:</b> <code>jakarta</code>

## `entityId` (type: `string`):

Destination geo id from `the "Search Activities" endpoint` (e.g. `102813` = Jakarta, `102746` = Bali).<br><br><b>Used by:</b> Activity Destination. <b>Required by:</b> Activity Destination. <b>Example:</b> <code>102813</code>

## `activityId` (type: `string`):

Traveloka Xperience product id (numeric), e.g. `4994749750367` = Jakarta Bird Land Ancol. Get it from `the "Search Activities" endpoint` (`products[].id`).<br><br><b>Used by:</b> Activity Reviews, Activity Review Summary. <b>Required by:</b> Activity Reviews, Activity Review Summary. <b>Example:</b> <code>4994749750367</code>

## `productType` (type: `string`):

Allowed: `hotel` (default) or `activity`.<br><br><b>Used by:</b> Review Filters.

## `id` (type: `string`):

Hotel id (productType `hotel`) or Xperience product id (`activity`).<br><br><b>Used by:</b> Review Filters. <b>Required by:</b> Review Filters. <b>Example:</b> <code>237749</code>

## `countryCode` (type: `string`):

Restrict to one country (ISO-2 from `the "Bus Countries" endpoint`, e.g. `ID`). Omit = `All`.<br><br><b>Used by:</b> Bus Locations.

## `field` (type: `string`):

Which form field is being filled. Allowed: `ORIGIN` (default), `DESTINATION`.<br><br><b>Used by:</b> Bus Locations.

## `maxItems` (type: `integer`):

Stop paginating a query after this many results. Each saved result is one billable "result-item" event.

## `maxPages` (type: `integer`):

Upper bound on API pages fetched per query (a page is usually 10–50 results).

## `batch` (type: `array`):

Optional JSON array. Each object is one query for the selected endpoint; its keys override the form fields above. Example: <code>\[{"keyword":"bali"},{"keyword":"jakarta"}]</code>

## `splitItems` (type: `boolean`):

On (recommended): every post/user/comment is its own dataset row. Off: one row per API page (the list stays nested). Billing is per result either way.

## `concurrency` (type: `integer`):

How many batch queries run at the same time.

## Actor input object example

```json
{
  "endpoint": "hotel-search",
  "geoId": "102813",
  "checkInYear": 2026,
  "checkInMonth": 12,
  "checkInDay": 14,
  "checkOutYear": 2026,
  "checkOutMonth": 12,
  "checkOutDay": 15,
  "hotelId": "237749",
  "year": 2026,
  "month": 12,
  "origin": "CGK",
  "destination": "DPS",
  "departureYear": 2026,
  "departureMonth": 12,
  "departureDay": 14,
  "codes": "CGK,DPS",
  "originCode": "a102813",
  "destinationCode": "a103859",
  "locationId": "102813",
  "locationName": "Jakarta",
  "startYear": 2026,
  "startMonth": 12,
  "startDay": 14,
  "endYear": 2026,
  "endMonth": 12,
  "endDay": 16,
  "keyword": "jakarta",
  "entityId": "102813",
  "activityId": "4994749750367",
  "id": "237749",
  "maxItems": 100,
  "maxPages": 10,
  "splitItems": true,
  "concurrency": 3
}
```

# Actor output Schema

## `results` (type: `string`):

Scraped Traveloka items. One dataset row per result (post, user, comment, hotel …) with a `_meta` object.

## `overview` (type: `string`):

Summary of the run: results, pages, not found, failed queries and stop reason.

# 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 = {
    "geoId": "102813",
    "checkInYear": 2026,
    "checkInMonth": 12,
    "checkInDay": 14,
    "checkOutYear": 2026,
    "checkOutMonth": 12,
    "checkOutDay": 15,
    "hotelId": "237749",
    "year": 2026,
    "month": 12,
    "origin": "CGK",
    "destination": "DPS",
    "departureYear": 2026,
    "departureMonth": 12,
    "departureDay": 14,
    "codes": "CGK,DPS",
    "originCode": "a102813",
    "destinationCode": "a103859",
    "locationId": "102813",
    "locationName": "Jakarta",
    "startYear": 2026,
    "startMonth": 12,
    "startDay": 14,
    "endYear": 2026,
    "endMonth": 12,
    "endDay": 16,
    "keyword": "jakarta",
    "entityId": "102813",
    "activityId": "4994749750367",
    "id": "237749"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapysocial/traveloka-scraper").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 = {
    "geoId": "102813",
    "checkInYear": 2026,
    "checkInMonth": 12,
    "checkInDay": 14,
    "checkOutYear": 2026,
    "checkOutMonth": 12,
    "checkOutDay": 15,
    "hotelId": "237749",
    "year": 2026,
    "month": 12,
    "origin": "CGK",
    "destination": "DPS",
    "departureYear": 2026,
    "departureMonth": 12,
    "departureDay": 14,
    "codes": "CGK,DPS",
    "originCode": "a102813",
    "destinationCode": "a103859",
    "locationId": "102813",
    "locationName": "Jakarta",
    "startYear": 2026,
    "startMonth": 12,
    "startDay": 14,
    "endYear": 2026,
    "endMonth": 12,
    "endDay": 16,
    "keyword": "jakarta",
    "entityId": "102813",
    "activityId": "4994749750367",
    "id": "237749",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapysocial/traveloka-scraper").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 '{
  "geoId": "102813",
  "checkInYear": 2026,
  "checkInMonth": 12,
  "checkInDay": 14,
  "checkOutYear": 2026,
  "checkOutMonth": 12,
  "checkOutDay": 15,
  "hotelId": "237749",
  "year": 2026,
  "month": 12,
  "origin": "CGK",
  "destination": "DPS",
  "departureYear": 2026,
  "departureMonth": 12,
  "departureDay": 14,
  "codes": "CGK,DPS",
  "originCode": "a102813",
  "destinationCode": "a103859",
  "locationId": "102813",
  "locationName": "Jakarta",
  "startYear": 2026,
  "startMonth": 12,
  "startDay": 14,
  "endYear": 2026,
  "endMonth": 12,
  "endDay": 16,
  "keyword": "jakarta",
  "entityId": "102813",
  "activityId": "4994749750367",
  "id": "237749"
}' |
apify call scrapysocial/traveloka-scraper --silent --output-dataset

```

## MCP server setup

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

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/Ogx2hC8TJaUGEBlwN/builds/nUXX4HZZdsy5EWHxL/openapi.json
