---
title: "How to get Tripadvisor data"
description: "Get Tripadvisor hotels, restaurants and attractions with their reviews, rating, trip type and stay date, filtered by language and keyword, as JSON. Content API limits, code and prices."
canonical_url: https://groundsocial.dev/guides/how-to-get-tripadvisor-data
---
# How to get Tripadvisor data

> Get Tripadvisor hotels, restaurants and attractions with their reviews, rating, trip type and stay date, filtered by language and keyword, as JSON. Content API limits, code and prices.

_Checked 2026-11-27._

Tripadvisor’s Content API returns up to 5 reviews per location and requires its branding wherever you show them. A data API reads Tripadvisor’s public pages: one GET returns a place’s rating summary and reviews, filterable by rating, trip type and keyword, 1 credit.

> **Checked 27 November 2026** Every request on this page was run against the live API on that date, and the sample response is from that run. Official-API facts link to the platform’s own pages.

## The official Tripadvisor API

Tripadvisor’s Content API is the official route.

- Up to 5 reviews and 5 photos per location.
- A monthly allowance of free calls, then pay as you go, with a card on file.
- Display requirements: Tripadvisor branding and links back wherever the data appears.

Sources: [Tripadvisor Content API](https://tripadvisor-content-api.readme.io/reference/overview).

## Quick start

1. **Get a key.** [Sign up](https://groundsocial.dev/app/sign-in?new=1) with an email code: 100 free credits, no card. An agent can sign itself up with `POST https://api.groundsocial.dev/v1/agent/signup`.
2. **Set it in your shell.** `export GROUNDSOCIAL_API_KEY=gs_live_…`
3. **Make the call.** A place’s reviews: `GET /v1/tripadvisor/reviews`, 1 credit.

cURL:

```bash
curl "https://api.groundsocial.dev/v1/tripadvisor/reviews?url=%2FHotel_Review-g60763-d93437-Reviews-Hotel_Edison_Times_Square-New_York_City_New_York.html" \
  -H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"
```

TypeScript:

```ts
const res = await fetch('https://api.groundsocial.dev/v1/tripadvisor/reviews?url=%2FHotel_Review-g60763-d93437-Reviews-Hotel_Edison_Times_Square-New_York_City_New_York.html', {
  headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
})
if (!res.ok) throw new Error((await res.json()).error.hint)
const data = await res.json()
```

Python:

```python
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/tripadvisor/reviews?url=%2FHotel_Review-g60763-d93437-Reviews-Hotel_Edison_Times_Square-New_York_City_New_York.html",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
```

## Sample response

Trimmed from the real response on 27 November 2026: lists cut to their first items and long strings shortened, private people’s names and handles cut to initials. Every field is described in the [tutorial](https://groundsocial.dev/tutorials/tripadvisor/reviews-get/python).

```json
{
  "location": {
    "locationId": 93437,
    "url": "/Hotel_Review-g60763-d93437-Reviews-Hotel_Edison_Times_Square-New_York_City_New_York.html",
    "name": "Hotel Edison Times Square",
    "placeType": "ACCOMMODATION",
    "reviewSummary": {
      "rating": 3.9,
      "count": 18891
    },
    "latitude": 40.759735,
    "longitude": -73.98615
  },
  "reviews": [
    {
      "id": 1086691681,
      "rating": 5,
      "title": "Our New York home for 20 years!",
      "text": "We stayed at the Edison again this November for one of our twice-yearly trips to New York…",
      "publishedDate": "2026-11-25",
      "originalLanguage": "en",
      "helpfulVotes": 0,
      "tripInfo": {
        "stayDate": "2026-11-30",
        "tripType": "COUPLES"
      },
      "userProfile": {
        "userId": "…",
        "displayName": "D. D."
      }
    }
  ],
  "unfiltered_count": 20
}
```

## What else you can get from Tripadvisor

| What you get | Endpoint | Credits |
| --- | --- | --- |
| [A place’s reviews](https://groundsocial.dev/tutorials/tripadvisor/reviews-get/python) | `GET /v1/tripadvisor/reviews` | 1 |
| [Find a place](https://groundsocial.dev/tutorials/tripadvisor/search-all/python) | `GET /v1/tripadvisor/search` | 1 |
| [Hotels in a city](https://groundsocial.dev/tutorials/tripadvisor/hotels-get/python) | `GET /v1/tripadvisor/hotels` | 1 |
| [Restaurants in a city](https://groundsocial.dev/tutorials/tripadvisor/restaurants-get/python) | `GET /v1/tripadvisor/restaurants` | 1 |
| [Restaurant reviews](https://groundsocial.dev/tutorials/tripadvisor/restaurant-reviews/python) | `GET /v1/tripadvisor/restaurant/reviews` | 1 |
| [Attraction reviews](https://groundsocial.dev/tutorials/tripadvisor/attraction-reviews/python) | `GET /v1/tripadvisor/attraction/reviews` | 1 |

Each row links to its tutorial. Every Tripadvisor endpoint and price: [Tripadvisor API](https://groundsocial.dev/tripadvisor-api).

## Tips

- Pass the Tripadvisor link or just its path (`/Hotel_Review-…html`).
- `visit_type=families,couples` and `rating=excellent,very_good` filter; `search_reviews_keyword=breakfast` finds mentions.
- `sort_by=detailed_reviews` returns the longest reviews first, best for analysis.

## Use it from Claude or Cursor (MCP)

Every endpoint is also an MCP tool on the remote server `https://api.groundsocial.dev/mcp`. The `?platforms=tripadvisor` below loads only the Tripadvisor tools. The client signs in with OAuth, or send your key as a Bearer token. Tools used in this guide: `tripadvisor_reviews_get`, `tripadvisor_search_all`, `tripadvisor_hotels_get`, `tripadvisor_restaurants_get`, `tripadvisor_restaurant_reviews`, `tripadvisor_attraction_reviews`.

Claude Code:

```bash
claude mcp add --transport http groundsocial "https://api.groundsocial.dev/mcp?platforms=tripadvisor"
```

Cursor:

```json
{
  "mcpServers": {
    "groundsocial": {
      "url": "https://api.groundsocial.dev/mcp?platforms=tripadvisor"
    }
  }
}
```

Claude.ai:

```text
Customize → Connectors → + Add → Add custom connector
URL: https://api.groundsocial.dev/mcp?platforms=tripadvisor
```

> **Then ask** “What do couples say about Hotel Edison Times Square on Tripadvisor? Summarise the last 20 reviews.”

Setup for ChatGPT, VS Code, Windsurf, n8n and others: [MCP client setup](https://groundsocial.dev/mcp).

## Pricing

Pay per call from prepaid credits; no subscription. 100 free credits cover the examples on this page. Costs below are at the [credit packs](https://groundsocial.dev/pricing)’ highest and lowest rates.

| Job | Credits | Cost |
| --- | --- | --- |
| Reviews for 1,000 hotels | 1,000 | $1.00 → $0.40 |
| Find and review 100 restaurants | 105 | $0.11 → $0.04 |

## FAQ

### Do I need to show Tripadvisor branding?

Those are the Content API’s display rules. With public data you still must respect Tripadvisor’s trademarks; don’t imply endorsement.

### Are failed calls charged?

No. A target that does not exist answers `404 target_not_found`, an upstream failure answers `503`, and neither costs anything. Credits never expire.

### Is Groundsocial official?

No. Groundsocial is an independent API that reads what the platform shows a logged-out visitor. Tripadvisor is a trademark of its owner. We are not affiliated with or endorsed by it.

## Go deeper

- [Tripadvisor tutorials: 15 endpoints in six languages](https://groundsocial.dev/tutorials/tripadvisor)
- [Review monitoring API](https://groundsocial.dev/use-cases/review-monitoring-api)

## Related guides

- [How to get Yelp data](https://groundsocial.dev/guides/how-to-get-yelp-data)
- [How to get Airbnb data](https://groundsocial.dev/guides/how-to-get-airbnb-data)

Tripadvisor is a trademark of its owner. We are not affiliated with or endorsed by it.

_Canonical HTML: https://groundsocial.dev/guides/how-to-get-tripadvisor-data_

## Site Navigation

### Global Hub
- [Home](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Endpoints](https://groundsocial.dev/endpoints.md)
- [For agents](https://groundsocial.dev/agents.md)
- [Docs](https://groundsocial.dev/docs.md)
- [Compare](https://groundsocial.dev/compare.md)
- [Blog](https://groundsocial.dev/blog.md)
- [Tutorials](https://groundsocial.dev/tutorials.md)
- [Changelog](https://groundsocial.dev/changelog.md)
- [llms.txt](https://groundsocial.dev/llms.txt)
- [Agent skill](https://groundsocial.dev/SKILL.md)

### On This Topic
- [Groundsocial: Social data in one API call](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Playground](https://groundsocial.dev/playground.md)
- [Use cases](https://groundsocial.dev/use-cases.md)
- [Brand monitoring API](https://groundsocial.dev/use-cases/brand-monitoring-api.md)
- [Social listening API](https://groundsocial.dev/use-cases/social-listening-api.md)
- [Comment scraping API](https://groundsocial.dev/use-cases/comment-scraping-api.md)
- [Influencer discovery API](https://groundsocial.dev/use-cases/influencer-discovery-api.md)
- [Video transcript API](https://groundsocial.dev/use-cases/video-transcript-api.md)
- [Ad library API](https://groundsocial.dev/use-cases/ad-library-api.md)
- [Review monitoring API](https://groundsocial.dev/use-cases/review-monitoring-api.md)
- [Trend detection API](https://groundsocial.dev/use-cases/trend-detection-api.md)
- [Social lead generation API](https://groundsocial.dev/use-cases/lead-generation-api.md)
- [Market research API](https://groundsocial.dev/use-cases/market-research-api.md)

## Structured data

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://groundsocial.dev/"},{"@type":"ListItem","position":2,"name":"Guides","item":"https://groundsocial.dev/guides"},{"@type":"ListItem","position":3,"name":"How to get Tripadvisor data","item":"https://groundsocial.dev/guides/how-to-get-tripadvisor-data"}]}
```
