---
title: "Tripadvisor API: JSON data, 3 endpoints, 1 credit per call"
description: "Get Tripadvisor data as structured JSON with one API key: search, place and reviews. Free credits every month."
url: https://perceptlayer.com/apis/tripadvisor
---

[APIs](https://perceptlayer.com/apis) / [Reviews](https://perceptlayer.com/verticals/reviews) / Tripadvisor

1 credit per call 3 endpoints 9 datapoints

# Tripadvisor API

Get Tripadvisor data as structured JSON with one API key: search, place and reviews. Free credits every month.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Tripadvisor

GET /v1/tripadvisor/search?q=pizza+rome&limit=3 

```
{
  "success": true,
  "data": {
    "query": "pizza rome",
    "results": [
      {
        "position": 1,
        "location_id": 11449818,
        "name": "Pompeii from Rome with Optional Mt. Vesuvius & Pizza Lunch",
        "type": "attraction",
        "location": "Rome, Lazio, Italy",
        "image": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/32/a3/97/3a/caption.jpg?w=800&h=-1&s=1",
        "url": "https://www.tripadvisor.com/AttractionProductReview-g187791-d11449818-Pompeii_from_Rome_with_Optional_Mt_Vesuvius_Pizza_Lunch-Rome_Lazio.html",
        "rating": 4.7,
        "review_count": 1617
      },
      {
        "position": 2,
        "location_id": 28122604,
        "name": "Rome Pizza & Gelato Class with Wine by Cooking Italy",
        "type": "attraction",
        "location": "Rome, Lazio, Italy",
        "image": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/34/52/f0/4b/caption.jpg?w=800&h=-1&s=1",
        "url": "https://www.tripadvisor.com/AttractionProductReview-g187791-d28122604-Rome_Pizza_Gelato_Class_with_Wine_by_Cooking_Italy-Rome_Lazio.html",
        "rating": 5,
        "review_count": 1492
      },
      {
        "position": 3,
        "location_id": 11465610,
        "name": "Cooking Class in the Heart of Rome: Pizza and Tiramisu Making",
        "type": "attraction",
        "location": "Rome, Lazio, Italy",
        "image": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/33/71/2d/29/caption.jpg?w=800&h=-1&s=1",
        "url": "https://www.tripadvisor.com/AttractionProductReview-g187791-d11465610-Cooking_Class_in_the_Heart_of_Rome_Pizza_and_Tiramisu_Making-Rome_Lazio.html",
        "rating": 4.9,
        "review_count": 1487
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "billable": true
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | position integer | location\_id integer | name string | type string | location string | image url | url url | rating number | review\_count integer |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1 | 11449818 | Pompeii from Rome with Optional Mt. Vesuvius & Pizza Lunch | attraction | Rome, Lazio, Italy | https://dynamic-media-cdn.tripadvisor.com/media/photo-o/32/a3/97/3a/caption.jpg?w=800&h=-1&s=1 | https://www.tripadvisor.com/AttractionProductReview-g187791-d11449818-Pompeii\_from\_Rome\_with\_Optional\_Mt\_Vesuvius\_Pizza\_Lunch-Rome\_Lazio.html | 4.7 | 1617 |
| 2 | 2 | 28122604 | Rome Pizza & Gelato Class with Wine by Cooking Italy | attraction | Rome, Lazio, Italy | https://dynamic-media-cdn.tripadvisor.com/media/photo-o/34/52/f0/4b/caption.jpg?w=800&h=-1&s=1 | https://www.tripadvisor.com/AttractionProductReview-g187791-d28122604-Rome\_Pizza\_Gelato\_Class\_with\_Wine\_by\_Cooking\_Italy-Rome\_Lazio.html | 5 | 1492 |
| 3 | 3 | 11465610 | Cooking Class in the Heart of Rome: Pizza and Tiramisu Making | attraction | Rome, Lazio, Italy | https://dynamic-media-cdn.tripadvisor.com/media/photo-o/33/71/2d/29/caption.jpg?w=800&h=-1&s=1 | https://www.tripadvisor.com/AttractionProductReview-g187791-d11465610-Cooking\_Class\_in\_the\_Heart\_of\_Rome\_Pizza\_and\_Tiramisu\_Making-Rome\_Lazio.html | 4.9 | 1487 |

Recorded from our API · 3 items shown · 9 datapoints per item GET /v1/tripadvisor/search?q=pizza+rome&limit=3

9 datapoints

### Identity

-   name string
-   type string

### Contact

-   url url

### Location

-   location\_id integer
-   location string

### Reputation

-   image url
-   rating number
-   review\_count integer

### Other

-   position integer

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/tripadvisor/search?q=pizza+rome&limit=3" \
  -H "X-API-Key: $API_KEY"
```

Tripadvisor · 3 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

| Endpoint | Required parameters | Cost |
| --- | --- | --- |
| [GET `/v1/tripadvisor/place`](https://perceptlayer.com/apis/tripadvisor/place) | `location_id` +1 optional | 1 credit |
| [GET `/v1/tripadvisor/reviews`](https://perceptlayer.com/apis/tripadvisor/reviews) | `location_id` +3 optional | 1 credit |
| [GET `/v1/tripadvisor/search`](https://perceptlayer.com/apis/tripadvisor/search) | `q` +3 optional | 1 credit |

Overview

## About the Tripadvisor API

## What you can get

The Tripadvisor API returns search, place and reviews as clean JSON. Each successful call costs one credit, and calls that fail are free.

Reviews JSON REST MCP

### More reviews APIs

[Capterra](https://perceptlayer.com/apis/capterra) [Goodreads](https://perceptlayer.com/apis/goodreads) [Jameda](https://perceptlayer.com/apis/jameda) [Letterboxd](https://perceptlayer.com/apis/letterboxd) [MyAnimeList](https://perceptlayer.com/apis/myanimelist) [Trusted Shops](https://perceptlayer.com/apis/trusted-shops) [Trustpilot](https://perceptlayer.com/apis/trustpilot) [Yelp](https://perceptlayer.com/apis/yelp)

Use cases

### Monitor your reputation across review sites

`Use the Tripadvisor API to monitor your reputation across review sites` 

### Run sentiment analysis on reviews

`Use the Tripadvisor API to run sentiment analysis on reviews` 

### Compare competitors' ratings

`Use the Tripadvisor API to compare competitors' ratings` 

FAQ

## Questions

**How much does the Tripadvisor API cost?**

Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Do I need a separate key for Tripadvisor?**

No. One key works for every API in the catalogue.

## Try the Tripadvisor API with 1,000 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://perceptlayer.com/docs)
