![TripAdvisor](/assets/logos/tripadvisor_logo-03b5f1b91a52e4538675aa0620c1922385edb3227845ab430e50565f3cda5812.png) ![Google Sheets](/assets/logos/sheets_logo-c7c6275932e794009779d23c7065243b122919ef86e112d9365c57c97f83e64b.png) 

# Get TripAdvisor reviews into Google Sheets.

One endpoint call, the Google Sheets setup steps, and a field-to-column map. Then keep it refreshing on a schedule.

[Start free with 50 requests](/users/sign_up)

50 free requests on signupNo credit card

Trusted by hospitality teams at

 ![EHL](/assets/logos/ehl-51e6ac832bd7a1b8c1f3c17ea48e7f7464f2aaead02a54b7cab2f2ee05b06c86.png) ![Skyscanner](/assets/logos/skyscanner-47f9fed400d4f828b0499892968e393aa1435240b8a573988d36fceb7f0433ae.png) ![Mews](/assets/logos/mews-e52288ca26c3e8d5e3878b522b92b521916a7df9c07556910102ad7bebbd216b.svg) ![CBRE](/assets/logos/cbre-f38211cf61a47f45d021ab25957f592fb2043bcff716539e3f2f54fd7fde91be.png) ![Ripe](/assets/logos/ripe-9fec989e25c3a18f2fec0357610bc743f12bf0e96cfa4824f457c4aa2c95db60.svg)

The pieces
## One source, one destination.

  ![TripAdvisor](/assets/logos/tripadvisor_logo-03b5f1b91a52e4538675aa0620c1922385edb3227845ab430e50565f3cda5812.png) TripAdvisor

TripAdvisor pairs bubble ratings and review text with multi-provider nightly prices, so one source covers both reputation and rate comparison. On this page those reviews feed Google Sheets, one row per review.

  ![Google Sheets](/assets/logos/sheets_logo-c7c6275932e794009779d23c7065243b122919ef86e112d9365c57c97f83e64b.png) Google Sheets

Google Sheets is still the fastest way to get data in front of people who do not write code. One Apps Script function turns a sheet into a live feed your whole team can read, filter, and chart. Here it becomes the front end for live TripAdvisor reviews.

The call
## One endpoint returns TripAdvisor reviews.

The TripAdvisor Hotel Reviews endpoint returns clean JSON for one hotel. Send your key in the `X-API-Key` header. See the [endpoint docs](/docs/endpoints/tripadvisor/hotel-reviews) for every parameter.

[GET TripAdvisor Hotel Reviews /v1/tripadvisor/hotel/reviews/{location\_id} https://api.stayapi.com/v1/tripadvisor/hotel/reviews/305165](/docs/endpoints/tripadvisor/hotel-reviews)

Setup
## Wire Google Sheets to the endpoint.

1. 
01

Create a StayAPI account and copy your API key from the dashboard.

2. 
02

Open your sheet, then Extensions \> Apps Script.

3. 
03

Paste the fetch script below and set your API key.

4. 
04

Run it once to authorize, then add a time-driven trigger to refresh on a schedule.

Config
## Apps Script: fetch and write rows.

This uses the real endpoint URL with the example The Siam id. Swap in your hotel id and your API key.

refresh.gs

```
function refreshData() {
  var url = "https://api.stayapi.com/v1/tripadvisor/hotel/reviews/305165";
  var response = UrlFetchApp.fetch(url, {
    method: "get",
    headers: { "X-API-Key": "YOUR_API_KEY" },
    muteHttpExceptions: true
  });

  var body = JSON.parse(response.getContentText());
  var records = (body.data && body.data.reviews) || body.reviews || body.rooms || [];

  var sheet = SpreadsheetApp.getActiveSheet();
  sheet.clear();
  sheet.appendRow(["retrieved_at", "id", "rating", "title", "text"]);

  var now = new Date();
  records.forEach(function (r) {
    sheet.appendRow([now, r.id, r.rating, r.title, r.text]);
  });
}
```

[Grab your API key](/users/sign_up)

50 free requests on signup, no card.

Field mapping
## Response fields to columns.

Each field from the TripAdvisor Hotel Reviews response, and a suggested column name.

Response fieldColumn

idid

ratingrating

titletitle

texttext

published\_datepublished\_date

total\_counttotal\_count

review\_countreview\_count

location\_idlocation\_id

Result
## What it looks like in Google Sheets.

The fields from the mapping above land as columns: id, rating, title, text. Refreshed on the schedule you set.

### The columns you get

Every row is one hotel record from the TripAdvisor Hotel Reviews response. These fields become columns:

- id
- rating
- title
- text
- published\_date
- total\_count

![Google Sheets showing TripAdvisor reviews](/assets/pseo/screenshots/tripadvisor-reviews-to-google-sheets-942a7e2d7fc5a333beef090f2ebb7bde2953e5244b01b41610eaf7e4880fdcd3.webp)

Keep going
## More TripAdvisor pipelines.

Other destinations

[TripAdvisor reviews to Looker Studio](/integrations/tripadvisor-reviews-to-looker-studio)[TripAdvisor reviews to Power BI](/integrations/tripadvisor-reviews-to-power-bi)[TripAdvisor reviews to BigQuery](/integrations/tripadvisor-reviews-to-bigquery)

More TripAdvisor pipelines

[TripAdvisor rates to Google Sheets](/integrations/tripadvisor-rates-to-google-sheets)[TripAdvisor rates to Looker Studio](/integrations/tripadvisor-rates-to-looker-studio)[TripAdvisor rates to Power BI](/integrations/tripadvisor-rates-to-power-bi)[TripAdvisor rates to BigQuery](/integrations/tripadvisor-rates-to-bigquery)

Build with the API

[TripAdvisor Hotel Reviews endpoint docs](/docs/endpoints/tripadvisor/hotel-reviews)[The full TripAdvisor API](/apis/tripadvisor)

## Get your key.

Sign up, copy your key into the snippet above, and pull live TripAdvisor reviews into Google Sheets.

01 · the fast path

### Try it free

50 free requests on signup. Fastest way to see if the schema fits.

[Start free](/users/sign_up)
- Live data in about a minute
- No credit card required
- Same schema as paid

02 · talk to us

### Talk through your pipeline

15 minutes. Volume, endpoint mix, and where the data lands. Walk out with a quote.

[Book a call](/book-demo)
- Quote on the call, not after
- Engineering, not sales
- No deck, no slides
