{
  "openapi": "3.0.1",
  "info": {
    "title": "Traveloka Scraper: Hotels, Reviews, Flights & Activities",
    "description": "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.",
    "version": "1.0",
    "x-build-id": "nUXX4HZZdsy5EWHxL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapysocial~traveloka-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapysocial-traveloka-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/scrapysocial~traveloka-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapysocial-traveloka-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/scrapysocial~traveloka-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapysocial-traveloka-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "endpoint"
        ],
        "properties": {
          "endpoint": {
            "title": "What to scrape",
            "enum": [
              "hotel-search",
              "hotel-similar",
              "hotel-rooms",
              "hotel-reviews",
              "hotel-review-summary",
              "hotel-nearby",
              "hotel-cheap-dates",
              "flight-date-prices",
              "airport-info",
              "train-search",
              "bus-search",
              "car-rental-search",
              "activity-search",
              "activity-destination",
              "activity-reviews",
              "activity-review-summary",
              "hotel-locations",
              "hotel-filters",
              "review-filters",
              "flight-airports",
              "train-stations",
              "bus-countries",
              "bus-locations",
              "car-rental-locations"
            ],
            "type": "string",
            "description": "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.",
            "default": "hotel-search"
          },
          "geoId": {
            "title": "Geo ID",
            "type": "string",
            "description": "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": {
            "title": "Check in year",
            "minimum": 2024,
            "maximum": 2100,
            "type": "integer",
            "description": "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": {
            "title": "Check in month",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "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": {
            "title": "Check in day",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "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": {
            "title": "Check out year",
            "minimum": 2024,
            "maximum": 2100,
            "type": "integer",
            "description": "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": {
            "title": "Check out month",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "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": {
            "title": "Check out day",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "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": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "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": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "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": {
            "title": "Currency",
            "enum": [
              "IDR",
              "USD",
              "SGD",
              "MYR",
              "THB",
              "VND",
              "PHP",
              "AUD"
            ],
            "type": "string",
            "description": "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": {
            "title": "Sort",
            "enum": [
              "popularity",
              "rating",
              "distance",
              "newest",
              "helpful",
              "rating_desc",
              "rating_asc"
            ],
            "type": "string",
            "description": "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": {
            "title": "Star rating",
            "type": "string",
            "description": "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": {
            "title": "Guest rating",
            "enum": [
              "7",
              "8",
              "9"
            ],
            "type": "string",
            "description": "Minimum guest score. Allowed: `7` = 7+, `8` = 8+, `9` = 9+. Omit = any.<br><br><b>Used by:</b> Search Hotels."
          },
          "propertyType": {
            "title": "Property type",
            "type": "string",
            "description": "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": {
            "title": "Facilities",
            "type": "string",
            "description": "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": {
            "title": "Room facilities",
            "type": "string",
            "description": "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": {
            "title": "Unique facilities",
            "type": "string",
            "description": "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": {
            "title": "Promos",
            "type": "string",
            "description": "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": {
            "title": "Picks",
            "type": "string",
            "description": "Traveloka's picks, comma-separated. Allowed: `PREFERRED_PARTNER`, `BUDGET_HOTEL`. Omit = any.<br><br><b>Used by:</b> Search Hotels."
          },
          "cursor": {
            "title": "Cursor",
            "type": "string",
            "description": "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": {
            "title": "Count",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "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": {
            "title": "Hotel ID",
            "type": "string",
            "description": "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": {
            "title": "Rating",
            "enum": [
              "all",
              "exceptional",
              "very_good",
              "pleasant",
              "fair",
              "poor"
            ],
            "type": "string",
            "description": "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": {
            "title": "Language",
            "enum": [
              "all",
              "en",
              "id",
              "ms",
              "th",
              "vi",
              "jp",
              "ko",
              "zh"
            ],
            "type": "string",
            "description": "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": {
            "title": "Travel purpose",
            "enum": [
              "all",
              "staycation",
              "transit",
              "shopping_and_culinary",
              "leisure",
              "business",
              "romantic",
              "family",
              "backpacking",
              "medical"
            ],
            "type": "string",
            "description": "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": {
            "title": "Format",
            "enum": [
              "all",
              "text",
              "media",
              "text_media"
            ],
            "type": "string",
            "description": "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": {
            "title": "Year",
            "minimum": 2024,
            "maximum": 2100,
            "type": "integer",
            "description": "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": {
            "title": "Month",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "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": {
            "title": "Origin",
            "type": "string",
            "description": "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": {
            "title": "Destination",
            "type": "string",
            "description": "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": {
            "title": "Departure year",
            "minimum": 2024,
            "maximum": 2100,
            "type": "integer",
            "description": "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": {
            "title": "Departure month",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "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": {
            "title": "Departure day",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "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": {
            "title": "Children",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "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": {
            "title": "Infants",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "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": {
            "title": "Seat class",
            "enum": [
              "ECONOMY",
              "PREMIUM_ECONOMY",
              "BUSINESS",
              "FIRST"
            ],
            "type": "string",
            "description": "Cabin class. Allowed: `ECONOMY` (default), `PREMIUM_ECONOMY`, `BUSINESS`, `FIRST`. Upper-case.<br><br><b>Used by:</b> Flight Date Prices."
          },
          "codes": {
            "title": "Codes",
            "type": "string",
            "description": "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": {
            "title": "Provider",
            "enum": [
              "KAI",
              "KCIC"
            ],
            "type": "string",
            "description": "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": {
            "title": "Origin code",
            "type": "string",
            "description": "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": {
            "title": "Origin type",
            "enum": [
              "CITY_GEO",
              "GEO",
              "ROUTE_POINT"
            ],
            "type": "string",
            "description": "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": {
            "title": "Destination code",
            "type": "string",
            "description": "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": {
            "title": "Destination type",
            "enum": [
              "CITY_GEO",
              "GEO",
              "ROUTE_POINT"
            ],
            "type": "string",
            "description": "Type of `destinationCode`. Allowed: `CITY_GEO`, `GEO`, `ROUTE_POINT`. Omit = `CITY_GEO`.<br><br><b>Used by:</b> Search Buses."
          },
          "passengers": {
            "title": "Passengers",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Passengers (1–10). Omit = 1.<br><br><b>Used by:</b> Search Buses. <b>Example:</b> <code>1</code>"
          },
          "locationId": {
            "title": "Location ID",
            "type": "string",
            "description": "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": {
            "title": "Location name",
            "type": "string",
            "description": "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": {
            "title": "Location type",
            "enum": [
              "PPR_ROUTE",
              "POI"
            ],
            "type": "string",
            "description": "`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": {
            "title": "Location sub type",
            "type": "string",
            "description": "`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": {
            "title": "Start year",
            "minimum": 2024,
            "maximum": 2100,
            "type": "integer",
            "description": "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": {
            "title": "Start month",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "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": {
            "title": "Start day",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "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": {
            "title": "Start hour",
            "minimum": 0,
            "maximum": 23,
            "type": "integer",
            "description": "Pick-up hour 0–23. Omit = 9.<br><br><b>Used by:</b> Search Car Rentals. <b>Example:</b> <code>9</code>"
          },
          "startMinute": {
            "title": "Start minute",
            "enum": [
              "0",
              "30"
            ],
            "type": "string",
            "description": "Pick-up minute (0 or 30). Omit = 0.<br><br><b>Used by:</b> Search Car Rentals."
          },
          "endYear": {
            "title": "End year",
            "minimum": 2024,
            "maximum": 2100,
            "type": "integer",
            "description": "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": {
            "title": "End month",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "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": {
            "title": "End day",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "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": {
            "title": "End hour",
            "minimum": 0,
            "maximum": 23,
            "type": "integer",
            "description": "Drop-off hour 0–23. Omit = 9.<br><br><b>Used by:</b> Search Car Rentals. <b>Example:</b> <code>9</code>"
          },
          "endMinute": {
            "title": "End minute",
            "enum": [
              "0",
              "30"
            ],
            "type": "string",
            "description": "Drop-off minute (0 or 30). Omit = 0.<br><br><b>Used by:</b> Search Car Rentals."
          },
          "withDriver": {
            "title": "With driver",
            "type": "boolean",
            "description": "`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": {
            "title": "Search ID",
            "type": "string",
            "description": "`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": {
            "title": "Keyword",
            "type": "string",
            "description": "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": {
            "title": "Entity ID",
            "type": "string",
            "description": "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": {
            "title": "Activity ID",
            "type": "string",
            "description": "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": {
            "title": "Product type",
            "enum": [
              "hotel",
              "activity"
            ],
            "type": "string",
            "description": "Allowed: `hotel` (default) or `activity`.<br><br><b>Used by:</b> Review Filters."
          },
          "id": {
            "title": "ID",
            "type": "string",
            "description": "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": {
            "title": "Country code",
            "type": "string",
            "description": "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": {
            "title": "Field",
            "enum": [
              "ORIGIN",
              "DESTINATION"
            ],
            "type": "string",
            "description": "Which form field is being filled. Allowed: `ORIGIN` (default), `DESTINATION`.<br><br><b>Used by:</b> Bus Locations."
          },
          "maxItems": {
            "title": "Max results per query",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop paginating a query after this many results. Each saved result is one billable \"result-item\" event.",
            "default": 100
          },
          "maxPages": {
            "title": "Max pages per query",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Upper bound on API pages fetched per query (a page is usually 10–50 results).",
            "default": 10
          },
          "batch": {
            "title": "Batch (many queries in one run)",
            "type": "array",
            "description": "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": {
            "title": "One row per result",
            "type": "boolean",
            "description": "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.",
            "default": true
          },
          "concurrency": {
            "title": "Parallel queries",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many batch queries run at the same time.",
            "default": 3
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}