{
  "openapi": "3.0.1",
  "info": {
    "title": "Trip.com Reviews Scraper",
    "description": "Scrape Trip.com and Ctrip hotel reviews: one row per review, several hotels and whole cities per run. Filters, only new reviews, export to JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "mslPEYfylRJF5g5qV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nice_dev~tripcom-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nice_dev-tripcom-reviews-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/nice_dev~tripcom-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nice_dev-tripcom-reviews-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/nice_dev~tripcom-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nice_dev-tripcom-reviews-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",
        "properties": {
          "startUrls": {
            "title": "Hotel or city URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "Pages copied from the address bar. A hotel page: `https://www.trip.com/hotels/shanghai-hotel-detail-346403/grand-hyatt-shanghai/`, `https://www.trip.com/hotels/detail/?hotelId=346403`, any country site (`fr.trip.com`, `hk.trip.com`) or Ctrip (`https://hotels.ctrip.com/hotels/346403.html`). A city list: `https://www.trip.com/hotels/list?city=192` or `https://www.trip.com/hotels/paris-hotels-list-192/`, with the filters set on the site (stars, district, brand, category, price): its hotels are read, up to **Max hotels per city**. Max 1 000 URLs. With no hotel, ID, name or city at all, the Actor reads the reviews of an example hotel (at most 20) instead of stopping.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "hotelIds": {
            "title": "Hotel IDs",
            "maxItems": 5000,
            "uniqueItems": true,
            "type": "array",
            "description": "Trip.com numeric hotel ids (e.g. `346403`, the number after `hotelId=` or in the page address). Trip.com and Ctrip share the same id. No search, one hotel per id. Added to the URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "hotelNames": {
            "title": "Hotel names",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Hotels named as you would type them on Trip.com (e.g. `Ritz Paris`, `上海金茂君悦大酒店`): each name is looked up in the site's own suggestions. The hotel of exactly that name wins, else the first one proposed (the log says which one). A name with no result is skipped and named in the log. Added to the URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Cities (reviews of every hotel)",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Cities as typed on the site (e.g. `Paris`, `Tokyo`, `上海`): the Actor reads the reviews of the first **Max hotels per city** hotels of each city, in the site's own ranking. The city of exactly that name wins, else the first one proposed. A district, a station or a landmark reads the whole city it belongs to, with a warning in the log. A name with no result is skipped and named in the log. Added to the hotels above.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cityIds": {
            "title": "City IDs",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Trip.com numeric city ids (e.g. `192` for Paris, `2` for Shanghai, the number after `city=` in a list page), when you already know them: no name resolution, no ambiguity. Same use as **Cities**.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxHotelsPerCity": {
            "title": "Max hotels per city",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "How many hotels of each city to read the reviews of, in the site's own ranking, after the hotel filters below. 0 = every hotel the city map holds: a big city holds 5 000 to 10 000 hotels, so keep **Max reviews** to bound the run. The map of a city spills over the neighboring towns: with a high number, some hotels may lie just outside the city.",
            "default": 10
          },
          "minStars": {
            "title": "Minimum star rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Hotel filter for the hotels of a city: keep hotels with at least this many stars (1-5). 0 = no filter. Done by the site, so filtered hotels are never read. Not used for hotels given by URL, ID or name.",
            "default": 0
          },
          "maxStars": {
            "title": "Maximum star rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Hotel filter for the hotels of a city: keep hotels with at most this many stars. 0 = no filter. Done by the site. Not used for hotels given by URL, ID or name.",
            "default": 0
          },
          "minHotelRating": {
            "title": "Minimum hotel rating",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Hotel filter for any hotel (given by URL, ID or name, or found in a city): keep hotels whose overall score is at least this (out of 10). 0 = no filter. Judged on the first reviews page of the hotel: each hotel dropped is charged a small filter fee (see Pricing). For a filter on the reviews themselves, see **Minimum review rating**.",
            "default": 0
          },
          "minHotelReviewCount": {
            "title": "Minimum number of reviews of the hotel",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Hotel filter for any hotel (given by URL, ID or name, or found in a city): keep hotels with at least this many reviews. 0 = no filter. Judged on the first reviews page of the hotel: each hotel dropped is charged a small filter fee (see Pricing).",
            "default": 0
          },
          "excludeHotelIds": {
            "title": "Exclude hotel IDs",
            "maxItems": 5000,
            "uniqueItems": true,
            "type": "array",
            "description": "Trip.com hotel ids to skip, even when they match a city (e.g. your own hotels).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerHotel": {
            "title": "Max reviews per hotel",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Cap on the reviews saved for each hotel, all sources together: the first ones in **Reviews order**. 0 = every review of the hotel (Grand Hyatt Shanghai: 18 895 reviews, all read) — set **Max reviews** to 0 too: it caps the whole run (1 000 by default).",
            "default": 100
          },
          "maxItems": {
            "title": "Max reviews",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum number of reviews saved for the whole run, all hotels together. 0 = no limit. It also stops a run whose hotels have more reviews than this (the log and the last message say so). Use it to bound the cost of a city or a long list of hotels.",
            "default": 1000
          },
          "sortBy": {
            "title": "Reviews order",
            "enum": [
              "newest",
              "relevant",
              "highest_rating",
              "lowest_rating",
              "mostRecent",
              "mostRelevant",
              "ratingHighToLow",
              "ratingLowToHigh",
              "recent",
              "rating_desc",
              "rating_asc",
              "recommended",
              "most_recent"
            ],
            "type": "string",
            "description": "Order of the reviews read. Careful: on Trip.com, **Most recent first** sorts by MONTH OF STAY, not by the date the review was written: inside a month the dates are mixed, and a review can be written up to 4 months after the stay. With a cap, the first ones in that order are kept. **Only new reviews** always uses this order. The last entries are the words other Trip.com scrapers use, accepted so that their input runs here unchanged.",
            "default": "newest"
          },
          "reviewLanguages": {
            "title": "Review languages",
            "maxItems": 40,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only the reviews written in these languages: the English name (`French`, `Japanese`, `Chinese`), an ISO code (`fr`, `ja`, `zh`) or the site's own number (`7`, `4`, `3`); case and accents are ignored. Several languages add up. Done by the site: the other reviews are never read, so they cost nothing. A language a hotel has no review in gives 0 review for that hotel, not an error. Empty = every language.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "travellerTypes": {
            "title": "Traveler types",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only the reviews of these types of travelers. Several types add up. Done by the site: the other reviews are never read, so they cost nothing. Empty = every traveler.",
            "items": {
              "type": "string",
              "enum": [
                "10",
                "30",
                "40",
                "50",
                "60",
                "70",
                "0"
              ],
              "enumTitles": [
                "Business traveler",
                "Family",
                "Traveling with friends",
                "Solo traveler",
                "Booked for others",
                "Couple",
                "Other"
              ]
            },
            "default": []
          },
          "reviewCategory": {
            "title": "Positive or negative reviews",
            "enum": [
              "all",
              "positive",
              "negative"
            ],
            "type": "string",
            "description": "Keep only the reviews the site counts as positive, or as negative. Done by the site: the other reviews are never read, so they cost nothing.",
            "default": "all"
          },
          "withPhotosOnly": {
            "title": "Reviews with photos or video only",
            "type": "boolean",
            "description": "Keep only the reviews with at least one photo or video. Done by the site: the other reviews are never read, so they cost nothing.",
            "default": false
          },
          "topicTags": {
            "title": "Topics",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only the reviews on these topics, the ones the site lists above the reviews of each hotel: their name (`Convenient location`, `Delicious breakfast`, in the **Site language**) or their number (`97`). A topic a hotel does not list gives 0 review for that hotel, not an error. Done by the site: the other reviews are never read, so they cost nothing. Empty = every review.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minRating": {
            "title": "Minimum review rating",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Keep only the reviews scored at least this (out of 10). 0 = every review. With **Highest rating first**, the lower reviews are skipped unread and not charged. Reviews read then dropped by this filter are charged a small filter fee (see Pricing).",
            "default": 0
          },
          "maxRating": {
            "title": "Maximum review rating",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Keep only the reviews scored at most this (out of 10). 0 = every review. Set it low to collect complaints only; with **Lowest rating first**, the higher reviews are skipped unread and not charged. Reviews read then dropped by this filter are charged a small filter fee (see Pricing).",
            "default": 0
          },
          "postedAfter": {
            "title": "Reviews after",
            "type": "string",
            "description": "Keep only the reviews written on or after this date: `2026-01-01`, or a period before now such as `7 days`, `3 months`, `1 year`. With **Most recent first**, the Actor stops once the stays are more than 5 months older than this date, because a review can be written months after the stay. Reviews read then dropped by this filter are charged a small filter fee (see Pricing)."
          },
          "postedBefore": {
            "title": "Reviews before",
            "type": "string",
            "description": "Keep only the reviews written on or before this date (the whole day is included), or older than a period such as `1 month`. Reviews read then dropped by this filter are charged a small filter fee (see Pricing)."
          },
          "keywords": {
            "title": "Keywords",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only the reviews whose text or translation contains at least one of these words (whole words, case and accents ignored): `breakfast`, `noise`. The site has no keyword search, so the Actor reads the reviews and drops the others: each one dropped is charged a small filter fee (see Pricing). Empty = no filter.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop the reviews whose text or translation contains one of these words (case and accents ignored). Each one dropped is charged a small filter fee (see Pricing).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "withResponseOnly": {
            "title": "Only reviews with a hotel reply",
            "type": "boolean",
            "description": "Keep only the reviews the hotel answered (`feedbackContent` filled). Reviews read then dropped are charged a small filter fee (see Pricing).",
            "default": false
          },
          "reviewSources": {
            "title": "Review sources",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only the reviews coming from these sources. Trip.com serves them all in one list, so the Actor reads the reviews and drops the others: each one dropped is charged a small filter fee (see Pricing). Empty = every source.",
            "items": {
              "type": "string",
              "enum": [
                "trip.com",
                "ctrip",
                "tripadvisor",
                "expedia",
                "hotels.com"
              ],
              "enumTitles": [
                "Trip.com",
                "Ctrip",
                "Tripadvisor",
                "Expedia",
                "Hotels.com"
              ]
            },
            "default": []
          },
          "language": {
            "title": "Site language",
            "pattern": "^([a-zA-Z]{2}(-[a-zA-Z]{2})?|all)$",
            "maxLength": 5,
            "type": "string",
            "description": "Trip.com locale (`en-XX`, `ja-JP`, `ko-KR`, `ru-RU`, `zh-HK`, `zh-TW`…). It sets the language of the labels (traveler type, room name, rating word) and of the translation the site gives for part of the reviews: `translatedContent` is filled for 7 reviews out of 20 in `en-XX`, 14 in `ja-JP`, none in `fr-FR`, `de-DE` or `es-ES`. `zh-CN` returns no review on Trip.com: it is read as `zh-HK`, with a warning. To keep one review language, use **Review languages**. `all` means the default, `en-XX`. Hotel names, cities and countries stay in English.",
            "default": "en-XX"
          },
          "includeHotelDetails": {
            "title": "Add hotel details to each review",
            "type": "boolean",
            "description": "Add the hotel's address, GPS position, stars, category, amenities, description and policies, plus the summary of its reviews (scores against hotels of the same type, topics, counts per traveler, room and language), to every review row of that hotel. Charged apart once per hotel with at least one review saved, not per review (see Pricing). Off = the name, city, country, overall score and scores per criterion of the hotel are on each row anyway, for free.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new reviews",
            "type": "boolean",
            "description": "Skip the reviews that a previous run (same **Memory key**) already delivered or dropped: they are not saved again. Trip.com sorts by month of stay and a review can be written months after the stay, so each run reads about 5 months back from the first known review: each known review read again is charged the small filter fee, once per review and per run (see Pricing). Always uses **Most recent first**. With **Max reviews per hotel** or **Max reviews** above 0, a review missing from the memory but dated more than 3 days before the last run is taken as left under an earlier run's cap and is not delivered; set both to 0 to catch every new review. First run = everything is new.",
            "default": false
          },
          "stateKey": {
            "title": "Memory key",
            "pattern": "^[a-zA-Z0-9_-]{1,64}$",
            "maxLength": 64,
            "type": "string",
            "description": "Name of the memory used by **Only new reviews**. Give each schedule / task its own key (e.g. `paris-hotels`) so that they do not share their memory. Changing a filter (rating, dates, keywords)? Use a new key, or tick **Reset the memory** once: the reviews the old filter dropped are remembered and would not come back. Letters, digits, `-` and `_`.",
            "default": "default"
          },
          "resetState": {
            "title": "Reset the memory",
            "type": "boolean",
            "description": "Forget everything remembered under this **Memory key** before the run: this run returns (and charges) every review again. Untick it afterwards.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of requests processed in parallel.",
            "default": 10
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 10,
            "maximum": 2000,
            "type": "integer",
            "description": "Most requests to the site in any 60 seconds. One request reads up to 50 reviews. Lower it if the site answers HTTP 429 or 430 in the log.",
            "default": 300
          },
          "minRequestIntervalMs": {
            "title": "Min delay between requests",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Smallest gap between two requests, in milliseconds. Unlike the per-minute rate, this spreads the requests evenly instead of letting them go out in a burst. 0 = no gap.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retries per request before it is marked as failed. Behind a proxy, a request the site turns away is also retried on a new proxy session up to 10 times without using up these retries.",
            "default": 5
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Include debug messages in the run log.",
            "default": false
          },
          "hotelUrl": {
            "title": "Hotel URL (other scrapers' name)",
            "maxLength": 2000,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Hotel or city URLs**."
          },
          "startUrl": {
            "title": "Start URL (other scrapers' name)",
            "maxLength": 2000,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Hotel or city URLs**."
          },
          "city": {
            "title": "City (other scrapers' name)",
            "maxLength": 200,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Cities**."
          },
          "maxHotels": {
            "title": "Max hotels (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max hotels per city**."
          },
          "locale": {
            "title": "Locale (other scrapers' name)",
            "maxLength": 100,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Site language**."
          },
          "maxReviews": {
            "title": "Max reviews per hotel (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max reviews per hotel**. 0 = every review of the hotel."
          },
          "maxItemsPerQuery": {
            "title": "Max reviews per hotel (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Same as **Max reviews per hotel**, the name of the common input of our scrapers."
          },
          "maxItemsPerSearch": {
            "title": "Max reviews per hotel (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max reviews per hotel**."
          },
          "maxItemsPerUrl": {
            "title": "Max reviews per hotel (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max reviews per hotel**."
          },
          "reviewLanguage": {
            "title": "Review language (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Review languages**."
          },
          "withMedia": {
            "title": "Reviews with media (other scrapers' name)",
            "type": "boolean",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews with photos or video only**."
          },
          "onlyWithMedia": {
            "title": "Reviews with media (other scrapers' name)",
            "type": "boolean",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews with photos or video only**."
          },
          "keyword": {
            "title": "Keyword (other scrapers' name)",
            "maxLength": 200,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Keywords**."
          },
          "cutoffDate": {
            "title": "Cut-off date (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews after**."
          },
          "reviewsFrom": {
            "title": "Reviews from (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews after**."
          },
          "fromDate": {
            "title": "From date (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews after**."
          },
          "dateFrom": {
            "title": "Date from (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews after**."
          },
          "sinceDate": {
            "title": "Since date (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews after**."
          },
          "startDate": {
            "title": "Start date (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews after**."
          },
          "toDate": {
            "title": "To date (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews before**."
          },
          "reviewsToDate": {
            "title": "Reviews to date (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews before**."
          },
          "endDate": {
            "title": "End date (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews before**."
          },
          "hotel": {
            "title": "Hotel (other scrapers' name)",
            "maxLength": 2000,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Hotel or city URLs**."
          },
          "hotelDetailUrl": {
            "title": "Hotel URL (other scrapers' name)",
            "maxLength": 2000,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Hotel or city URLs**."
          },
          "hotelUrlOrId": {
            "title": "Hotel URL or ID (other scrapers' name)",
            "maxLength": 2000,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Hotel or city URLs**."
          },
          "cityName": {
            "title": "City name (other scrapers' name)",
            "maxLength": 200,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Cities**."
          },
          "destination": {
            "title": "Destination (other scrapers' name)",
            "maxLength": 200,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Cities**."
          },
          "maxHotelsPerSearch": {
            "title": "Max hotels (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max hotels per city**."
          },
          "maxHotelsPerQuery": {
            "title": "Max hotels (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max hotels per city**."
          },
          "maxHotelsPerLocation": {
            "title": "Max hotels (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max hotels per city**."
          },
          "maxHotelsPerDestination": {
            "title": "Max hotels (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max hotels per city**."
          },
          "minReviews": {
            "title": "Minimum reviews of the hotel (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Minimum number of reviews of the hotel**."
          },
          "minReviewCount": {
            "title": "Minimum reviews of the hotel (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Minimum number of reviews of the hotel**."
          },
          "minStarRating": {
            "title": "Minimum stars (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Minimum star rating**."
          },
          "minReviewScore": {
            "title": "Minimum review score (other scrapers' name)",
            "minimum": 0,
            "type": "number",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Minimum review rating**."
          },
          "maxReviewScore": {
            "title": "Maximum review score (other scrapers' name)",
            "minimum": 0,
            "type": "number",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Maximum review rating**."
          },
          "reviewsFromDate": {
            "title": "Reviews from date (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews after**."
          },
          "reviewedAfter": {
            "title": "Reviewed after (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews after**."
          },
          "reviewsTo": {
            "title": "Reviews to (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews before**."
          },
          "reviewSort": {
            "title": "Review sort (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews order**."
          },
          "reviewsSort": {
            "title": "Reviews sort (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews order**."
          },
          "sort": {
            "title": "Sort (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews order**."
          },
          "reviewFilter": {
            "title": "Review filter (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Positive or negative reviews**."
          },
          "reviewSentiment": {
            "title": "Review sentiment (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Positive or negative reviews**."
          },
          "travelType": {
            "title": "Traveler type (other scrapers' name)",
            "maxLength": 40,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Traveler types**."
          },
          "reviewPhotosOnly": {
            "title": "Reviews with photos (other scrapers' name)",
            "type": "boolean",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reviews with photos or video only**."
          },
          "maxTotalReviews": {
            "title": "Max total reviews (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max reviews**."
          },
          "maxResults": {
            "title": "Max results (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max reviews**."
          },
          "results_wanted": {
            "title": "Max results (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max reviews**."
          },
          "maxListings": {
            "title": "Max results (other scrapers' name)",
            "minimum": 0,
            "type": "integer",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Max hotels per city**."
          },
          "onlyNewReviews": {
            "title": "New reviews only (other scrapers' name)",
            "type": "boolean",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Only new reviews**."
          },
          "monitorMode": {
            "title": "New reviews only (other scrapers' name)",
            "type": "boolean",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Only new reviews**."
          },
          "monitoringMode": {
            "title": "New reviews only (other scrapers' name)",
            "type": "boolean",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Only new reviews**."
          },
          "incrementalMode": {
            "title": "New reviews only (other scrapers' name)",
            "type": "boolean",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Only new reviews**."
          },
          "onlyNewRowsStore": {
            "title": "Memory name (other scrapers' name)",
            "maxLength": 64,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Memory key**."
          },
          "monitorStoreName": {
            "title": "Memory name (other scrapers' name)",
            "maxLength": 64,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Memory key**."
          },
          "dedupStoreName": {
            "title": "Memory name (other scrapers' name)",
            "maxLength": 64,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Memory key**."
          },
          "watchName": {
            "title": "Memory name (other scrapers' name)",
            "maxLength": 64,
            "type": "string",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Memory key**."
          },
          "resetMonitoringState": {
            "title": "Reset the memory (other scrapers' name)",
            "type": "boolean",
            "description": "Name used by other Trip.com scrapers, accepted so that their input runs here unchanged; use **Reset the memory**."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}