Skip to main content
POST
/
api
/
expedia
/
hotels
/expedia/hotels
curl --request POST \
  --url https://api.anysite.io/api/expedia/hotels \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "hotel": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@expedia_hotel",
    "name": "<string>",
    "image": "<string>",
    "is_vip": false,
    "guest_rating": 123,
    "guest_rating_label": "<string>",
    "review_count": 123,
    "rating_categories": [],
    "popular_amenities": [],
    "amenity_groups": [],
    "neighborhood": "<string>",
    "nearby_places": [],
    "policies": [],
    "important_info": [],
    "faqs": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
hotel
string
required

Expedia hotel id (numeric or h-prefixed) or a hotel page URL containing it

Minimum string length: 1
Examples:

"66525849"

"h66525849"

"https://www.expedia.com/x.h66525849.Hotel-Information"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@expedia_hotel
name
string | null
image
string | null
is_vip
boolean
default:false
guest_rating
number | null
guest_rating_label
string | null
review_count
integer | null
rating_categories
ExpediaRatingCategory · object[]
amenity_groups
ExpediaInfoSection · object[]
neighborhood
string | null
nearby_places
ExpediaNearbyGroup · object[]
policies
ExpediaInfoSection · object[]
important_info
ExpediaInfoSection · object[]
faqs
ExpediaFaq · object[]