TripAdvisor Details from URL API
Extract hotel details directly from any TripAdvisor hotel URL - no location ID needed.
Copy for your AI agent
Paste into Claude, ChatGPT, Cursor or Copilot — endpoint, parameters, response fields and a curl example in Markdown.
Availability of hotel details
A successful response identifies the hotel with numeric location_id and data.name. Other property fields are optional: a valid response can contain only basic identity information and ranking_status.
ranking_status is ok when a ranking is available, no_pop_index when the hotel has no ranking, not_in_top300_of_geo when it is outside the destination coverage window, or no_parent_geo when no destination is available. geo_search_failed means additional details are temporarily unavailable; the basic hotel information is still returned successfully. When present, ranking contains optional rank, total, and localized fields.
amenities contains highlighted amenities only, not the complete About-box list, and is omitted when unavailable. The response does not include contact.website or num_rooms.
An unknown hotel returns HTTP 404. An unavailable or malformed hotel identity response returns HTTP 502 with Problem Details; it is not reported as a missing hotel.
Overview
One-Step Solution
Simply provide any TripAdvisor hotel URL and get hotel details in one call.
This endpoint combines URL parsing and detail extraction in one call. Perfect when you have the hotel URL but not the location ID. Returns the same data as the location ID endpoint.
Endpoint URL
Fields inside data are conditional on upstream coverage.
amenities contains highlighted amenities only, not the full About-box list.
contact.website and num_rooms are not returned, even when
TripAdvisor displays them in its About box. If the hotel is outside the parent-area
search window, the response may contain only its name and parent location data.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Required | Any valid TripAdvisor hotel URL |
Accepted URL Formats
This endpoint works with any TripAdvisor hotel URL:
Standard format:
https://www.tripadvisor.com/Hotel_Review-g60945-d83189-Reviews-Stanley_Hotel-Estes_Park_Colorado.html
With page navigation:
https://www.tripadvisor.com/Hotel_Review-g60945-d83189-Reviews-or10-Hotel.html
Different domains:
https://www.tripadvisor.co.uk/Hotel_Review-g60945-d83189-Reviews-Stanley_Hotel-Estes_Park_Colorado.html
Response Data
Returns the same hotel information as the location ID endpoint, including:
Property Information
- • Hotel name and accommodation type
- • Star rating and price level
- • Ranking and ranking status
- • Canonical hotel URL
Location Details
- • Full address
- • GPS coordinates
- • Country code
- • Parent location breadcrumbs
Reviews & Ratings
- • Overall rating
- • Category breakdowns
- • Review count
- • Star rating
Amenities & Contact
- • Highlighted amenities (partial list)
- • Hero image
- • Price range
- • Phone when available
Why Use This Endpoint?
Best for Automation
Ideal for browser extensions or any workflow where you have URLs but not location IDs.
- No need to parse location IDs from URLs
- Works with any TripAdvisor hotel page URL
- Single API call for hotel details
- Includes the extracted location ID in response
- Perfect for automated integration workflows