{
  "openapi": "3.0.1",
  "info": {
    "title": "Tripadvisor Scraper | $0.50 per 1k Reviews | Only New Reviews",
    "description": "Scrape Tripadvisor restaurants, hotels and attractions from any city or list page, with details (website, hours, amenities, awards) and reviews: newest first, date, rating and language filters, owner responses. Only-new review monitoring. Never a silent empty run.",
    "version": "0.1",
    "x-build-id": "Oqzoc9OBJvwHsmfgo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidrows~tripadvisor-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidrows-tripadvisor-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/solidrows~tripadvisor-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidrows-tripadvisor-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/solidrows~tripadvisor-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidrows-tripadvisor-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": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Tripadvisor URLs",
            "type": "array",
            "description": "Any mix of: a city page (tripadvisor.com/Tourism-g187147-Paris_Ile_de_France-Vacations.html - scrapes its restaurants, hotels and things to do), a list page (Restaurants-g…, Hotels-g…, Attractions-g… - with any filters or categories you applied on the site), or a single place page (Restaurant_Review-…, Hotel_Review-…, Attraction_Review-…). To find a city page, search the city on tripadvisor.com and copy the address of its page. Links from other Tripadvisor domains (.co.uk, .fr, .de…) are read on tripadvisor.com: same places, English labels.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "placeTypes": {
            "title": "Place types for city pages",
            "type": "array",
            "description": "Which lists to scrape when a URL is a city page (Tourism-g…). List and place URLs are not affected.",
            "items": {
              "type": "string",
              "enum": [
                "restaurants",
                "hotels",
                "attractions"
              ],
              "enumTitles": [
                "Restaurants",
                "Hotels",
                "Things to do (attractions)"
              ]
            },
            "default": [
              "restaurants",
              "hotels",
              "attractions"
            ]
          },
          "maxItems": {
            "title": "Max places",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of places (restaurants, hotels, attractions) to save across all URLs. Each list page holds about 30 places. Reviews are not counted here. 0 = no limit.",
            "default": 100
          },
          "includePlaceDetails": {
            "title": "Include place details",
            "type": "boolean",
            "description": "Also open each place page and add: ranking (\"#14 of 13,914 Restaurants in New York City\"), website, opening hours, amenities and features, meal types and special diets, awards, hotel class, number of rooms, hotel price range and lowest offer shown, ticket price from (attractions), rating breakdown (Excellent…Terrible), sub-ratings (rooms, service, value, food…), description and photo count. One extra page per place, so the run is slower. The same fields are filled for free whenever reviews are on, because the place page is opened anyway.",
            "default": false
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Also save the newest reviews of each place: rating, title, full text, review date, date of visit, trip type, original language, helpful votes, photos, hotel sub-ratings, and the owner response with its date. Slower: at least one extra page per place.",
            "default": false
          },
          "maxReviewsPerPlace": {
            "title": "Max reviews per place",
            "minimum": 0,
            "type": "integer",
            "description": "How many of the newest reviews to save per place. Tripadvisor shows 10 to 15 reviews per page.",
            "default": 20
          },
          "reviewsSince": {
            "title": "Reviews since",
            "type": "string",
            "description": "Save only reviews written on or after this date: a date like 2026-10-01 or a relative value like \"30 days\" or \"3 months\". Because reviews come newest first, the scraper stops reading a place as soon as it reaches older reviews - you do not pay for them."
          },
          "reviewRatings": {
            "title": "Review ratings",
            "type": "array",
            "description": "Save only reviews with these ratings, e.g. 1 and 2 to collect complaints. Empty = all ratings. The filter is applied to the newest reviews of each place: by default the scraper reads up to twice \"Max reviews per place\" reviews and keeps the matching ones; raise \"Review scan depth\" to look further back.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 - Terrible",
                "2 - Poor",
                "3 - Average",
                "4 - Good",
                "5 - Excellent"
              ]
            }
          },
          "reviewLanguages": {
            "title": "Review languages",
            "type": "array",
            "description": "Save only reviews originally written in these languages, as two-letter codes (en, fr, de, es, it, ja…). Tripadvisor.com shows foreign reviews machine-translated into English; the original language is detected from the page. Empty = all languages. Applied to the newest reviews, like the rating filter (see \"Review scan depth\").",
            "items": {
              "type": "string"
            }
          },
          "reviewScanDepth": {
            "title": "Review scan depth (with rating or language filters)",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Used only when a rating or language filter is set. Tripadvisor cannot filter reviews by rating or language in the page address, so the scraper reads the newest reviews of each place one page at a time and keeps the matching ones. This is the maximum number of newest reviews to read per place while looking for matches. 0 = automatic: twice \"Max reviews per place\". Maximum 200. Cost: reviews that are read but do not match are free, you pay only for saved reviews ($0.50 per 1,000); a deeper scan only makes the run longer, about 10-60 seconds per extra page of 10-15 reviews. Reading stops as soon as \"Max reviews per place\" matching reviews are found.",
            "default": 0
          },
          "onlyNewReviews": {
            "title": "Only new reviews (monitoring mode)",
            "type": "boolean",
            "description": "Remember what earlier runs returned and save only reviews that appeared since. Reviews are read newest first and reading stops at the first review that was already delivered, so a scheduled daily or weekly run usually loads one page per place. You pay only for new reviews: a place row is saved and charged only the first time the place is seen in this mode; later runs save just its new review rows. The first run returns the newest reviews up to \"Max reviews per place\"; older reviews that were not returned then are never returned later as \"new\".",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}