TripAdvisor Reviews from URL API
Extract hotel reviews 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.
Overview
Simplest Method
Just paste any TripAdvisor hotel URL and get reviews instantly. The API handles location ID extraction automatically.
This endpoint is a convenient wrapper that extracts the location ID from a TripAdvisor URL and retrieves reviews in one step. Perfect when you have the hotel URL but not the location ID.
Endpoint URL
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Required | Any valid TripAdvisor hotel URL |
| page | integer | Optional | Page number, starts at 1 (default: 1) |
| per_page | integer | Optional | Number of reviews per page (1-50, default: 10). At most 20 reviews are returned per page; larger values are treated as 20. |
| language | string | Optional |
TripAdvisor language code, or all (default) to include reviews across source languages. A specific code selects the presentation language and can include an available translation. Accepted codes include en, ja, es, fr, de, it, zhTW, zhCN, iw, in, ru, th.
|
Ordering, language, and dates
TripAdvisor provides its most-recent review order. A pinned review can appear among newer reviews, so do not assume every result is strictly descending by date. language=all includes reviews across source languages. A specific code (for example, language=ja) selects the presentation language and can include an available translation. created_date and published_date follow the dates TripAdvisor shows in its current review presentation.
Supported URL Formats
This endpoint accepts any valid TripAdvisor hotel URL, including:
-
✓
Standard hotel pages
https://www.tripadvisor.com/Hotel_Review-g1224250-d305165-Reviews-Hotel.html -
✓
With page numbers
https://www.tripadvisor.com/Hotel_Review-g1224250-d305165-Reviews-or10-Hotel.html -
✓
Different language versions
https://www.tripadvisor.de/Hotel_Review-g1224250-d305165-Reviews-Hotel.html -
✓
Mobile URLs
https://m.tripadvisor.com/Hotel_Review-g1224250-d305165-Reviews-Hotel.html
Benefits
Why Use This Endpoint?
- No need to extract location IDs manually
- Works with any TripAdvisor hotel URL format
- Same rich review data as the location ID endpoint
- Perfect for automated data collection workflows
- Handles URL validation automatically
Pro Tip
The response includes the extracted location_id, so you can use it for subsequent API calls if needed.