POST
/
actions
/
tripadvisor-search-hotel
/
run
/
live
curl --request POST \
  --url https://api.captaindata.com/v4/actions/tripadvisor-search-hotel/run/live \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "parameters": {},
  "input": {
    "tripadvisor_search_url": "<string>"
  }
}'
[
  {
    "tripadvisor_hotel_url": "<string>",
    "photos": [
      "<string>"
    ],
    "name": "<string>",
    "review_count": 123,
    "rating": 123,
    "property_id": "<string>"
  }
]

Authorizations

X-API-Key
string
header
required

Query Parameters

page
integer
default:1

Page index for manual pagination, starting at 1; increase sequentially (page=1, page=2, etc.) until the response returns an empty data array.

page_size
integer
default:30

Maximum number of results per page (read-only; defined by the Action, actual count may be lower in some cases like throttling or internal limits).

Required range: 30 <= x <= 30

Body

application/json

Response

200
application/json

Successful response

The response is of type object[].