{
  "openapi": "3.0.1",
  "info": {
    "title": "Tiket.com Scraper: Hotels, Flights, Trains, Buses & Activities",
    "description": "Scrape Tiket.com hotel search, detail, rooms and rates, reviews, flights and fare calendars, KAI trains, bus and shuttle, car rental, airport transfers and to-do activities. Real-time, clean JSON, auto pagination. Pay only for results.",
    "version": "1.0",
    "x-build-id": "vFNvraVynFgazyT2a"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapysocial~tiketcom-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapysocial-tiketcom-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~tiketcom-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapysocial-tiketcom-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~tiketcom-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapysocial-tiketcom-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-detail",
              "hotel-rooms",
              "hotel-similar",
              "hotel-nearby",
              "hotel-reviews",
              "hotel-places",
              "hotel-faq",
              "flight-search",
              "flight-calendar",
              "train-search",
              "bus-search",
              "car-search",
              "airport-transfer-search",
              "activity-search",
              "activity-detail",
              "activity-suggestions",
              "activity-reviews",
              "activity-availability",
              "hotel-locations",
              "hotel-filters",
              "flight-airports",
              "train-stations",
              "activity-destinations",
              "bus-locations",
              "car-locations",
              "airport-transfer-airports"
            ],
            "type": "string",
            "description": "Pick the Tiket.com 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"
          },
          "locationId": {
            "title": "Location ID",
            "type": "string",
            "description": "Tiket geo public id (e.g. `jakarta-108001534490276204`). From `the \"Hotel Locations\" endpoint` (`id`).<br><br><b>Used by:</b> Search Hotels, Hotel Filters. <b>Required by:</b> Search Hotels, Hotel Filters. <b>Example:</b> <code>jakarta-108001534490276204</code>"
          },
          "locationType": {
            "title": "Location type",
            "enum": [
              "REGION",
              "CITY",
              "AREA",
              "POI",
              "HOTEL"
            ],
            "type": "string",
            "description": "Geo kind of `locationId`. Allowed: `REGION`, `CITY`, `AREA`, `POI`, `HOTEL`. Omit = `REGION`.<br><br><b>Used by:</b> Search Hotels, Hotel Filters."
          },
          "checkIn": {
            "title": "Check in",
            "type": "string",
            "description": "Check-in date (`YYYY-MM-DD`). Must be today or later.<br><br><b>Used by:</b> Search Hotels, Hotel Rooms, Similar Hotels, Nearby Hotels, Hotel Filters. <b>Required by:</b> Search Hotels, Hotel Rooms, Similar Hotels, Nearby Hotels, Hotel Filters. <b>Example:</b> <code>2026-12-14</code>"
          },
          "nights": {
            "title": "Nights",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of nights (1–30). Omit = 1.<br><br><b>Used by:</b> Search Hotels, Hotel Rooms, Similar Hotels, Nearby Hotels, Hotel Filters. <b>Example:</b> <code>1</code>"
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Adult passengers (1–7). Omit = 1.<br><br><b>Used by:</b> Search Hotels, Hotel Rooms, Similar Hotels, Nearby Hotels, Search Flights, Flight Price Calendar +3 more. <b>Example:</b> <code>2</code>"
          },
          "rooms": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Rooms (1–8). Omit = 1.<br><br><b>Used by:</b> Search Hotels, Hotel Rooms, Similar Hotels, Nearby Hotels, Hotel Filters. <b>Example:</b> <code>1</code>"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "popularity",
              "review",
              "lowest_price",
              "highest_price",
              "distance",
              "helpful",
              "latest",
              "rating_desc",
              "rating_asc"
            ],
            "type": "string",
            "description": "Review order. Allowed: `helpful` (most liked first), `latest` (newest first), `rating_desc` (highest score first), `rating_asc` (lowest score first). Omit = `helpful`.<br><br><b>Used by:</b> Search Hotels, Hotel Reviews, Activity Reviews."
          },
          "starRating": {
            "title": "Star rating",
            "type": "string",
            "description": "Hotel star filter, comma-separated (`5`, `4,5`). Values from `the \"Hotel Filters\" endpoint` (`starRatings`). Omit = any.<br><br><b>Used by:</b> Search Hotels. <b>Example:</b> <code>5</code>"
          },
          "cursor": {
            "title": "Cursor",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "0-based review page. Omit (or `0`) for the first page; next page = previous `cursor` + 1 while `hasMore` is true.<br><br><b>Used by:</b> Search Hotels, Nearby Hotels, Hotel Reviews, Search Activities, Activity Reviews. <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). Allowed: `IDR`, `USD`, `SGD`, `MYR`, `THB`, `VND`, `PHP`, `AUD`. Omit = `IDR`.<br><br><b>Used by:</b> Search Hotels, Hotel Detail, Hotel Rooms, Similar Hotels, Nearby Hotels, Search Flights +7 more."
          },
          "hotelId": {
            "title": "Hotel ID",
            "type": "string",
            "description": "Tiket hotel public id (e.g. `intercontinental-jakarta-pondok-indah-311001604459709507`). From search `id`.<br><br><b>Used by:</b> Hotel Detail, Hotel Rooms, Similar Hotels, Nearby Hotels, Hotel Reviews, Hotel Nearby Places +1 more. <b>Required by:</b> Hotel Detail, Hotel Rooms, Similar Hotels, Nearby Hotels, Hotel Reviews, Hotel Nearby Places …. <b>Example:</b> <code>intercontinental-jakarta-pondok-indah-311001604459709507</code>"
          },
          "travelerType": {
            "title": "Traveler type",
            "enum": [
              "solo",
              "family",
              "couple",
              "group",
              "business",
              "medical",
              "others"
            ],
            "type": "string",
            "description": "Only reviews from one trip type. Allowed: `solo`, `family`, `couple`, `group` (friends), `business`, `medical`, `others`. Omit = all trip types.<br><br><b>Used by:</b> Hotel Reviews, Activity Reviews."
          },
          "count": {
            "title": "Count",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Reviews per page (1–50). Omit = 10.<br><br><b>Used by:</b> Hotel Reviews, Search Activities, Activity Reviews. <b>Example:</b> <code>10</code>"
          },
          "origin": {
            "title": "Origin",
            "type": "string",
            "description": "Origin location id (e.g. Jakarta `63d0b5bd2cbd5656536ba09f`). From `the \"Bus Locations\" endpoint` (`id`).<br><br><b>Used by:</b> Search Flights, Flight Price Calendar, Search Trains, Search Bus & Shuttle. <b>Required by:</b> Search Flights, Flight Price Calendar, Search Trains, Search Bus & Shuttle. <b>Example:</b> <code>CGK</code>"
          },
          "originType": {
            "title": "Origin type",
            "enum": [
              "AIRPORT",
              "CITY"
            ],
            "type": "string",
            "description": "Origin kind. Allowed: `AIRPORT`, `CITY`. Omit = `AIRPORT`.<br><br><b>Used by:</b> Search Flights, Flight Price Calendar."
          },
          "destination": {
            "title": "Destination",
            "type": "string",
            "description": "Destination location id (e.g. Surabaya `63d0b5bb2cbd5656536b9f28`). From `the \"Bus Locations\" endpoint` (`id`).<br><br><b>Used by:</b> Search Flights, Flight Price Calendar, Search Trains, Search Bus & Shuttle. <b>Required by:</b> Search Flights, Flight Price Calendar, Search Trains, Search Bus & Shuttle. <b>Example:</b> <code>DPS</code>"
          },
          "destinationType": {
            "title": "Destination type",
            "enum": [
              "AIRPORT",
              "CITY"
            ],
            "type": "string",
            "description": "Destination kind. Allowed: `AIRPORT`, `CITY`. Omit = `AIRPORT`.<br><br><b>Used by:</b> Search Flights, Flight Price Calendar."
          },
          "departureDate": {
            "title": "Departure date",
            "type": "string",
            "description": "Departure date (`YYYY-MM-DD`).<br><br><b>Used by:</b> Search Flights, Search Trains, Search Bus & Shuttle. <b>Required by:</b> Search Flights, Search Trains, Search Bus & Shuttle. <b>Example:</b> <code>2026-12-14</code>"
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "Child passengers (0–6). Omit = 0.<br><br><b>Used by:</b> Search Flights, Flight Price Calendar. <b>Example:</b> <code>0</code>"
          },
          "infants": {
            "title": "Infants",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "Infant passengers (0–4). Omit = 0.<br><br><b>Used by:</b> Search Flights, Flight Price Calendar, Search Trains. <b>Example:</b> <code>0</code>"
          },
          "cabinClass": {
            "title": "Cabin class",
            "enum": [
              "ECONOMY",
              "PREMIUM_ECONOMY",
              "BUSINESS",
              "FIRST"
            ],
            "type": "string",
            "description": "Cabin. Allowed: `ECONOMY`, `PREMIUM_ECONOMY`, `BUSINESS`, `FIRST`. Omit = `ECONOMY`.<br><br><b>Used by:</b> Search Flights, Flight Price Calendar."
          },
          "requestItems": {
            "title": "Request items",
            "type": "string",
            "description": "Internal. Leave empty — filled automatically from the search init step.<br><br><b>Used by:</b> Search Flights."
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "First departure day (`YYYY-MM-DD`).<br><br><b>Used by:</b> Flight Price Calendar, Search Car Rental. <b>Required by:</b> Flight Price Calendar, Search Car Rental. <b>Example:</b> <code>2026-12-01</code>"
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Last departure day (`YYYY-MM-DD`), up to ~60 days after `startDate`.<br><br><b>Used by:</b> Flight Price Calendar. <b>Required by:</b> Flight Price Calendar. <b>Example:</b> <code>2026-12-31</code>"
          },
          "regionId": {
            "title": "Region ID",
            "type": "string",
            "description": "Rental region id (e.g. Bali `394be5c6-800d-4f7e-8d07-bc1e484602e3`). From `the \"Car Rental Locations\" endpoint` (`id`).<br><br><b>Used by:</b> Search Car Rental. <b>Required by:</b> Search Car Rental. <b>Example:</b> <code>394be5c6-800d-4f7e-8d07-bc1e484602e3</code>"
          },
          "days": {
            "title": "Days",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Rental days (1–30). Omit = 1.<br><br><b>Used by:</b> Search Car Rental. <b>Example:</b> <code>1</code>"
          },
          "pickupTime": {
            "title": "Pickup time",
            "type": "string",
            "description": "Pickup time `HH-MM` (24h, dash-separated, e.g. `10-00`). Must be inside the region's `minPickupTime`–`maxPickupTime`. Omit = `10-00`.<br><br><b>Used by:</b> Search Car Rental, Search Airport Transfers. <b>Example:</b> <code>10-00</code>"
          },
          "driver": {
            "title": "Driver",
            "enum": [
              "withoutDriver",
              "withDriver"
            ],
            "type": "string",
            "description": "Driver option. Allowed: `withoutDriver` (self-drive), `withDriver` (car + driver). Omit = `withoutDriver`.<br><br><b>Used by:</b> Search Car Rental."
          },
          "cars": {
            "title": "Cars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Number of cars (1–5). Omit = 1.<br><br><b>Used by:</b> Search Car Rental. <b>Example:</b> <code>1</code>"
          },
          "airport": {
            "title": "Airport",
            "type": "string",
            "description": "Pickup airport IATA code (e.g. `DPS`). From `the \"Airport Transfer Airports\" endpoint` (`iata`).<br><br><b>Used by:</b> Search Airport Transfers. <b>Required by:</b> Search Airport Transfers. <b>Example:</b> <code>DPS</code>"
          },
          "placeId": {
            "title": "Place ID",
            "type": "string",
            "description": "Drop-off Google Maps Place ID (e.g. Seminyak `ChIJ_8h84N9G0i0R0P2CyvsLAwU`).<br><br><b>Used by:</b> Search Airport Transfers. <b>Required by:</b> Search Airport Transfers. <b>Example:</b> <code>ChIJ_8h84N9G0i0R0P2CyvsLAwU</code>"
          },
          "pickupDate": {
            "title": "Pickup date",
            "type": "string",
            "description": "Pickup date (`YYYY-MM-DD`).<br><br><b>Used by:</b> Search Airport Transfers. <b>Required by:</b> Search Airport Transfers. <b>Example:</b> <code>2026-12-14</code>"
          },
          "passengers": {
            "title": "Passengers",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Passengers (1–10). Omit = 1.<br><br><b>Used by:</b> Search Airport Transfers. <b>Example:</b> <code>1</code>"
          },
          "destinationId": {
            "title": "Destination ID",
            "type": "string",
            "description": "Destination public id (e.g. `bali-108001534490276212`). From `the \"Activity Destinations\" endpoint` (`code`) or suggestions.<br><br><b>Used by:</b> Search Activities. <b>Required by:</b> Search Activities. <b>Example:</b> <code>bali-108001534490276212</code>"
          },
          "activityId": {
            "title": "Activity ID",
            "type": "string",
            "description": "Product id from activity search (`id`).<br><br><b>Used by:</b> Activity Detail, Activity Reviews, Activity Availability. <b>Required by:</b> Activity Detail, Activity Reviews, Activity Availability. <b>Example:</b> <code>5e5d07510dcd8875a5207f85</code>"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Airport name fragment (e.g. `ngurah`). Omit = every airport.<br><br><b>Used by:</b> Activity Suggestions, Hotel Locations, Flight Airports, Airport Transfer Airports. <b>Required by:</b> Activity Suggestions, Hotel Locations, Flight Airports. <b>Example:</b> <code>bali</code>"
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "First day (`YYYY-MM-DD`).<br><br><b>Used by:</b> Activity Availability. <b>Required by:</b> Activity Availability. <b>Example:</b> <code>2026-12-01</code>"
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Last day (`YYYY-MM-DD`), up to ~90 days after `dateFrom`.<br><br><b>Used by:</b> Activity Availability. <b>Required by:</b> Activity Availability. <b>Example:</b> <code>2026-12-31</code>"
          },
          "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\":\"jakarta\"},{\"keyword\":\"bali\"}]</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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}