Skip to main content
POST
/
api
/
google
/
hotels
/
prices
/google/hotels/prices
curl --request POST \
  --url https://api.anysite.io/api/google/hotels/prices \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "feature_id": "<string>",
  "timeout": 300,
  "check_in": "2026-07-01",
  "check_out": "2026-07-02"
}
'
[
  {
    "provider": "<string>",
    "@type": "@google_hotel_offer",
    "provider_id": 123,
    "price": 123,
    "total_price": 123,
    "currency": "<string>",
    "url": "<string>",
    "image": "<string>",
    "guests": 123,
    "rooms": 123,
    "is_free_cancellation": true
  }
]

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
check_in
string | null

Check-in date in YYYY-MM-DD form

Example:

"2026-07-01"

check_out
string | null

Check-out date in YYYY-MM-DD form

Example:

"2026-07-02"

Response

Successful Response

provider
string
required
@type
string
default:@google_hotel_offer
provider_id
integer | null
price
number | null
total_price
number | null
currency
string | null
url
string | null
image
string | null
guests
integer | null
rooms
integer | null
is_free_cancellation
boolean | null