Skip to main content
POST
/
api
/
google
/
hotels
/google/hotels
curl --request POST \
  --url https://api.anysite.io/api/google/hotels \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "feature_id": "<string>",
  "timeout": 300
}
'
[
  {
    "feature_id": "<string>",
    "name": "<string>",
    "@type": "@google_hotel",
    "token": "<string>",
    "property_type": "<string>",
    "hotel_class": 123,
    "latitude": 123,
    "longitude": 123,
    "address": "<string>",
    "phone": "<string>",
    "neighborhood": "<string>",
    "rating": 123,
    "review_count": 123,
    "review_summary": "<string>",
    "review_aspects": [],
    "description": "<string>",
    "image": "<string>",
    "images": [],
    "price_from": 123,
    "currency": "<string>",
    "place_id": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
feature_id
string
required

Hotel feature ID in hex form '0x..:0x..'

Minimum string length: 1
Example:

"0x89c28aad4f6a9ce5:0xa4793816b9bcb218"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

feature_id
string
required
name
string
required
@type
string
default:@google_hotel
token
string | null
property_type
string | null
hotel_class
integer | null
latitude
number | null
longitude
number | null
address
string | null
phone
string | null
neighborhood
string | null
rating
number | null
review_count
integer | null
review_summary
string | null
review_aspects
GoogleHotelReviewAspect · object[]
description
string | null
image
string | null
images
string[]
price_from
number | null
currency
string | null
place_id
string | null