Booking Scraper avatar

Booking Scraper

Try for free

Pay $5.00 for 1,000 results

Go to Store
Booking Scraper

Booking Scraper

voyager/booking-scraper
Try for free

Pay $5.00 for 1,000 results

Scrape Booking with this hotels scraper and get data about accommodation on Booking.com. You can crawl by keywords or URLs for hotel prices, ratings, addresses, number of reviews, stars. You can also download all that room and hotel data from Booking.com with a few clicks: CSV, JSON, HTML, and Excel

Do you want to learn more about this Actor?

Get a demo
RC

New fields for the API

Open

refined_cargo opened this issue
5 months ago

It is possible to scrape also the tax extra charge for hotels that have extra tax not included in the normal price, And also to choose if scrape prices with cancel options / non refund/ both options.

Thanks!

lhotanok avatar

Hello, could you please provide us with an example of a hotel with extra tax not included in the price? I searched for such hotels but wasn't successful in finding any so it would help a lot 🙂

And also to choose if scrape prices with cancel options / non refund/ both options.

As for cancel options, we will add cancellation policy for individual hotel rooms (such as "freeCancellation": true and "cancellationPolicy": "free_cancellation" / "cancellationPolicy": "non_refundable"). With this cancellation policy info extracted for each room, it should be easy to filter out rooms with cancel options and those with no refund, along with their prices.

We will discuss with the team whether to also add a new input field that could force including only hotels with free cancellation. I can see that "Free cancellation" is one of the search filters (see the attached image) so it should be possible to add to the input filters. However, you can already filter hotels with free cancellation options by using start URLs with this search filter included, e.g.: https://www.booking.com/searchresults.html?dest_id=83&dest_type=country&checkin=2024-09-11&checkout=2024-09-14&group_adults=2&no_rooms=1&group_children=0&selected_currency=USD&nflt=fc%3D2%3Breview_score%3D80%3Bht_id%3D204

Note the nflt=fc%3D2 part of the URL which ensures that free cancellation search filter is checked. See the example run with free cancellation hotels only (6236 properties found): https://console.... [trimmed]

RC

refined_cargo

5 months ago

I think the tax is in few countries like Thailaind, Thanks for the quick and detailed response and the help, I will play with the API and will let you know thanks!

RC

refined_cargo

5 months ago

Is there any option to get in the API if the price includeTaxes or not ? and if not the price

lukas.prusa avatar

Hi, thanks for your patience and the info!

Yes, we will add both the tax info and the cancelation info extraction to this scraper! Thanks for the great suggestions!

As for your suggested option to “choose if scrape prices with cancel options / non refund/ both options”, I'm not entirely sure what you mean. But either way, the answer is most likely no, because it would affect the number of results, which would break our “Pay Per Result” pricing model.

I will keep you updated here, thanks!

lhotanok avatar

Hello, we have just added the extraction of cancellation policy to the scraper. You can take a look at the example run: https://console.apify.com/view/runs/95M1PkaH73ceOhS1O The info is available at rooms[i].options[j] where each room option represents a single row in the table of rooms on Booking.com.

There're 2 new dataset fields in rooms[i].options[j]:

  • cancellationType which is either free_cancellation or non_refundable
  • freeCancellation which is true when the room option is cancellable for free (and cancellationType stores free_cancellation string)

We decided against modifying the input schema of the Actor. If you wish to search for free cancellation results only, please use the search URL with nflt=fc%3D2 filter as suggested in my earlier comment ⬆️

lhotanok avatar

The extraction of tax info is still in our backlog so I'm leaving this issue opened and we'll let you know once the tax info is available as well 🙂

Developer
Maintained by Apify

Actor Metrics

  • 184 monthly users

  • 41 stars

  • 96% runs succeeded

  • 5.1 days response time

  • Created in Aug 2023

  • Modified 10 days ago

Categories