{
  "openapi": "3.0.1",
  "info": {
    "title": "Booking Reviews Scraper - New Guest Reviews Monitor by Hotel",
    "description": "Monitor new guest reviews of Booking.com hotels, or scrape a hotel's review list, by name or URL. A scheduled run returns only reviews posted since the previous one. Rows: score, likes and dislikes, language, room, stay, guest country, hotel reply. $2 per 1,000 reviews; hotels not found are free.",
    "version": "1.0",
    "x-build-id": "9rtBYb5pN5WC1Ddgn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tenfoldfleet~booking-reviews-scraper-new-reviews-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tenfoldfleet-booking-reviews-scraper-new-reviews-monitor",
        "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/tenfoldfleet~booking-reviews-scraper-new-reviews-monitor/runs": {
      "post": {
        "operationId": "runs-sync-tenfoldfleet-booking-reviews-scraper-new-reviews-monitor",
        "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/tenfoldfleet~booking-reviews-scraper-new-reviews-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-tenfoldfleet-booking-reviews-scraper-new-reviews-monitor",
        "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": [
          "hotels"
        ],
        "properties": {
          "hotels": {
            "title": "Hotels",
            "type": "array",
            "description": "Hotel names (add the city: \"The Hoxton, Amsterdam\") or booking.com hotel URLs (https://www.booking.com/hotel/nl/toren.html). A name takes the Booking.com suggestion that fits the words you typed (a name that is too general gets a free error row); a URL is only accepted when the listing's page name is identical, so it never returns another hotel's reviews. Hotels that cannot be found are reported in a free row.",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerHotel": {
            "title": "Max reviews per hotel",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Upper limit of reviews returned for each hotel in one run. Each returned review costs $0.002. There is no separate free-plan limit: the free Apify plan's monthly credit covers about 2,500 reviews.",
            "default": 100
          },
          "since": {
            "title": "Reviews since (date)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}([T ].*)?$",
            "type": "string",
            "description": "Optional. Return only reviews posted on or after this date, e.g. 2026-10-01."
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "newest",
              "oldest",
              "relevant",
              "highest",
              "lowest"
            ],
            "type": "string",
            "description": "Order in which reviews are read. Only-new mode always reads newest first.",
            "default": "newest"
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Optional. Two-letter language codes (en, de, fr, es, it, nl ...). Only reviews written in these languages are returned; en covers British and American English. Empty = all languages. An entry that is not a language code stops the run before anything is charged.",
            "items": {
              "type": "string"
            }
          },
          "minScore": {
            "title": "Minimum score",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Optional. Return only reviews with this score or higher (1-10)."
          },
          "maxScore": {
            "title": "Maximum score",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Optional. Return only reviews with this score or lower (1-10). Set 6 to watch only negative reviews."
          },
          "onlyNew": {
            "title": "Only new reviews (for scheduled runs)",
            "type": "boolean",
            "description": "Return only reviews that earlier only-new runs have not returned for the same hotel, so a daily or weekly schedule never pays for a review twice. The first run returns the newest reviews up to the limit and remembers them; later runs return what was posted since. A run that stops at the limit or at its maximum charge is continued by the next run. A hotel with nothing new gets one free status row. The memory is a key-value store named booking-reviews-monitor-state in your account.",
            "default": false
          },
          "forgetSeen": {
            "title": "Reset the only-new memory",
            "type": "boolean",
            "description": "With only-new mode: forget which reviews were already returned for these hotels and start again. Reviews returned again are charged again.",
            "default": false
          },
          "proxy": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy works and is the default. Switch to residential only if a run reports blocked requests.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}