Skip to main content
POST
/
api
/
expedia
/
hotels
/
reviews
/expedia/hotels/reviews
curl --request POST \
  --url https://api.anysite.io/api/expedia/hotels/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "hotel": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@expedia_hotel_review",
    "rating": 123,
    "rating_label": "<string>",
    "title": "<string>",
    "text": "<string>",
    "author": "<string>",
    "created_at": "<string>",
    "locale": "<string>",
    "is_verified": false,
    "stay_detail": "<string>",
    "themes": [],
    "helpful_count": 123,
    "photos": [],
    "management_response": "<string>"
  }
]

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"

count
integer
required

Max number of reviews to return

Required range: x >= 1
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_review
rating
number | null
rating_label
string | null
title
string | null
text
string | null
author
string | null
created_at
string | null
locale
string | null
is_verified
boolean
default:false
stay_detail
string | null
themes
string[]
helpful_count
integer | null
photos
string[]
management_response
string | null