GET
TripAdvisor Details from URL API
Extract hotel details directly from any TripAdvisor hotel URL - no location ID needed.
Overview
One-Step Solution
Simply provide any TripAdvisor hotel URL and get comprehensive hotel details instantly.
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 comprehensive data as the location ID endpoint.
Endpoint URL
GET https://api.stayapi.com/v1/tripadvisor/hotel/details-from-url
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-g2400063-d8622290-Reviews-Hotel.html
With page navigation:
https://www.tripadvisor.com/Hotel_Review-g2400063-d8622290-Reviews-or10-Hotel.html
Different domains:
https://www.tripadvisor.co.uk/Hotel_Review-g2400063-d8622290-Reviews-Hotel.html
Response Data
Returns the same comprehensive hotel information as the location ID endpoint, including:
Property Information
- • Hotel name and description
- • Star rating and price level
- • Rankings and awards
- • Number of rooms
Location Details
- • Full address
- • GPS coordinates
- • Nearby attractions
- • Neighborhood info
Reviews & Ratings
- • Overall rating
- • Category breakdowns
- • Review distribution
- • Traveler types
Amenities & Features
- • Complete amenity list
- • Room features
- • Hotel highlights
- • Contact information
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 complete hotel data
- Includes the extracted location ID in response
- Perfect for automated integration workflows
Request
Response