![Trip.com](/assets/logos/trip_logo-60cce01cca0d3ec969b85cfdfd2df08f2250e3260cc55e431bdab29455a1411f.png) ![Power BI](/assets/logos/powerbi_logo-762c57d2760b0de7e8dbf563f77f7631d1605982024502b9a03c4ac5a4838c24.svg) 

# Get Trip.com reviews into Power BI.

One endpoint call, the Power BI 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.

  ![Trip.com](/assets/logos/trip_logo-60cce01cca0d3ec969b85cfdfd2df08f2250e3260cc55e431bdab29455a1411f.png) Trip.com

Trip.com reviews skew toward Chinese and APAC travelers, a segment most Western OTAs underrepresent. Below, that review stream lands in Power BI row by row.

  ![Power BI](/assets/logos/powerbi_logo-762c57d2760b0de7e8dbf563f77f7631d1605982024502b9a03c4ac5a4838c24.svg) Power BI

Power BI talks to REST APIs natively through Power Query. No connector to install: the Web source plus one request header gets the JSON in, and scheduled refresh keeps it current. In this guide it reads Trip.com reviews straight from the StayAPI endpoint.

The call
## One endpoint returns Trip.com reviews.

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

[GET Trip.com Hotel Reviews /v1/tripcom/hotel/reviews/{hotel\_id} https://api.stayapi.com/v1/tripcom/hotel/reviews/702258](/docs/endpoints/tripcom/hotel-reviews)

Setup
## Wire Power BI to the endpoint.

1. 
01

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

2. 
02

In Power BI Desktop, choose Get Data \> Web \> Advanced.

3. 
03

Enter the endpoint URL and add an x-api-key request header.

4. 
04

Expand the JSON in Power Query, load it, and set a scheduled refresh in the service.

Config
## Power Query: one M expression.

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

query.m

```
let
  Source = Json.Document(
    Web.Contents(
      "https://api.stayapi.com/v1/tripcom/hotel/reviews/702258",
      [Headers = [ #"x-api-key" = "YOUR_API_KEY"] ]
    )
  ),
  Records = Source[data][reviews],
  Table = Table.FromList(Records, Splitter.SplitByNothing()),
  Expanded = Table.ExpandRecordColumn(
    Table, "Column1", { "id", "rating", "title", "text" }
  )
in
  Expanded
```

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

50 free requests on signup, no card.

Field mapping
## Response fields to columns.

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

Response fieldColumn

hotel\_idhotel\_id

total\_reviewstotal\_reviews

idid

ratingrating

titletitle

texttext

datedate

stay\_datestay\_date

reviewer\_namereviewer\_name

room\_typeroom\_type

travel\_typetravel\_type

Result
## What it looks like in Power BI.

The fields from the mapping above land as columns: hotel\_id, total\_reviews, id, rating. Refreshed on the schedule you set.

### The columns you get

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

- hotel\_id
- total\_reviews
- id
- rating
- title
- text

![Power BI showing Trip.com reviews](/assets/pseo/screenshots/trip-com-reviews-to-power-bi-aa04164db1ab5a5a4b0d27fe813e0ad9f085084ae4864f4f5fa6f5a1c4752bc8.webp)

Keep going
## More Trip.com pipelines.

Other destinations

[Trip.com reviews to Google Sheets](/integrations/trip-com-reviews-to-google-sheets)[Trip.com reviews to Looker Studio](/integrations/trip-com-reviews-to-looker-studio)[Trip.com reviews to BigQuery](/integrations/trip-com-reviews-to-bigquery)

Build with the API

[Trip.com Hotel Reviews endpoint docs](/docs/endpoints/tripcom/hotel-reviews)[The full Trip.com API](/apis/tripcom)

## Get your key.

Sign up, copy your key into the snippet above, and pull live Trip.com reviews into Power BI.

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
