# Tripadvisor Restaurant Scraper (Listing)

Extract restaurant listing data from Tripadvisor, including restaurant name, rating, ranking, and other key details.

- Template page: [https://www.octoparse.com/template/tripadvisor-restaurant-scraper-listing](https://www.octoparse.com/template/tripadvisor-restaurant-scraper-listing)
- Categories: Travel
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from listing pages.

## Output

The current workflow extracts 11 fields, including `Titre`, `Image`, `Note`, `Nombre_avis`, `Type`, `Niveau`, `Etat`, `Menu`, `Avis1`, `Avis2`, `URL_Detail`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Restaurant Listing URLs and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Restaurant Listing URLs

Optional. Restaurant Listing URLs Constraints: minItems=1; maxItems=1000; items.minLength=1; items.maxLength=10000.

## How to Use

# Tripadvisor Restaurant Scraper (Listing) — Usage Guide

## Purpose
This template collects restaurant listing data from [Tripadvisor](https://www.tripadvisor.com/), including restaurant name, rating, ranking, and related listing fields.

## Pricing
This template currently has no per-line charge. Octoparse plan or resource limits may still apply.

## Input
- **Restaurant Listing URLs** (optional): Enter one or more values, one per line.

## Output
Returns structured rows containing `Titre`, `Image`, `Note`, `Nombre_avis`, `Type`, `Niveau`, `Etat`, `Menu`, `Avis1`, `Avis2`, and `URL_Detail`.

`Avis1`, `Avis2`, and `URL_Detail` can be empty when the source record does not provide them.

## How to Use
1. Open the template and select **Try it** or **Start**.
2. Complete the input fields listed above.
3. Run the task locally with the Octoparse desktop app.
4. Review the output rows and export or process the structured data.

## Limitations
- Runs locally, so keep your computer and Octoparse open while the task is running.
- Collects listing/search-result fields only. Use a detail-page template when deeper record data is required.
- Scheduling and API access may require a paid Octoparse plan.

## Export and Reuse
- Export rows to CSV, Excel, JSON, databases, or cloud storage.
- Send data to reporting or AI workflows through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).
- Schedule recurring local runs and export collected data from Octoparse.

## Tips
- Start with one or a few inputs and review the returned rows before scaling.
- Use the most specific valid Restaurant Listing URLs to reduce unrelated or duplicate records.
- Use a stable URL or identifier from the returned fields as the deduplication key when available.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Tripadvisor Restaurant Scraper (Detail)](https://www.octoparse.com/template/tripadvisor-restaurant-scraper-detail)
- [Uber Eats Restaurant Listing Scraper](https://www.octoparse.com/template/uber-eats-restaurant-listing-scraper)
- [Hot Pepper Restaurant Listing Scraper](https://www.octoparse.com/template/hot-pepper-restaurant-listing-scraper)
- [Just Eat Restaurant Listing Scraper](https://www.octoparse.com/template/just-eat-restaurant-listing-scraper)
- [Tripadvisor Hotel Listing Scraper（for Spain）](https://www.octoparse.com/template/tripadvisor-hotel-listados-scraper)

## Input Schema

```json
{
  "title": "Tripadvisor Restaurant Scraper (Listing) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "restaurant_Listing_URLs": {
      "title": "Restaurant Listing URLs",
      "description": "Restaurant Listing URLs",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": []
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Titre": {
      "type": "string",
      "description": ""
    },
    "Image": {
      "type": "string",
      "description": ""
    },
    "Note": {
      "type": "string",
      "description": ""
    },
    "Nombre_avis": {
      "type": "string",
      "description": ""
    },
    "Type": {
      "type": "string",
      "description": ""
    },
    "Niveau": {
      "type": "string",
      "description": ""
    },
    "Etat": {
      "type": "string",
      "description": ""
    },
    "Menu": {
      "type": "string",
      "description": ""
    },
    "Avis1": {
      "type": "string",
      "description": ""
    },
    "Avis2": {
      "type": "string",
      "description": ""
    },
    "URL_Detail": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Tripadvisor Restaurant Scraper (Listing) output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

No verified real input/output examples are currently available.

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

No verified real input/output examples are currently available.

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `tripadvisor-restaurant-scraper-listing`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/tripadvisor-restaurant-scraper-listing.json)
- [Manifest](https://www.octoparse.com/templates/tripadvisor-restaurant-scraper-listing-manifest.json)
