# Tripadvisor Hotel Details Scraper（for Japan）

Template to obtain hotel details (e.g. hotel, ranking and location) from Tripadvisor via URLs.

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

## Pricing

Current price: **$0.8/1,000 lines**. Billing is based on output rows; an Octoparse subscription may be required.

## 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 19 fields, including `WebページURL`, `サービス`, `ホテル名`, `ランキング`, `レストランの軒数`, `価格`, `取得日時`, `徒歩での移動に最適`, `所在地`, `料金`, `施設情報`, `星評価`, `清潔感`, `画像_1`, `立地`, `観光スポットの件数`, `評価数`, `部屋の特徴`, `電話番号`.

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

## Input

### Hotel URLs (Up to 10,000)

Required. Hotel URLs (Up to 10,000) Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=1000000.

## How to Use

# Tripadvisor Hotel Details Scraper（for Japan）

Collects hotel details (hotel, ranking, location) from Tripadvisor via hotel detail page URLs.

Data source: [Tripadvisor](https://www.tripadvisor.jp/)

## Pricing

- **$0.8/1,000 lines**
- Billing is based on the number of output lines produced by the task.

## Input

- **Hotel 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 `Hotel URLs (Up to 10,000)` input.
3. Run the task in the cloud.
4. Review the output rows and export or process the structured data.

## Output

Each row corresponds to a source hotel detail page and includes the detail-page fields returned by the template, such as hotel name, review count, ranking, address, phone number, facility info, room features, star rating, location/cleanliness/service/price scores, walkability, restaurant/attraction counts, retrieval timestamp, and first image URL.

## Cloud Runs, Export, and Automation

- Run in the cloud without keeping a local computer online.
- Export rows to CSV, Excel, JSON, databases, or cloud storage, or send them to reporting/AI workflows through Octoparse APIs.
- Schedule recurring runs and reuse data 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.

## Limitations

- Collects only the detail-page fields shown in Output; it does not collect a complete review/comment history or add data that Tripadvisor does not display.
- Fields such as `観光スポットの件数`, `取得日時`, and `画像_1` 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.
- Use the most specific valid hotel detail URLs to reduce unrelated or duplicate records.
- Use a stable URL or identifier from `WebページURL`, `ホテル名`, `評価数`, `ランキング`, `所在地`, `電話番号`, `施設情報`, `部屋の特徴`, `星評価`, and `立地` as a 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 Hotel Listings Scraper（for Japan）](https://www.octoparse.com/template/tripadvisor-jp-hotel-listings-scraper)
- [Tripadvisor Hotel Listing Scraper（for Spain）](https://www.octoparse.com/template/tripadvisor-hotel-listados-scraper)
- [Tripadvisor Hotel Details Scraper](https://www.octoparse.com/template/tripadvisor-hotel-detalles-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（for Japan） input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "hotel_URLs": {
      "title": "Hotel URLs (Up to 10,000)",
      "description": "Hotel URLs (Up to 10,000)",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "hotel_URLs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "hotel_URLs": [
    "https://www.tripadvisor.jp//Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g14129573-d1082914-Reviews-Mitsui_Garden_Hotel_Ginza_Premier-Ginza_Chuo_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066460-d304546-Reviews-Hotel_Metropolitan_Tokyo_Ikebukuro-Toshima_Tokyo_Tokyo_Prefecture_Kanto.html"
  ]
}
```

Example 2

```json
{
  "hotel_URLs": [
    "https://www.tripadvisor.jp//Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g14129573-d1082914-Reviews-Mitsui_Garden_Hotel_Ginza_Premier-Ginza_Chuo_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066460-d304546-Reviews-Hotel_Metropolitan_Tokyo_Ikebukuro-Toshima_Tokyo_Tokyo_Prefecture_Kanto.html"
  ]
}
```

Example 3

```json
{
  "hotel_URLs": [
    "https://www.tripadvisor.jp//Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g14129573-d1082914-Reviews-Mitsui_Garden_Hotel_Ginza_Premier-Ginza_Chuo_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066460-d304546-Reviews-Hotel_Metropolitan_Tokyo_Ikebukuro-Toshima_Tokyo_Tokyo_Prefecture_Kanto.html"
  ]
}
```

Example 4

```json
{
  "hotel_URLs": [
    "https://www.tripadvisor.jp//Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g14129573-d1082914-Reviews-Mitsui_Garden_Hotel_Ginza_Premier-Ginza_Chuo_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066460-d304546-Reviews-Hotel_Metropolitan_Tokyo_Ikebukuro-Toshima_Tokyo_Tokyo_Prefecture_Kanto.html"
  ]
}
```

Example 5

```json
{
  "hotel_URLs": [
    "https://www.tripadvisor.jp//Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g14129573-d1082914-Reviews-Mitsui_Garden_Hotel_Ginza_Premier-Ginza_Chuo_Tokyo_Tokyo_Prefecture_Kanto.html",
    "https://www.tripadvisor.jp//Hotel_Review-g1066460-d304546-Reviews-Hotel_Metropolitan_Tokyo_Ikebukuro-Toshima_Tokyo_Tokyo_Prefecture_Kanto.html"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "WebページURL": {
      "type": "string",
      "description": ""
    },
    "サービス": {
      "type": "string",
      "description": ""
    },
    "ホテル名": {
      "type": "string",
      "description": ""
    },
    "ランキング": {
      "type": "string",
      "description": ""
    },
    "レストランの軒数": {
      "type": "string",
      "description": ""
    },
    "価格": {
      "type": "string",
      "description": ""
    },
    "取得日時": {
      "type": "string",
      "description": ""
    },
    "徒歩での移動に最適": {
      "type": "string",
      "description": ""
    },
    "所在地": {
      "type": "string",
      "description": ""
    },
    "料金": {
      "type": "string",
      "description": ""
    },
    "施設情報": {
      "type": "string",
      "description": ""
    },
    "星評価": {
      "type": "string",
      "description": ""
    },
    "清潔感": {
      "type": "string",
      "description": ""
    },
    "画像_1": {
      "type": "string",
      "description": ""
    },
    "立地": {
      "type": "string",
      "description": ""
    },
    "観光スポットの件数": {
      "type": "string",
      "description": ""
    },
    "評価数": {
      "type": "string",
      "description": ""
    },
    "部屋の特徴": {
      "type": "string",
      "description": ""
    },
    "電話番号": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Tripadvisor Hotel Details Scraper（for Japan） 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

Example 1

```json
{
  "WebページURL": "https://www.tripadvisor.jp/Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html",
  "サービス": "4.4",
  "ホテル名": "東京ベイ潮見プリンスホテル",
  "ランキング": "3位：江東区のホテル41軒中",
  "レストランの軒数": "292",
  "価格": "4.4",
  "取得日時": "2026-10-14T11:47:15.601094+00:00",
  "徒歩での移動に最適": "53",
  "所在地": "〒135-0052 東京都 江東区 潮見2-8-16",
  "料金": "￥38,161",
  "施設情報": "施設内の有料専用駐車場;無料のWi-Fi/インターネット接続;ジム/フィットネスセンター;朝食無料;屋内キッズプレイエリア;会議室;スパ;24時間対応セキュリティ;安全な駐車場;サウナ;バー/ラウンジ;レストラン;朝食あり;朝食のビュッフェ;ハッピーアワー;キッズメニュー;スナックバー;ワイン/シャンパン;自動販売機;スチームサウナ;荷物預かり;コンシェルジュ;コンビニエンスストア;外貨両替;新聞;全館禁煙;ショップ;傘;24時間チェックイン;24時間対応のフロントデスク;衣類乾燥機;ドライクリーニング;ランドリーサービス;コインランドリー",
  "星評価": "4.0",
  "清潔感": "4.8",
  "画像_1": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1c/06/dc/1a/caption.jpg?w=1200&h=800&s=1",
  "立地": "4.0",
  "観光スポットの件数": "25",
  "評価数": "143",
  "部屋の特徴": "遮光カーテン;空気清浄機;エアコン;ハウスキーピング;冷蔵庫;ケーブル/衛星テレビ;ソファベッド;ビデ;禁煙ルーム;スイート;ファミリールーム;セーフティボックス;電話機;ペットボトルの水;ハンガーラック;専用バスルーム;モーニングコール/目覚まし時計;電気ケトル;浴室/シャワー;無料のバスアメニティ;ヘアドライヤー",
  "電話番号": ""
}
```

Example 2

```json
{
  "WebページURL": "https://www.tripadvisor.jp/Hotel_Review-g14129573-d1082914-Reviews-Mitsui_Garden_Hotel_Ginza_Premier-Ginza_Chuo_Tokyo_Tokyo_Prefecture_Kanto.html",
  "サービス": "4.4",
  "ホテル名": "三井ガーデンホテル銀座プレミア",
  "ランキング": "5位：銀座のホテル40軒中",
  "レストランの軒数": "1000",
  "価格": "4.0",
  "取得日時": "2026-10-09T04:05:35.254469+00:00",
  "徒歩での移動に最適": "100",
  "所在地": "〒104-0061 東京都 中央区銀座 8-13-1",
  "料金": "￥47,520",
  "施設情報": "施設内の有料公共駐車場;無料のWi-Fi/インターネット接続;朝食無料;タクシーサービス;全身マッサージ;24時間対応セキュリティ;荷物預かり;24時間チェックイン;駐車場;Wi-Fi;バー/ラウンジ;コーヒーショップ;レストラン;朝食あり;朝食のビュッフェ;無料のインスタントコーヒー;無料のお茶;自動販売機;マッサージ;コンシェルジュ;外貨両替;救急セット;傘;24時間対応のフロントデスク;ドライクリーニング;ランドリーサービス;アイロンサービス",
  "星評価": "5.0",
  "清潔感": "4.7",
  "画像_1": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/31/99/f9/f9/caption.jpg?w=1200&h=800&s=1",
  "立地": "4.5",
  "観光スポットの件数": "1000",
  "評価数": "1763",
  "部屋の特徴": "遮光カーテン;デスク;ハウスキーピング;セーフティボックス;電話機;液晶テレビ;ビデ;浴室/シャワー;禁煙ルーム;喫煙ルームあり;アイロン;モーニングコール/目覚まし時計;無料のバスアメニティ;ヘアドライヤー",
  "電話番号": ""
}
```

Example 3

```json
{
  "WebページURL": "https://www.tripadvisor.jp/Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html",
  "サービス": "4.4",
  "ホテル名": "東京ベイ潮見プリンスホテル",
  "ランキング": "4位：江東区のホテル41軒中",
  "レストランの軒数": "295",
  "価格": "4.4",
  "取得日時": "2026-09-22T03:19:26.330496+00:00",
  "徒歩での移動に最適": "53",
  "所在地": "〒135-0052 東京都 江東区 潮見2-8-16",
  "料金": "￥31,359",
  "施設情報": "施設内の有料専用駐車場;無料のWi-Fi/インターネット接続;ジム/フィットネスセンター;朝食無料;屋内キッズプレイエリア;会議室;スパ;24時間対応セキュリティ;安全な駐車場;サウナ;バー/ラウンジ;レストラン;朝食あり;朝食のビュッフェ;ハッピーアワー;キッズメニュー;スナックバー;ワイン/シャンパン;自動販売機;スチームサウナ;荷物預かり;コンビニエンスストア;外貨両替;新聞;全館禁煙;ショップ;傘;24時間チェックイン;24時間対応のフロントデスク;衣類乾燥機;ドライクリーニング;ランドリーサービス;コインランドリー",
  "星評価": "4.0",
  "清潔感": "4.8",
  "画像_1": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/34/1f/1d/fb/superior-twin-room.jpg?w=1200&h=800&s=1",
  "立地": "4.0",
  "観光スポットの件数": "25",
  "評価数": "142",
  "部屋の特徴": "遮光カーテン;空気清浄機;エアコン;ハウスキーピング;冷蔵庫;ケーブル/衛星テレビ;ソファベッド;ビデ;禁煙ルーム;スイート;ファミリールーム;セーフティボックス;電話機;ペットボトルの水;ハンガーラック;専用バスルーム;モーニングコール/目覚まし時計;電気ケトル;浴室/シャワー;無料のバスアメニティ;ヘアドライヤー",
  "電話番号": ""
}
```

Example 4

```json
{
  "WebページURL": "https://www.tripadvisor.jp/Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html",
  "サービス": "4.4",
  "ホテル名": "小田急ホテルセンチュリーサザンタワー",
  "ランキング": "1位：代々木のホテル3軒中",
  "レストランの軒数": "1000",
  "価格": "4.2",
  "取得日時": "2026-09-15T18:32:29.81774+00:00",
  "徒歩での移動に最適": "100",
  "所在地": "〒151-8583 東京都 渋谷区代々木 2-2-1",
  "料金": "",
  "施設情報": "施設内の有料専用駐車場;無料のWi-Fi/インターネット接続;バー/ラウンジ;タクシーサービス;宴会場;会議室;スパ;24時間対応セキュリティ;駐車場;Wi-Fi;コーヒーショップ;レストラン;朝食あり;無料のインスタントコーヒー;無料のお茶;自動販売機;荷物預かり;外貨両替;新聞;全館禁煙;敷地内のATM;24時間チェックイン;24時間対応のフロントデスク;ランドリーサービス;アイロンサービス",
  "星評価": "4.0",
  "清潔感": "4.7",
  "画像_1": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1b/22/a4/25/caption.jpg?w=1200&h=800&s=1",
  "立地": "4.8",
  "観光スポットの件数": "681",
  "評価数": "2587",
  "部屋の特徴": "遮光カーテン;防音ルーム;エアコン;デスク;ハウスキーピング;冷蔵庫;液晶テレビ;浴室/シャワー;シティビュー;禁煙ルーム;ルームサービス;セーフティボックス;シーティングスペース;電話機;VIPルーム;モーニングコール/目覚まし時計;電気ケトル;無料のバスアメニティ;ヘアドライヤー",
  "電話番号": ""
}
```

Example 5

```json
{
  "WebページURL": "https://www.tripadvisor.jp/Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html",
  "サービス": "4.4",
  "ホテル名": "小田急ホテルセンチュリーサザンタワー",
  "ランキング": "1位：代々木のホテル3軒中",
  "レストランの軒数": "1000",
  "価格": "4.2",
  "取得日時": "2026-09-08T10:26:58.684131+00:00",
  "徒歩での移動に最適": "100",
  "所在地": "〒151-8583 東京都 渋谷区代々木 2-2-1",
  "料金": "￥30,892",
  "施設情報": "施設内の有料専用駐車場;無料のWi-Fi/インターネット接続;バー/ラウンジ;タクシーサービス;宴会場;会議室;スパ;24時間対応セキュリティ;駐車場;Wi-Fi;コーヒーショップ;レストラン;朝食あり;無料のインスタントコーヒー;無料のお茶;自動販売機;荷物預かり;外貨両替;新聞;全館禁煙;敷地内のATM;24時間チェックイン;24時間対応のフロントデスク;ランドリーサービス;アイロンサービス",
  "星評価": "4.0",
  "清潔感": "4.7",
  "画像_1": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1b/22/a4/25/caption.jpg?w=1200&h=800&s=1",
  "立地": "4.8",
  "観光スポットの件数": "680",
  "評価数": "2586",
  "部屋の特徴": "遮光カーテン;防音ルーム;エアコン;デスク;ハウスキーピング;冷蔵庫;液晶テレビ;浴室/シャワー;シティビュー;禁煙ルーム;ルームサービス;セーフティボックス;シーティングスペース;電話機;VIPルーム;モーニングコール/目覚まし時計;電気ケトル;無料のバスアメニティ;ヘアドライヤー",
  "電話番号": ""
}
```

## 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`.

```json
{
  "templateName": "tripadvisor-jp-hotel-details-scraper",
  "taskName": "Tripadvisor Hotel Details Scraper（for Japan）",
  "parameters": "{\"hotel_URLs\":[\"https://www.tripadvisor.jp//Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html\",\"https://www.tripadvisor.jp//Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html\",\"https://www.tripadvisor.jp//Hotel_Review-g14129573-d1082914-Reviews-Mitsui_Garden_Hotel_Ginza_Premier-Ginza_Chuo_Tokyo_Tokyo_Prefecture_Kanto.html\",\"https://www.tripadvisor.jp//Hotel_Review-g1066460-d304546-Reviews-Hotel_Metropolitan_Tokyo_Ikebukuro-Toshima_Tokyo_Tokyo_Prefecture_Kanto.html\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"hotel_URLs\":[\"https://www.tripadvisor.jp//Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html\",\"https://www.tripadvisor.jp//Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html\",\"https://www.tripadvisor.jp//Hotel_Review-g14129573-d1082914-Reviews-Mitsui_Garden_Hotel_Ginza_Premier-Ginza_Chuo_Tokyo_Tokyo_Prefecture_Kanto.html\",\"https://www.tripadvisor.jp//Hotel_Review-g1066460-d304546-Reviews-Hotel_Metropolitan_Tokyo_Ikebukuro-Toshima_Tokyo_Tokyo_Prefecture_Kanto.html\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "tripadvisor-jp-hotel-details-scraper",
        "taskName": "Tripadvisor Hotel Details Scraper（for Japan）",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "tripadvisor-jp-hotel-details-scraper",
  "taskName": "Tripadvisor Hotel Details Scraper（for Japan）",
  "parameters": "{\"hotel_URLs\":[\"https://www.tripadvisor.jp//Hotel_Review-g14133713-d307326-Reviews-Hotel_Century_Southern_Tower-Yoyogi_Shibuya_Tokyo_Tokyo_Prefecture_Kanto.html\",\"https://www.tripadvisor.jp//Hotel_Review-g1066449-d20329613-Reviews-Tokyo_Bay_Shiomi_Prince_Hotel-Koto_Tokyo_Tokyo_Prefecture_Kanto.html\",\"https://www.tripadvisor.jp//Hotel_Review-g14129573-d1082914-Reviews-Mitsui_Garden_Hotel_Ginza_Premier-Ginza_Chuo_Tokyo_Tokyo_Prefecture_Kanto.html\",\"https://www.tripadvisor.jp//Hotel_Review-g1066460-d304546-Reviews-Hotel_Metropolitan_Tokyo_Ikebukuro-Toshima_Tokyo_Tokyo_Prefecture_Kanto.html\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `tripadvisor-jp-hotel-details-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-jp-hotel-details-scraper.json)
- [Manifest](https://www.octoparse.com/templates/tripadvisor-jp-hotel-details-scraper-manifest.json)
