# Tripadvisor Hotel Details Scraper

Scrape detailed information (Hotel Name, Image URLs, Price, Phone Number, Hotel Website, Services, etc.) from Tripadvisor con URL.

- Template page: [https://www.octoparse.com/template/tripadvisor-hotel-detalles-scraper](https://www.octoparse.com/template/tripadvisor-hotel-detalles-scraper)
- 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 detail pages.

## Output

The current workflow extracts 25 fields, including `Título`, `Clasificación`, `Dirección`, `Teléfono`, `URL_del_hotel`, `Rating`, `Opiniones`, `Rating_ubicación`, `Rating_Limpieza`, `Rating_Servicio`, `Rating_Relación_calidad_y_precio`, `Servicios_de_la_propiedad`, `Servicios_de_habitación`, `Tipos_de_habitación`, `Estilo_del_hotel_1`, `Estilo_del_hotel_2`, `Idiomas`, `Clasificación_de_ubicación`, `Restaurantes_en_un_radio_de_1_km`, `Atracciones_en_un_radio_de_1_km`, `Imagen_URL1`, `Imagen_URL2`, `Imagen_URL3`, `Página_URL`, `Hora_actual`.

## 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 Details page URLs (up to 10,000) and start the template in local mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Details page URLs (up to 10,000)

Required. URL(s) of the hotel details page Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=10000.

## How to Use

# Tripadvisor Hotel Details Scraper

## What it collects

Collects detailed hotel information from Tripadvisor hotel detail-page URLs. Data source: [Tripadvisor](https://www.tripadvisor.es/).

## Pricing

This template currently has no per-line charge.

## Input

- **Details page URLs (up to 10,000)** (required): enter one or more values, one per line.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input field above.
3. Run the task locally.
4. Review the output rows and export or process the structured data.

## Output

Returns structured rows with hotel detail fields, including title, classification, address, phone, hotel URL, ratings, reviews, property and room services, room types, hotel style, languages, location ranking, nearby restaurants and attractions, image URLs, page URL, and current time. Some fields may be empty when the source record does not provide them.

## Limitations

- Runs locally, so keep your computer and Octoparse open while the task is running.
- Fields such as `Imagen URL3`, `Página URL`, and `Hora actual` can be empty when the source record does not provide them.

## Tips

- Start with one or a few inputs and review the returned rows before scaling the task.
- Use the most specific valid Details page URLs (up to 10,000) to reduce unrelated or duplicate records.
- Use a stable URL or identifier from the returned fields as the deduplication key when available.

## Scheduling and Export

You can schedule recurring local runs and export collected data to CSV, Excel, JSON, databases, or cloud storage, or send it to reporting and AI workflows through Octoparse APIs. Scheduling and API access may require a paid Octoparse plan. Keep your computer and Octoparse open during scheduled local runs.

## 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 Hotel Details Scraper（for Japan）](https://www.octoparse.com/template/tripadvisor-jp-hotel-details-scraper)
- [TripAdvisor Scraper (Hotel Details)](https://www.octoparse.com/template/tripadvisor-scraper-hotel-details)
- [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)
- [Tripadvisor Hotel Scraper (for germany)](https://www.octoparse.com/template/tripadvisor-hotel-scraper-for-germany)

## Input Schema

```json
{
  "title": "Tripadvisor Hotel Details Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "details_page_URLs": {
      "title": "Details page URLs (up to 10,000)",
      "description": "URL(s) of the hotel details page",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": false
      }
    }
  },
  "required": [
    "details_page_URLs"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Título": {
      "type": "string",
      "description": ""
    },
    "Clasificación": {
      "type": "string",
      "description": ""
    },
    "Dirección": {
      "type": "string",
      "description": ""
    },
    "Teléfono": {
      "type": "string",
      "description": ""
    },
    "URL_del_hotel": {
      "type": "string",
      "description": ""
    },
    "Rating": {
      "type": "string",
      "description": ""
    },
    "Opiniones": {
      "type": "string",
      "description": ""
    },
    "Rating_ubicación": {
      "type": "string",
      "description": ""
    },
    "Rating_Limpieza": {
      "type": "string",
      "description": ""
    },
    "Rating_Servicio": {
      "type": "string",
      "description": ""
    },
    "Rating_Relación_calidad_y_precio": {
      "type": "string",
      "description": ""
    },
    "Servicios_de_la_propiedad": {
      "type": "string",
      "description": ""
    },
    "Servicios_de_habitación": {
      "type": "string",
      "description": ""
    },
    "Tipos_de_habitación": {
      "type": "string",
      "description": ""
    },
    "Estilo_del_hotel_1": {
      "type": "string",
      "description": ""
    },
    "Estilo_del_hotel_2": {
      "type": "string",
      "description": ""
    },
    "Idiomas": {
      "type": "string",
      "description": ""
    },
    "Clasificación_de_ubicación": {
      "type": "string",
      "description": ""
    },
    "Restaurantes_en_un_radio_de_1_km": {
      "type": "string",
      "description": ""
    },
    "Atracciones_en_un_radio_de_1_km": {
      "type": "string",
      "description": ""
    },
    "Imagen_URL1": {
      "type": "string",
      "description": ""
    },
    "Imagen_URL2": {
      "type": "string",
      "description": ""
    },
    "Imagen_URL3": {
      "type": "string",
      "description": ""
    },
    "Página_URL": {
      "type": "string",
      "description": ""
    },
    "Hora_actual": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Tripadvisor Hotel Details Scraper 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-detalles-scraper`, 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-detalles-scraper.json)
- [Manifest](https://www.octoparse.com/templates/tripadvisor-hotel-detalles-scraper-manifest.json)
