# TripAdvisor Business Leads Scraper

**Use case:** 

Turn TripAdvisor into a lead source. Enter a city name and pull the phone number, website and full address of every restaurant (or hotel) in that city, with ratings and review counts so you can prioritize. Filter down to the segment you want by price level, star class or rating. No code, no URL hunting — export a ready-to-use CSV or Excel leads list.

## Input

```json
{
  "hotelsQueries": [
    "Tokyo"
  ],
  "hotelSort": "Best Value",
  "hotelRooms": 1,
  "hotelAdults": 2,
  "restaurantsQueries": [
    "Tokyo"
  ],
  "country": "United States",
  "maxItemsPerList": 25,
  "scrapeDetailPages": true
}
```

## Output

```json
{
  "category": {
    "label": "Category",
    "format": "text"
  },
  "pageKind": {
    "label": "Page Kind",
    "format": "text"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "locationId": {
    "label": "Location ID",
    "format": "text"
  },
  "averageRating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "number"
  },
  "ranking": {
    "label": "Ranking",
    "format": "text"
  },
  "starRating": {
    "label": "Star Rating",
    "format": "text"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "contactPhone": {
    "label": "Phone",
    "format": "text"
  },
  "contactEmail": {
    "label": "Email",
    "format": "text"
  },
  "coordinates": {
    "label": "Coordinates",
    "format": "object"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "reviewSubratings": {
    "label": "Subratings (Hotels)",
    "format": "object"
  },
  "subRatings": {
    "label": "Subratings (Restaurants)",
    "format": "object"
  },
  "ratingHistogram": {
    "label": "Rating Histogram",
    "format": "object"
  },
  "amenities": {
    "label": "Amenities",
    "format": "array"
  },
  "roomFeatures": {
    "label": "Room Features",
    "format": "array"
  },
  "roomTypes": {
    "label": "Room Types",
    "format": "array"
  },
  "languagesSpoken": {
    "label": "Languages Spoken",
    "format": "array"
  },
  "cuisines": {
    "label": "Cuisines",
    "format": "array"
  },
  "mealsServed": {
    "label": "Meals Served",
    "format": "array"
  },
  "dietaryRestrictions": {
    "label": "Dietary Restrictions",
    "format": "array"
  },
  "features": {
    "label": "Features",
    "format": "array"
  },
  "priceLevel": {
    "label": "Price Level",
    "format": "text"
  },
  "priceRange": {
    "label": "Price Range",
    "format": "object"
  },
  "priceFrom": {
    "label": "Price From",
    "format": "text"
  },
  "prices": {
    "label": "Booking Prices",
    "format": "array"
  },
  "openStatus": {
    "label": "Open Status",
    "format": "object"
  },
  "openHours": {
    "label": "Opening Hours",
    "format": "object"
  },
  "suggestedDuration": {
    "label": "Duration",
    "format": "text"
  },
  "walkScore": {
    "label": "Walk Score",
    "format": "number"
  },
  "travelersChoiceAward": {
    "label": "Travelers' Choice",
    "format": "object"
  },
  "nearbyAttractionsCount": {
    "label": "Nearby Attractions Count",
    "format": "number"
  },
  "nearbyRestaurantsCount": {
    "label": "Nearby Restaurants Count",
    "format": "number"
  },
  "nearbyAttractions": {
    "label": "Nearby Attractions",
    "format": "array"
  },
  "nearbyRestaurants": {
    "label": "Nearby Restaurants",
    "format": "array"
  },
  "gettingThere": {
    "label": "Getting There",
    "format": "object"
  },
  "photoCount": {
    "label": "Photo Count",
    "format": "number"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "images": {
    "label": "Images",
    "format": "array"
  },
  "aiReviewSummary": {
    "label": "AI Review Summary",
    "format": "object"
  },
  "qAndA": {
    "label": "Q&A",
    "format": "array"
  },
  "reviews": {
    "label": "Reviews",
    "format": "array"
  },
  "reviewCountByLanguage": {
    "label": "Reviews by Language",
    "format": "array"
  },
  "parentLocation": {
    "label": "Parent Location",
    "format": "text"
  },
  "detailUrl": {
    "label": "Detail URL",
    "format": "link"
  },
  "listUrl": {
    "label": "List URL",
    "format": "link"
  },
  "inputUrl": {
    "label": "Input URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [TripAdvisor Scraper — Hotels, Restaurants & Attractions](https://apify.com/delicious_zebu/tripadvisor-hotel-details-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/delicious_zebu/tripadvisor-hotel-details-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/delicious_zebu/tripadvisor-hotel-details-scraper.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
