{
  "openapi": "3.0.1",
  "info": {
    "title": "🦉 Tripadvisor Reviews Extractor",
    "description": "💫 Scrape 📝 Reviews from Tripadvisor.com",
    "version": "0.0",
    "x-build-id": "0zbDvWbgoVSqun5qD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jupri~tripadvisor-reviews/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jupri-tripadvisor-reviews",
        "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/jupri~tripadvisor-reviews/runs": {
      "post": {
        "operationId": "runs-sync-jupri-tripadvisor-reviews",
        "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/jupri~tripadvisor-reviews/run-sync": {
      "post": {
        "operationId": "run-sync-jupri-tripadvisor-reviews",
        "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": {
          "query": {
            "title": "❓ Query",
            "type": "array",
            "description": "💡 Where to?",
            "items": {
              "type": "string"
            }
          },
          "resource": {
            "title": "🦉 Resource",
            "enum": [
              "review",
              "faq",
              "tip",
              "photo"
            ],
            "type": "string",
            "description": "💡 Reviews Type"
          },
          "portal": {
            "title": "🌐 Region and Language",
            "enum": [
              "es-AR",
              "en-AU",
              "fr-BE",
              "nl-BE",
              "pt-BR",
              "en-CA",
              "fr-CA",
              "es-CL",
              "es-CO",
              "da-DK",
              "de-DE",
              "es-ES",
              "fr-FR",
              "en-HK",
              "en-IN",
              "id-ID",
              "en-IE",
              "it-IT",
              "en-MY",
              "es-MX",
              "nl-NL",
              "en-NZ",
              "nb-NO",
              "es-PE",
              "en-PH",
              "pt-PT",
              "de-CH",
              "en-SG",
              "en-ZA",
              "fr-CH",
              "sv-SE",
              "it-CH",
              "tr-TR",
              "en-GB",
              "en-US",
              "es-VE",
              "vi-VN",
              "de-AT",
              "el-GR",
              "ru-RU",
              "he-IL",
              "ar-US-u-nu-latn",
              "ar-EG-u-nu-latn",
              "th-u-ca-gregory",
              "zh-Hans",
              "zh-Hans-US",
              "zh-Hant-TW",
              "ja-JP",
              "zh-Hant-HK",
              "ko-KR"
            ],
            "type": "string",
            "description": ""
          },
          "limit": {
            "title": "♾️ Limit",
            "type": "integer",
            "description": "💡 Number of results"
          },
          "filters:search": {
            "title": "Search reviews",
            "type": "string",
            "description": ""
          },
          "filters:sort": {
            "title": "Sort",
            "enum": [
              "",
              "ml"
            ],
            "type": "string",
            "description": ""
          },
          "filters:rating": {
            "title": "Traveler rating",
            "type": "array",
            "description": "",
            "items": {
              "type": "string",
              "enum": [
                "5",
                "4",
                "3",
                "2",
                "1"
              ],
              "enumTitles": [
                "Excellent",
                "Very Good",
                "Average",
                "Poor",
                "Terrible"
              ]
            }
          },
          "filters:month": {
            "title": "Time of year",
            "type": "array",
            "description": "",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11",
                "12"
              ],
              "enumTitles": [
                "January",
                "February",
                "March",
                "April",
                "May",
                "June",
                "July",
                "August",
                "September",
                "October",
                "November",
                "December"
              ]
            }
          },
          "filters:segment": {
            "title": "Traveler type",
            "type": "array",
            "description": "",
            "items": {
              "type": "string",
              "enum": [
                "family",
                "couples",
                "solo",
                "business",
                "friends"
              ],
              "enumTitles": [
                "Family",
                "Couples",
                "Solo",
                "Business",
                "Friends"
              ]
            }
          },
          "filters:language": {
            "title": "Language",
            "type": "array",
            "description": "",
            "items": {
              "type": "string",
              "enum": [
                "ar",
                "zhCN",
                "zhTW",
                "cs",
                "da",
                "nl",
                "en",
                "fi",
                "fr",
                "de",
                "el",
                "iw",
                "hu",
                "in",
                "it",
                "ja",
                "ko",
                "no",
                "pl",
                "pt",
                "ru",
                "sr",
                "sk",
                "es",
                "sv",
                "th",
                "tr",
                "uk",
                "vi"
              ],
              "enumTitles": [
                "Arabic",
                "Chinese (Sim.)",
                "Chinese (Trad.)",
                "Czech",
                "Danish",
                "Dutch",
                "English",
                "Finnish",
                "French",
                "German",
                "Greek",
                "Hebrew",
                "Hungarian",
                "Indonesian",
                "Italian",
                "Japanese",
                "Korean",
                "Norwegian",
                "Polish",
                "Portuguese",
                "Russian",
                "Serbian",
                "Slovak",
                "Spanish",
                "Swedish",
                "Thai",
                "Turkish",
                "Ukranian",
                "Vietnamese"
              ]
            }
          },
          "dev_proxy_config": {
            "title": "🌐 PROXY NETWORKING",
            "type": "object",
            "description": "<b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b><a href=https://scrapeops.io/app/register/main target=_blank>ScrapeOps.IO</a></b><br><code>scrapeops://{api-key}</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>"
          },
          "dev_custom_headers": {
            "title": "📜 HTTP HEADERS",
            "type": "array",
            "description": "💡 Additional HTTP Headers",
            "items": {
              "type": "object",
              "required": [
                "key",
                "value"
              ],
              "properties": {
                "key": {
                  "type": "string",
                  "title": "Key"
                },
                "value": {
                  "type": "string",
                  "title": "Value"
                }
              }
            }
          },
          "dev_custom_cookies": {
            "title": "🍪 HTTP COOKIES",
            "type": "array",
            "description": "💡 Additional HTTP Cookies",
            "items": {
              "type": "object",
              "required": [
                "key",
                "value"
              ],
              "properties": {
                "key": {
                  "type": "string",
                  "title": "Key"
                },
                "value": {
                  "type": "string",
                  "title": "Value"
                }
              }
            }
          },
          "dev_no_strip": {
            "title": "Disable data cleansing",
            "type": "boolean",
            "description": "💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>"
          },
          "dev_transform_enable": {
            "title": "Enable Custom Fields",
            "type": "boolean",
            "description": ""
          },
          "dev_transform_fields": {
            "title": "Fields List",
            "type": "array",
            "description": "",
            "items": {
              "type": "object",
              "required": [
                "key",
                "value"
              ],
              "properties": {
                "key": {
                  "type": "string",
                  "title": "Key"
                },
                "value": {
                  "type": "string",
                  "title": "Value"
                }
              }
            }
          },
          "dev_dataset_enable": {
            "title": "Enable Custom Storage",
            "type": "boolean",
            "description": ""
          },
          "dev_dataset_clear": {
            "title": "Clear Storage",
            "type": "boolean",
            "description": "Clear Dataset before insert/update."
          },
          "dev_dataset_name": {
            "title": "Dataset Name",
            "type": "string",
            "description": "💡 <b>Use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>"
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}