# Tripadvisor Hotel Scraper (for germany)

Scrape hotel name, price, rating, URL, etc. from TripAdvisor by Listing page URLs.

- Template page: [https://www.octoparse.com/template/tripadvisor-hotel-scraper-for-germany](https://www.octoparse.com/template/tripadvisor-hotel-scraper-for-germany)
- Categories: Travel
- Status: `PUBLISHED`
- Run mode: `LOCAL`

## 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 9 fields, including `Keyword`, `Seite`, `Anzahl_der_Möglichkeiten`, `Image_url`, `Name_des_Hotels`, `Preis`, `Quelle`, `Kundenbewertung`, `Anzahl_der_Bewertungen`.

## 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 Number of Pages (up to 1,000), Listing URLs (up to 100) and start the template in local mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Number of Pages (up to 1,000)

Optional. Geben Sie die Anzahl der Seite ein. Constraints: minimum=1, maximum=1000.

### Listing URLs (up to 100)

Required. Input URL(s) of listing page Constraints: minItems=1; maxItems=100; items.minLength=1; items.maxLength=5000.

## How to Use

# Tripadvisor Hotel Scraper (for germany)

Collects hotel name, price, rating, URL, and related fields from TripAdvisor via Listing page URLs. Data source: [Tripadvisor](https://www.tripadvisor.de/). The template currently has no per-line charge.

## Input

- **Number of Pages (up to 1,000)** (optional): enter an integer from 1 to 1000.
- **Listing URLs (up to 100)** (required): enter one value per line.

## Output

Each returned row contains these exact field names: `Keyword`, `Seite`, `Anzahl_der_Möglichkeiten`, `Image_url`, `Name_des_Hotels`, `Preis`, `Quelle`, `Kundenbewertung`, `Anzahl_der_Bewertungen`.

## How to use

1. Open the template and select **Try it** or **Start**.
2. Fill in the input fields above.
3. Run the task locally using the Octoparse desktop app.
4. Review the output rows and export or process the structured data.

## Limitations

- Runs locally: keep your computer and Octoparse open while the task is running.
- Some fields can be empty when the source record does not provide them: `Quelle`, `Kundenbewertung`, `Anzahl_der_Bewertungen`.

## Scheduling and export

- You can schedule recurring runs, export collected data to CSV, Excel, JSON, databases, or cloud storage, and reuse it through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).
- Scheduling and API access may require a paid Octoparse plan.

## Tips

- Start with one or a few inputs and review the returned rows before scaling.
- Use the most specific valid Number of Pages (up to 1,000) to reduce unrelated or duplicate records.
- Use a stable identifier from the returned fields when available (for example, `Keyword`, `Seite`, or `Name_des_Hotels`) as a deduplication key.

## 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 Review Scraper (for Germany)](https://www.octoparse.com/template/tripadvisor-review-scraper-for-germany)
- [Tripadvisor Hotel Listing Scraper（for Spain）](https://www.octoparse.com/template/tripadvisor-hotel-listados-scraper)
- [Tripadvisor Hotel List Scraper (for Italy)](https://www.octoparse.com/template/crawler-lista-hotel-tripsdvisor)
- [Booking Hotel Listing Scraper (for germany)](https://www.octoparse.com/template/booking-hotel-listing-scraper-for-germany)
- [Booking.com Hotel Details Scraper (for Germany)](https://www.octoparse.com/template/booking-hotel-details-scraper-for-germany)

## Input Schema

```json
{
  "title": "Tripadvisor Hotel Scraper (for germany) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "number_of_Pages": {
      "title": "Number of Pages (up to 1,000)",
      "description": "Geben Sie die Anzahl der Seite ein.",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000,
      "x-octoparse": {
        "apiEnabled": false
      }
    },
    "listing_URLs": {
      "title": "Listing URLs (up to 100)",
      "description": "Input URL(s) of listing page",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "maxItems": 100,
      "x-octoparse": {
        "apiEnabled": false
      }
    }
  },
  "required": [
    "listing_URLs"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Keyword": {
      "type": "string",
      "description": ""
    },
    "Seite": {
      "type": "string",
      "description": ""
    },
    "Anzahl_der_Möglichkeiten": {
      "type": "string",
      "description": ""
    },
    "Image_url": {
      "type": "string",
      "description": ""
    },
    "Name_des_Hotels": {
      "type": "string",
      "description": ""
    },
    "Preis": {
      "type": "string",
      "description": ""
    },
    "Quelle": {
      "type": "string",
      "description": ""
    },
    "Kundenbewertung": {
      "type": "string",
      "description": ""
    },
    "Anzahl_der_Bewertungen": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Tripadvisor Hotel Scraper (for germany) 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-hotel-scraper-for-germany`, 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-hotel-scraper-for-germany.json)
- [Manifest](https://www.octoparse.com/templates/tripadvisor-hotel-scraper-for-germany-manifest.json)
