> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape Booking.com hotels

> Searches Booking.com for `location` and returns the properties as JSON: `name`, `price` (with `checkin`/`checkout`), `reviewScore`, `address`, coordinates, `image` and a hotel `url`. Set `adults`, `children`, `rooms` and `currency`, and collect up to `max_results` across pages. Prices only appear when check-in/check-out dates are given.



## OpenAPI

````yaml /api-reference/openapi.json post /travel/booking
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Three endpoints are
    documented here: page-source extraction, Google SERP scraping, and image
    fetch. All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /travel/booking:
    post:
      tags:
        - Plugins
      summary: Scrape Booking.com hotels
      description: >-
        Searches Booking.com for `location` and returns the properties as JSON:
        `name`, `price` (with `checkin`/`checkout`), `reviewScore`, `address`,
        coordinates, `image` and a hotel `url`. Set `adults`, `children`,
        `rooms` and `currency`, and collect up to `max_results` across pages.
        Prices only appear when check-in/check-out dates are given.
      operationId: booking_search_travel_booking_post
      parameters:
        - name: location
          in: query
          required: true
          schema:
            type: string
            description: City or place to search, e.g. 'Austin' or 'Paris'.
            title: Location
          description: City or place to search, e.g. 'Austin' or 'Paris'.
        - name: checkin
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Check-in YYYY-MM-DD (needed for prices).
            title: Checkin
          description: Check-in YYYY-MM-DD (needed for prices).
        - name: checkout
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Check-out YYYY-MM-DD.
            title: Checkout
          description: Check-out YYYY-MM-DD.
        - name: adults
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
              - type: 'null'
            description: Number of adults.
            title: Adults
          description: Number of adults.
        - name: children
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 0
              - type: 'null'
            description: Number of children.
            title: Children
          description: Number of children.
        - name: rooms
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
              - type: 'null'
            description: Number of rooms.
            title: Rooms
          description: Number of rooms.
        - name: currency
          in: query
          required: false
          schema:
            type: string
            description: >-
              Price currency: USD, EUR, GBP, AUD, CAD, CHF, JPY, CNY, INR, BRL,
              MXN, PLN, SEK, NOK, DKK, AED, SGD, ZAR, TRY, RUB.
            default: USD
            title: Currency
          description: >-
            Price currency: USD, EUR, GBP, AUD, CAD, CHF, JPY, CNY, INR, BRL,
            MXN, PLN, SEK, NOK, DKK, AED, SGD, ZAR, TRY, RUB.
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            maximum: 500
            minimum: 1
            description: How many properties to collect across pages.
            default: 25
            title: Max Results
          description: How many properties to collect across pages.
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Exit-IP country (ISO-2).
            title: Proxy Country
          description: Exit-IP country (ISO-2).
      responses:
        '200':
          description: JSON with a `properties` array.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: Blocked by Booking or no results page returned.
        '504':
          description: Fetch timed out.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````