Booking.com

Intro

You can get Booking.com results by providing your own URLs to our service. We can return the HTML of any Booking.com page you like.

Please note that you will scrape Booking.com by employing the universal source. To learn about all the various ways you can fine-tune this source, please visit this page.

Input

The example below illustrates how you can get a Booking.com search results page result in HTML format.

{
    "source": "universal", 
    "url": "https://www.booking.com/searchresults.fr.html?lang=en&ss=Barcelona%2C+Catalonia%2C+Spain&checkin_year=2023&checkin_month=8&checkin_monthday=18&checkout_year=2023&checkout_month=8&checkout_monthday=19&efdco=1&group_adults=1&group_children=0&no_rooms=1"
}

The example uses the Realtime integration method. If you would like to use some other integration method in your query (e.g. Push-Pull or Proxy Endpoint), refer to the integration methods section.

Although we do not have a dedicated parser for Booking.com, you can write your own parsing instructions with Custom Parser feature and get structured data.

Output

After executing the code example above, you can expect to get an output similar to this:

{
    "results": [
        {
            "content":"<!doctype html>\n<html lang=\"en\">\n<head>
            ...
            </script></body>\n</html>\n",
            "created_at": "2022-11-17 14:53:52",
            "updated_at": "2022-11-17 14:53:54",
            "page": 1,
            "url": "https://www.booking.com/searchresults.fr.html?lang=en&ss=Barcelona%2C+Catalonia%2C+Spain&checkin_year=2023&checkin_month=8&checkin_monthday=18&checkout_year=2023&checkout_month=8&checkout_monthday=19&efdco=1&group_adults=1&group_children=0&no_rooms=1",
            "job_id": "6999021798385787905",
            "status_code": 200
        }
    ]
}

Last updated