Booking Attraction Info
One Booking.com attraction page.
Credit cost: 3 credits per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringRequired. Attraction URL under /attractions/, not a search-results URL.
https://www.booking.com/attractions/fr/pre4ksvwxdrd-seine-river-sightseeing-cruise.fr.htmlhttps://www.booking.com/attractions/fr/prjyfitkuhfz-one-day-admission-to-disneylandr-paris.fr.htmllanguage?stringOptional. Default en-gb.
currency?stringOptional. Default USD.
country?stringOptional. Two-letter market code. The value sent is the code, for example ar. It does not change the proxy. Booking sets the cookie explicit_language_preference and the Accept-Language header. If language is empty, this also sets the page language. A URL in query is not rewritten. Any other code returns 400.
arfrAccepted codes: ar, at, be, br, ca, ch, cl, cn, co, cz, de, dk, es, fi, fr, gb, hu, ie, it, jp, mx, nl, no, pe, pl, pt, ro, se, tw, uk, us, uy.
return_page_source?booleanOptional. Default false. true returns {"result": html} instead of JSON. A Chrome, Brave, or Internet Explorer proxy error is still HTTP 500, and that error page is not returned.
falsefalsefields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
url?stringname?stringimage?stringprice?unknownrating?numberaddress?unknowncurrency?stringduration?unknowndescription?unknownreview_count?integerreview_label?stringprice_display?unknowncurl -X GET 'https://api.piloterr.com/v2/booking/attraction/info?query=string'{ "url": "https://www.booking.com/attractions/fr/pre4ksvwxdrd-seine-river-sightseeing-cruise.fr.html", "name": "Croisière touristique Paris Seine avec commentaires par Bateaux Parisiens", "image": "https://r-xx.bstatic.com/xdata/images/xphoto/216x216/134464492.webp?k=664cde36f2f9020434de24644142140f0866d6d0f77b907751762acf1a031d61&o=", "price": null, "rating": 8.6, "address": null, "currency": "EUR", "duration": null, "description": null, "review_count": 5962, "review_label": "Commentaires", "price_display": null}