{
  "openapi": "3.0.1",
  "info": {
    "title": "Booking Reviews Scraper — Guest Scores, Likes & Dislikes",
    "description": "Scrape Booking.com guest reviews by hotel URL, name or id: score, liked and disliked text, stay dates, room, traveller type and hotel reply, plus sub-scores per property. Language, traveller, score, season and keyword filters. Guest names off by default.",
    "version": "0.1",
    "x-build-id": "s8LZCbapNPXD9wNbm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~booking-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-booking-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/fabrikit~booking-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-booking-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/fabrikit~booking-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-booking-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": "Booking.com property URLs",
            "type": "array",
            "description": "Property pages such as https://www.booking.com/hotel/es/arts-barcelona.html (any language suffix or query string is fine). Links copied from search results resolve fastest.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "hotelNames": {
            "title": "Property names (optional)",
            "type": "array",
            "description": "Names with the city, e.g. \"Hotel Arts Barcelona\" or \"HI Lisboa Pousada de Juventude\". Booking's own search picks the property; the match is written to the log.",
            "items": {
              "type": "string"
            }
          },
          "hotelIds": {
            "title": "Booking property ids (optional)",
            "type": "array",
            "description": "Numeric Booking ids, e.g. 14713. The \"id\" column of our Booking Hotels Scraper fits here, so you can collect reviews for a whole city in two steps.",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerHotel": {
            "title": "Max reviews per property",
            "minimum": 0,
            "type": "integer",
            "description": "How many reviews to save for each property, in the order chosen below. 0 = every review Booking lists (usually the last 36 months).",
            "default": 20
          },
          "maxItems": {
            "title": "Max reviews in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the whole run after this many reviews across all properties. 0 = no overall limit.",
            "default": 0
          },
          "sortBy": {
            "title": "Order",
            "enum": [
              "NEWEST_FIRST",
              "MOST_RELEVANT",
              "OLDEST_FIRST",
              "SCORE_DESC",
              "SCORE_ASC"
            ],
            "type": "string",
            "description": "Same orders as the review list on Booking.com.",
            "default": "NEWEST_FIRST"
          },
          "reviewLanguages": {
            "title": "Review languages",
            "type": "array",
            "description": "Only reviews written in these languages (two-letter codes such as en, es, de, fr, pt, it, nl, pl, ja, zh). Empty = all languages. Filtered on Booking's side, so nothing extra is read or charged.",
            "items": {
              "type": "string"
            }
          },
          "travelerType": {
            "title": "Traveller type",
            "enum": [
              "ALL",
              "FAMILIES",
              "COUPLES",
              "GROUP_OF_FRIENDS",
              "SOLO_TRAVELLERS",
              "BUSINESS_TRAVELLERS"
            ],
            "type": "string",
            "description": "Only reviews from this kind of trip.",
            "default": "ALL"
          },
          "scoreBand": {
            "title": "Score band",
            "enum": [
              "ALL",
              "REVIEW_ADJ_SUPERB",
              "REVIEW_ADJ_GOOD",
              "REVIEW_ADJ_AVERAGE_PASSABLE",
              "REVIEW_ADJ_POOR",
              "REVIEW_ADJ_VERY_POOR"
            ],
            "type": "string",
            "description": "Only reviews in one of Booking's score bands, e.g. \"Poor\" and \"Very poor\" to study complaints.",
            "default": "ALL"
          },
          "season": {
            "title": "Time of year of the stay",
            "enum": [
              "ALL",
              "MAR_MAY",
              "JUN_AUG",
              "SEP_NOV",
              "DEC_FEB"
            ],
            "type": "string",
            "description": "Only reviews of stays in these months.",
            "default": "ALL"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Only reviews that mention this word (Booking's review search, e.g. \"breakfast\", \"noise\", \"parking\")."
          },
          "reviewsSince": {
            "title": "Only reviews published after",
            "type": "string",
            "description": "A date (2026-01-31) or a period (\"30 days\", \"6 months\", \"1 year\"). With \"Newest first\" paging stops at the first older page, which keeps monitoring runs short. Older reviews are not charged."
          },
          "onlyWithText": {
            "title": "Skip score-only reviews",
            "type": "boolean",
            "description": "Many Booking reviews have a score but no written comment. Turn this on to keep only reviews with liked or disliked text. Skipped reviews are not charged.",
            "default": false
          },
          "includeGuestInfo": {
            "title": "Add guest first name and country",
            "type": "boolean",
            "description": "Off by default. When on, each row gets the first name the guest shows on Booking and their country. Avatars, profile links, guest ids and review photos are never collected. When off, the guest's name is also removed from the greeting of hotel replies.",
            "default": false
          },
          "labelLanguage": {
            "title": "Language of labels",
            "enum": [
              "en-gb",
              "en-us",
              "es",
              "fr",
              "de",
              "it",
              "pt-pt",
              "pt-br",
              "nl",
              "pl",
              "ja",
              "zh-cn"
            ],
            "type": "string",
            "description": "Language of room names, traveller-type labels and sub-score names. Review texts are always returned in the language the guest wrote them.",
            "default": "en-gb"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy is recommended. The run starts on datacenter IPs and moves to residential IPs by itself if Booking's firewall keeps challenging the 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}