# Tripadvisor Place

Retrieve the core details of a Tripadvisor location: name, type (hotel, restaurant, attraction, vacation_rental or destination), coordinates, Tripadvisor URL, image, rating and review count. Pass a locale to also receive the localized name. Unknown location IDs answer 404 and are not billed.

- **Documentation:** [https://scrappa.co/docs/tripadvisor-api/tripadvisor_place](https://scrappa.co/docs/tripadvisor-api/tripadvisor_place)
- **API group:** Tripadvisor API
- **Endpoint:** `GET https://scrappa.co/api/tripadvisor/place`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `location_id` | integer | Yes | Tripadvisor location ID (e.g. 18941405 for Austin Proper Hotel) |
| `locale` | string | No | Locale for the localized name (e.g. en-US, de-DE). Default: en-US |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/tripadvisor/place?location_id=18941405&locale=en-US"
```

## Example response

```json
{
    "success": true,
    "data": {
        "place": {
            "location_id": 18941405,
            "name": "Austin Proper Hotel",
            "type": "hotel",
            "latitude": 30.266022,
            "longitude": -97.750114,
            "url": "https://www.tripadvisor.com/Hotel_Review-g30196-d18941405-Reviews-Austin_Proper_Hotel-Austin_Texas.html",
            "image": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1c/4b/d5/ac/beautiful-pool-area.jpg?w=800&h=-1&s=1",
            "rating": 4.6,
            "review_count": 1025
        }
    },
    "meta": {
        "endpoint_family": "place",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required query parameter is missing or invalid. This response is not billable. |
| 404 | Location Not Found | The Tripadvisor location does not exist. This response is not billable. |
| 502 | Invalid Source Response | Tripadvisor answered with a shape that no longer matches the documented contract. This response is not billable. |
| 503 | Service Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
