TripAdvisor Google Sheets

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.

50 free requests on signup No credit card

Trusted by hospitality teams at

The pieces

One source, one destination.

TripAdvisor 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 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 for every parameter.

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]);
  });
}

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 field Column
id id
rating rating
title title
text text
published_date published_date
total_count total_count
review_count review_count
location_id location_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

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
  • Live API key in 30 seconds
  • 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 demo
  • Quote on the call, not after
  • Engineering, not sales
  • No deck, no slides