Tripadvisor hotel prices

GET https://api.api.sh/tripadvisor/v1/hotel/prices
1 credit / call travel & events try it in the playground →

Every booking site's price for a hotel stay, as Tripadvisor's price comparison shows it once all sites have answered: site, nightly price, total for the stay, taxes and fees text, lowest-price flag, status (available, sold out) and the sites' notes (free cancellation, member rates). With no dates, the site's default dates are used.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
id string Tripadvisor hotel id (the number after -d in its link, e.g. 93437). Example: 93437
url string A Tripadvisor hotel link, instead of id.
check_in string Check-in date, YYYY-MM-DD (with check_out).
check_out string Check-out date, YYYY-MM-DD.
adults integer Adults (default 2).
rooms integer Rooms (default 1).
domain com | co.uk | de | fr | it | es | in Tripadvisor site (default com).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/tripadvisor/v1/hotel/prices?id=93437" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.