TripAdvisor Attraction Details
POST /api/v1/tripadvisor/attractions/details
Get a TripAdvisor attraction from its URL, including rating, review count, ranking, awards, description, address and coordinates, contact details, opening hours, suggested duration, recent reviews, tickets and tours, and nearby places.
Overview
Get a TripAdvisor attraction from its URL, including rating, review count, ranking, awards, description, address and coordinates, contact details, opening hours, suggested duration, recent reviews, tickets and tours, and nearby places.
POST /api/v1/tripadvisor/attractions/details
Method: POST Path: /api/v1/tripadvisor/attractions/details Category: Travel
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| attraction_url | string | Required | Full TripAdvisor attraction URL (e.g. https://www.tripadvisor.com/Attraction_Review-g294265-d2149128-Reviews-Gardens_by_the_Bay-Singapore.html). |
| location | string | Optional | Two-letter country code to fetch the page from (default US). |
Request Example
TripAdvisor Attraction Details Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/tripadvisor/attractions/details" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"attraction_url": "example", "location": "US"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "location_id": "1234567890", "geo_id": "1234567890", "name": "string", "url": "https://example.com/...", "rating": 0.0, "review_count": 0, "ranking": "string", "ranking_position": 0, "award": "string", "description": "string", "address": { "full": "string", "street": "string", "postal_code": "string", "country": "string" }, "neighborhood": "string", "neighborhood_description": "string", "latitude": 0.0, "longitude": 0.0, "phone": "string", "website": "string", "opening_hours": [ { "day": "string", "hours": [ "string" ] } ], "opening_hours_summary": "string", "open_now": false, "duration": "string", "breadcrumbs": [ { "name": "string", "url": "https://example.com/..." } ], "images": [ "string" ], "photo_count": 0, "reviews": [ { "review_id": "1234567890", "title": "string", "text": "string", "rating": 0.0, "author": "string", "author_location": "string", "author_contributions": 0, "visit_date": "2026-01-01T12:00:00Z", "trip_type": "string", "written_date": "2026-01-01T12:00:00Z", "helpful_votes": 0, "url": "https://example.com/..." } ], "tickets_and_tours": [ { "title": "string", "url": "https://example.com/...", "price_from": 0.0, "original_price": 0.0, "currency": "USD", "duration": "string", "info": "string", "review_count": 0, "free_cancellation": false, "labels": [ "string" ], "image": "string" } ], "nearby": [ { "type": "restaurant", "name": "string", "url": "https://example.com/...", "rating": 0.0, "review_count": 0, "distance": "string", "categories": [ "string" ], "image": "string" } ], "time_taken": 0.0, "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "TripAdvisor Attraction Details", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| location_id | string | Yes | TripAdvisor attraction id. |
| geo_id | string | Yes | Destination id. |
| name | string | Yes | |
| url | string | Yes | Attraction page URL. |
| rating | number | null | Yes | Traveler rating out of 5. |
| review_count | integer | null | Yes | |
| ranking | string | No | e.g. '#2 of 1,339 things to do in Singapore'. |
| ranking_position | integer | null | No | |
| award | string | No | Travelers' Choice award, if any. |
| description | string | No | |
| address | object | No | |
| address.full | string | No | |
| address.street | string | No | |
| address.postal_code | string | No | |
| address.country | string | No | |
| neighborhood | string | No | |
| neighborhood_description | string | No | |
| latitude | number | null | No | |
| longitude | number | null | No | |
| phone | string | No | |
| website | string | No | |
| opening_hours | array<object> | No | Opening hours by day of the week. |
| opening_hours[].day | string | No | |
| opening_hours[].hours | array<string> | No | |
| opening_hours_summary | string | No | Compact opening hours, e.g. 'Mo-Su 05:00-02:00'. |
| open_now | boolean | null | No | Whether the attraction was open at fetch time. |
| duration | string | No | Suggested visit duration. |
| breadcrumbs | array<object> | No | |
| breadcrumbs[].name | string | No | |
| breadcrumbs[].url | string | No | |
| images | array<string> | No | |
| photo_count | integer | null | No | Number of traveler and official photos. |
| reviews | array<object> | No | Most recent traveler reviews shown on the page. |
| reviews[].review_id | string | No | |
| reviews[].title | string | No | |
| reviews[].text | string | No | |
| reviews[].rating | number | null | No | |
| reviews[].author | string | No | |
| reviews[].author_location | string | No | |
| reviews[].author_contributions | integer | null | No | |
| reviews[].visit_date | string | No | |
| reviews[].trip_type | string | No | e.g. Couples, Family, Solo. |
| reviews[].written_date | string | No | |
| reviews[].helpful_votes | integer | null | No | |
| reviews[].url | string | No | |
| tickets_and_tours | array<object> | No | Tickets, tours and experiences offered for the attraction. |
| tickets_and_tours[].title | string | Yes | |
| tickets_and_tours[].url | string | Yes | |
| tickets_and_tours[].price_from | number | null | No | |
| tickets_and_tours[].original_price | number | null | No | |
| tickets_and_tours[].currency | string | No | |
| tickets_and_tours[].duration | string | No | |
| tickets_and_tours[].info | string | No | |
| tickets_and_tours[].review_count | integer | null | No | |
| tickets_and_tours[].free_cancellation | boolean | No | |
| tickets_and_tours[].labels | array<string> | No | |
| tickets_and_tours[].image | string | No | |
| nearby | array<object> | No | Best nearby restaurants and attractions. |
| nearby[].type | string | Yes | |
| nearby[].name | string | Yes | |
| nearby[].url | string | Yes | |
| nearby[].rating | number | null | No | |
| nearby[].review_count | integer | null | No | |
| nearby[].distance | string | No | |
| nearby[].categories | array<string> | No | |
| nearby[].image | string | No | |
| time_taken | number | No |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/tripadvisor/attractions/details?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
attraction_url,location example,US
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |