# Hot Pepper Beauty Scraper_test

This is a template for extracting Hot Pepper Beauty‘s store information (store name, URL, phone number, address, business hours, etc.) from Hot Pepper Beauty based on keywords.

- Template page: [https://www.octoparse.com/template/hot-pepper-beauty-scraper20261116094529](https://www.octoparse.com/template/hot-pepper-beauty-scraper20261116094529)
- Categories: Directories, Lead Generation
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## 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 general web pages.

## Output

The current workflow extracts 16 fields, including `URL`, `お店のホームページ`, `こだわり条件`, `その他`, `アクセス・道案内`, `カット価格`, `スタッフ数`, `住所`, `備考`, `営業時間`, `定休日`, `席数`, `店名`, `支払い方法`, `電話番号`, `駐車場`.

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

## Input

### category

Required. category Constraints: minLength=1; maxLength=1000. Callable values are the `const` keys in JSON `oneOf`, not the option titles.

### URLs or keywords (up to 1,000)

Required. keywords Constraints: minItems=1; maxItems=1000; items.minLength=1; items.maxLength=10000.

### PageSize

Optional. PageSize Constraints: minLength=1; maxLength=100.

## How to Use

# Hot Pepper Beauty Scraper

Collects Hot Pepper Beauty store information (store name, URL, phone number, address, business hours, etc.) from [Hot Pepper Beauty](https://beauty.hotpepper.jp/) based on the configured category and URLs. Results include structured salon records with contact, location, hours, price, capacity, and service-condition fields.

## Pricing

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

## Input

- `category` (optional): beauty service type. Accepted values: `ヘアサロン`, `ネイル・まつげサロン`, `リラクサロン`, `エステサロン`.
- `URLs` (optional): up to 200 Hot Pepper Beauty URLs, one per line.
- `PageSize` (optional): maximum number of result pages to process.

## How to use

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

## Limitations

- The template collects salon fields only; it does not collect appointment availability or booking transactions.
- Fields such as `備考`, `その他`, and `電話番号` can be empty when the source record does not provide them.
- A single task accepts up to 200 input URLs.

## Tips

- Start with one or a few inputs and review the returned rows before scaling the task.
- Use the most specific valid `category` to reduce unrelated or duplicate records.
- Use a stable URL or identifier, such as `URL` or `店名`, as the deduplication key when available.

## Output and reuse

Export rows to CSV, Excel, JSON, databases, or cloud storage, or send them to reporting and AI workflows through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates). You can schedule recurring runs; scheduling and API access may require a paid Octoparse plan.

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

- [Hot Pepper Beauty Scraper](https://www.octoparse.com/template/hot-pepper-beauty-scraper)
- [Hot Pepper Restaurant Listing Scraper](https://www.octoparse.com/template/hot-pepper-restaurant-listing-scraper)
- [Amazon Hot New Releases Scraper (by Category)](https://www.octoparse.com/template/amazon-hot-new-releases-scraper-by-category)
- [Hwahae Category Trending Ranking Scraper](https://www.octoparse.com/template/hwahae)
- [Google Search Scraper](https://www.octoparse.com/template/google-search-scraper)

## Input Schema

```json
{
  "title": "Hot Pepper Beauty Scraper_test input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "category": {
      "title": "category",
      "description": "category",
      "type": "string",
      "minLength": 1,
      "maxLength": 1000,
      "oneOf": [
        {
          "title": "ヘアサロン",
          "const": "https://beauty.hotpepper.jp/"
        },
        {
          "title": "ネイル・まつげサロン",
          "const": "https://beauty.hotpepper.jp/nail/"
        },
        {
          "title": "リラクサロン",
          "const": "https://beauty.hotpepper.jp/relax/"
        },
        {
          "title": "エステサロン",
          "const": "https://beauty.hotpepper.jp/esthe/"
        }
      ],
      "x-octoparse": {
        "apiEnabled": false
      }
    },
    "uRLs_or_keywords": {
      "title": "URLs or keywords  (up to 1,000)",
      "description": "keywords",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "pageSize": {
      "title": "PageSize",
      "description": "PageSize",
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "category",
    "uRLs_or_keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "category": "https://beauty.hotpepper.jp/relax/",
  "uRLs_or_keywords": [
    "リンパ"
  ]
}
```

Example 2

```json
{
  "category": "https://beauty.hotpepper.jp/relax/",
  "uRLs_or_keywords": [
    "リンパ"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "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": ""
    },
    "支払い方法": {
      "type": "string",
      "description": ""
    },
    "電話番号": {
      "type": "string",
      "description": ""
    },
    "駐車場": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Hot Pepper Beauty Scraper_test 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
{
  "URL": "https://beauty.hotpepper.jp/kr/slnH000397488/",
  "お店のホームページ": "",
  "こだわり条件": "当日受付OK／2名以上の利用OK／個室あり／駐車場あり／2回目以降特典あり／店頭でのカード支払いOK／朝10時前でも受付OK／女性スタッフ在籍／完全予約制／指名予約OK／ドリンクサービスあり／お子さま同伴可／メイクルームあり／着替えあり／3席（ベッド）以下の小型サロン／都度払いメニューあり／ブライダルメニューあり／回数券あり／スクール併設",
  "その他": "スマート支払いOK、ポイント利用OK、即時予約OK、メンズにもオススメ",
  "アクセス・道案内": "※サロンまでの道がわからない場合は、お電話にてお問い合わせ下さい。※お車でお越しの方は、お近くに来られた際にお電話頂ければ、場所をお伝えいたします（駐車場内での事故、盗難等につきましては一切責任を負いかねます）＃リンパマッサージ＃ヘッドスパ＃肩こり＃腰痛＃肩甲骨＃オイルマッサージ＃マッサージ＃痩身",
  "カット価格": "",
  "スタッフ数": "総数3人(スタッフ3人)",
  "住所": "大阪府豊中市東泉丘１丁目６ メゾンドール千里泉ヶ丘1号棟１０２号室",
  "備考": "※男性は紹介者がおられない方は、初回身分証明書提示お願い致します。※ヴィーナススワン北摂初導入に関する出典：2020年株式会社クレア調べ※駐車場内での事故、盗難等につきましては一切責任を負いかねます",
  "営業時間": "9:00～21:00",
  "定休日": "不定休",
  "席数": "総数3(ベッド3／完全個室3)",
  "店名": "マナリンパ(Mana)",
  "支払い方法": "Visa／Mastercard／JCB／American Express／Diners Club／UnionPay（銀聯）／Discover／PayPay/ApplePay/Quicpay/iD/交通系IC/楽天Pay/d払い/LINEpay/aupay",
  "電話番号": "06-7176-4511",
  "駐車場": "あり※近くに来られた際にお電話ください。"
}
```

Example 2

```json
{
  "URL": "https://beauty.hotpepper.jp/slnH000809955/",
  "お店のホームページ": "",
  "こだわり条件": "4席以下の小型サロン／夜19時以降も受付OK／最寄り駅から徒歩3分以内にある／1人のスタイリストが仕上げまで担当／ヘアセット／朝10時前でも受付OK／店頭でのカード支払いOK／男性スタッフが多い／お子さま同伴OK／ドリンクサービスあり／DVDが観られる／個室あり／完全予約制",
  "その他": "ポイント利用OK、即時予約OK、メンズにもオススメ",
  "アクセス・道案内": "吉祥寺駅北口を左に進み、中道通りを約2分ほどお進みください。西三条通りが見えましたら右に曲がります。右手に自転車屋『VIC3+1』がある角です。そのまま1分ほど進むと、左側に1階が『ナイキランニング』のビルがございます。そちらの建物が【ハナミツキビル】です。当サロンはそのビルの地下1階になります。Google mapsでナイキランニングと検索してください。[髪質改善/ヘアエステ/カラー/トリートメント/白髪ぼかし/白髪染め]",
  "カット価格": "￥4,400",
  "スタッフ数": "スタイリスト2人",
  "住所": "東京都武蔵野市吉祥寺本町２－１６－１５ ＨＡＮＡ三ＴＳＵＧＩ Ｂ１Ｆ",
  "備考": "#髪質改善#縮毛矯正#カラー#トリートメント#白髪ぼかし#白髪染め#ハイライト#大人ショート#切りっぱなしボブカット$ヘッドスパ",
  "営業時間": "9:00～20:00♪ ［髪質改善ヘアエステ/30代|40代|50代|大人女性/縮毛矯正/トリートメント/白髪染め・ぼかし］",
  "定休日": "火曜日(相談可能)[髪質改善/カラー/トリートメント/白髪ぼかし/白髪染め/ハイライト/大人ショート/ボブ]",
  "席数": "セット面2席",
  "店名": "コンフィデンス 吉祥寺(confidence)",
  "支払い方法": "Visa／Mastercard／JCB／American Express／Diners Club",
  "電話番号": "080-4443-7127",
  "駐車場": "無"
}
```

## 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": "hot-pepper-beauty-scraper20261116094529",
  "taskName": "Hot Pepper Beauty Scraper_test",
  "parameters": "{\"category\":\"https://beauty.hotpepper.jp/relax/\",\"uRLs_or_keywords\":[\"リンパ\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"category\":\"https://beauty.hotpepper.jp/relax/\",\"uRLs_or_keywords\":[\"リンパ\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "hot-pepper-beauty-scraper20261116094529",
        "taskName": "Hot Pepper Beauty Scraper_test",
        "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": "hot-pepper-beauty-scraper20261116094529",
  "taskName": "Hot Pepper Beauty Scraper_test",
  "parameters": "{\"category\":\"https://beauty.hotpepper.jp/relax/\",\"uRLs_or_keywords\":[\"リンパ\"]}"
}
JSON
```

## MCP Setup

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