curl --request POST \
--url https://api.scrapeunblocker.com/travel/google-hotels-property \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/travel/google-hotels-property"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/travel/google-hotels-property', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape one Google Hotels property: prices from every booking site
Returns one property from Google Hotels as JSON, identified by the property_token of a /travel/google-hotels result: offers from every booking site Google lists for the stay (provider, official for the hotel’s own site, perNight/perNightWithTaxes, total/totalWithTaxes, a Google link to book), rooms with room-level rates and free-cancellation deadlines where Google shows them, the lowest price, address, phone, website, description and about, rating, reviews, ratingsBreakdown, reviewTopics, hotelClass, latitude/longitude, nearbyPlaces, images, placeId and mapsUrl. Set the stay with check_in/check_out, the party with adults/children, and currency, hl, gl. Billed as one request.
curl --request POST \
--url https://api.scrapeunblocker.com/travel/google-hotels-property \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/travel/google-hotels-property"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/travel/google-hotels-property', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
propertyToken of a /travel/google-hotels result.
Check-in date, YYYY-MM-DD. Leave check_in and check_out empty for Google's default stay.
Check-out date, YYYY-MM-DD (stays of up to 30 nights).
Number of adults (1-10).
Ages of the children, comma-separated, e.g. '7,10' (up to 6).
Price currency, ISO 4217 (USD, EUR, GBP, ...).
Language, e.g. 'en', 'de', 'fr'.
Market (2-letter country). Google localizes the booking sites to it.
Response
JSON with a property object (offers, rooms, details).

