> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/platforms/tripadvisor/hotels-locationid>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/tripadvisor/hotels-locationid.mdx>

---

# Tripadvisor Hotel API

One hotel with its rating breakdown, ranking and amenities, by location id.

`GET /v1/tripadvisor/hotels/{locationId}` reads one hotel. `locationId` is the `d` number in the hotel's Tripadvisor address, or a `locationId` from search or the hotels list (`93450` is Hyatt Grand Central New York).

`data.place` carries `name`, `url`, `geoId`, `rating` (1 to 5, to one decimal), `reviewCount`, `ratingCounts` (reviews per star), `subratings` (reviewers' averages per aspect, such as `Cleanliness` and `Dining`), `ranking` (`#420 of 530 hotels in New York City`), `address`, `coordinates`, `phone`, `website`, `priceRange`, `image`, `isClosed`, `amenities`, `styles` and `roomCount`.

## Request

- **Endpoint:** `GET /v1/tripadvisor/hotels/{locationId}`
- **Credits:** 1 credit
Failed requests are free
A not-found answer is still charged
- **Input:** by location id
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/tripadvisor/hotels/locationid/get)
- **Platform page:** [/platforms/tripadvisor](https://www.socialfetch.dev/platforms/tripadvisor)

## FAQ

### What if the id is a restaurant or an attraction?

data.lookupStatus is not_found: this route answers hotels only. Use GET /v1/tripadvisor/place with the page link to read a place of any kind.

### Are the amenities the ones the hotel has?

Each amenity carries value true when the site lists the hotel as having it. styles holds the styles the site ranks it for, such as Quiet or Family.

### How do I get the hotel's reviews?

Call GET /v1/tripadvisor/hotels/{locationId}/reviews with the same id.

### How many credits does a call cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.
