POST
/
actions
/
tripadvisor-extract-hotel
/
run
/
live
curl --request POST \
  --url https://api.captaindata.com/v4/actions/tripadvisor-extract-hotel/run/live \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "input": {
    "tripadvisor_hotel_url": "<string>"
  }
}'
{
  "name": "<string>",
  "grade": 123,
  "ranking": 123,
  "price_range": "<string>",
  "number_reviews": 123,
  "awards": [
    "<string>"
  ],
  "breakdown_grade": {
    "cleanliness": "<string>",
    "location": "<string>",
    "rooms": "<string>",
    "service": "<string>",
    "sleep_quality": "<string>",
    "value": "<string>"
  },
  "email": "[email protected]",
  "website": "<string>",
  "address": "<string>",
  "description": "<string>",
  "phone": "<string>",
  "amenities": [
    "<string>"
  ],
  "hidden_amenities": [
    "<string>"
  ],
  "stars": 123,
  "property_url": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.