Skip to the content

Scraper API

Tripadvisor

tripadvisor.searchAvailable

Tripadvisor search

One page of Tripadvisor's list for it, 30 places in Tripadvisor's own order: name, address, coordinates, phone, rating, number of reviews, price level and a photo.

Give it a city, town or region by name, and whether to list its hotels or its restaurants.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
3, 1 required
Record
20 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/tripadvisor.search/runs

{
"input": {
"location": "Lisbon, Portugal"
}
}

sent, and answered

a record of the run20 fields

{
position: 1
page: 1
location: "Lisbon, Portugal, Europe"
place_id: 13402042
geo_id: 189158
kind: "hotel"
name: "Hotel Da Baixa"
url: "https://www.tripadvisor.com/Hotel_Review-g189158-d13402042"
street_address: "Rua da Prata 231"
… 11 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 20 fields are set down here; the whole record is below.

tripadvisor.com
The page Tripadvisor search reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Survey a city's market
Read a city's hotels or restaurants in Tripadvisor's order and compare their rating, number of reviews and price_range.
Build a list of local businesses
Collect the restaurants of a town with their street address, postal code and telephone, for a sales list or a delivery service.
Map the competition
Plot a city's hotels by latitude and longitude and see where they cluster, with the rating and price level of each.

What you send

A city, town or region by name, and whether to list its hotels or its restaurants. These are its 3 inputs, as its schema has them.

locationstring Required
The city, town or region, by name, e.g. Lisbon, Portugal. Add the country when the name is shared: Tripadvisor takes the first place it lists under the words.
kindstring Optional
What to list: hotels or restaurants.Default hotels
pageinteger Optional
The page of the list, from 1; 30 places a page.Default 1

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/tripadvisor.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"location":"Lisbon, Portugal"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("tripadvisor.search", {"location": "Lisbon, Portugal"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("tripadvisor.search", { location: "Lisbon, Portugal" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "tripadvisor.search", map[string]any{"location": "Lisbon, Portugal"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("tripadvisor.search", Map.of("location", "Lisbon, Portugal"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run tripadvisor.search --input-json '{"location":"Lisbon, Portugal"}'

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

One page of Tripadvisor's list for it, 30 places in Tripadvisor's own order: name, address, coordinates, phone, rating, number of reviews, price level and a photo. A record has 20 fields. One we could not read is null, never an empty string or a zero.

A record tripadvisor.search returned
{
  "position": 1,
  "page": 1,
  "location": "Lisbon, Portugal, Europe",
  "place_id": 13402042,
  "geo_id": 189158,
  "kind": "hotel",
  "name": "Hotel Da Baixa",
  "url": "https://www.tripadvisor.com/Hotel_Review-g189158-d13402042",
  "street_address": "Rua da Prata 231",
  "city": "Lisbon",
  "postal_code": "1100-417",
  "country": "Portugal",
  "latitude": 38.712166,
  "longitude": -9.137548,
  "phone": null,
  "rating": 4.9,
  "review_count": 3524,
  "price_range": "€€",
  "image": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1c/fc/df/29/hotel-da-baixa.jpg?w=1200&h=-1&s=1",
  "fetched_at": "2026-11-19T18:07:41.558366Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values withheld: phone: the example keeps no contact details.

The fields of a record

positioninteger
The place's rank in the list, from 1, counted across pages.
pageinteger
The page of the list the place was on.
locationstring or null
The place Tripadvisor searched, as it names it, e.g. Lisbon, Portugal, Europe.
place_idinteger
Tripadvisor's id of the hotel or restaurant.
geo_idinteger
Tripadvisor's id of the city or area it is listed in.
kindstring
What it is listed as.
namestring
Its name.
urlstring
Its page on Tripadvisor. tripadvisor.place and tripadvisor.reviews take it.
street_addressstring or null
The street address, as the list gives it.
citystring or null
The city or town, when the list gives it apart from the street.
postal_codestring or null
The postal code.
countrystring or null
The country, by name.
latitudenumber or null
The latitude, in decimal degrees.
longitudenumber or null
The longitude, in decimal degrees.
phonestring or null
The telephone number, as written.
ratingnumber or null
The average traveller rating, 1 to 5. Null without reviews.
review_countinteger or null
The number of reviews.
price_rangestring or null
The price level as the list gives it, e.g. $$ - $$$.
imagestring or null
The place's main photo.
fetched_atdatetime
When the list was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one page of a list, 30 pages at most. Hotels and restaurants are listed; attractions are not.
  • A name shared by several places goes to the first Tripadvisor lists under it: add the country to say which. Every record names the place searched.
  • There are no filters, dates or prices of a stay: the list is Tripadvisor's own, in its order.

The bounds its schema sets

kind
hotels, restaurants; hotels unless you say otherwise
page
1 to 30; 1 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Tripadvisor search return?

One page of Tripadvisor's list for it, 30 places in Tripadvisor's own order: name, address, coordinates, phone, rating, number of reviews, price level and a photo. A record has 20 fields, among them position, page, location, place_id, geo_id and kind. A value that could not be read is null, never an empty string or a zero.

What do I send?

A city, town or region by name, and whether to list its hotels or its restaurants. The input location is required. Optional: kind and page.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: kind hotels, restaurants (hotels unless you say otherwise); page 1 to 30 (1 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

One run reads one page of a list, 30 pages at most. Hotels and restaurants are listed; attractions are not. A name shared by several places goes to the first Tripadvisor lists under it: add the country to say which. Every record names the place searched. There are no filters, dates or prices of a stay: the list is Tripadvisor's own, in its order.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id tripadvisor.search and the same input. It costs what the same API call costs.

Tripadvisor

Tripadvisor's public lists of a place's hotels and restaurants, a place's page and its reviews, as a visitor who is not signed in sees them.

  • Tripadvisor reviews

    tripadvisor.reviews

    The address of a hotel, a restaurant or an attraction on Tripadvisor, and a page. One page of its reviews, newest first: rating, title, text, when it was written, the month and kind of the visit, the place's answer, and the reviewer's display name.

  • Tripadvisor place

    tripadvisor.place

    The address of a hotel, a restaurant or an attraction on Tripadvisor. What its page states: name, address, coordinates, phone, website, rating and number of reviews, and by kind of place the price level, cuisines, amenities and opening hours.

Tripadvisor on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.