GET
TripAdvisor Hotel Details API
Extract comprehensive hotel information from TripAdvisor using the hotel's location ID.
Overview
Complete Hotel Data
Get detailed hotel information including name, description, contact details, coordinates, address, and special offers.
The TripAdvisor Hotel Details endpoint provides comprehensive hotel information including property details, location data, contact information, and current special offers.
Endpoint URL
GET https://api.stayapi.com/v1/tripadvisor/hotel/details/{location_id}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| location_id | integer | Required | TripAdvisor location ID (path parameter, e.g., 8622290) |
Response Structure
Basic Information
name- Hotel namedescription- Detailed property descriptionurl- TripAdvisor hotel page URLplace_type- Type of accommodation (e.g., ACCOMMODATION)local_language- Local language code
Location & Contact
address- Full street addressphone- Hotel phone number (when available)coordinates- GPS coordinates objectlatitude- Latitude coordinatelongitude- Longitude coordinate
Special Offers
special_offer- Current special offers object (when available)heading- Offer headlinedetails- Offer terms and conditions
Common Use Cases
- Building hotel profile pages with contact and location data
- Displaying hotel locations on maps
- Showing current special offers and promotions
- Enriching hotel data with TripAdvisor information
- Creating hotel comparison tools
- Implementing "click to call" or "get directions" features
Data Freshness
Hotel details change less frequently than reviews. Consider caching this data for 24-48 hours to improve performance.
Request
Response