# Yahoo Shopping Scraper

This template extracts product information data from Yahoo! Shopping by specifying a keyword or URL, including price, shipping fee, points, number of reviews, review URL, store information, and more.

- Template page: [https://www.octoparse.com/template/yahoo-shopping-scraper-keyword](https://www.octoparse.com/template/yahoo-shopping-scraper-keyword)
- Categories: E-Commerce
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## Pricing

Current price: **$0.12/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 general web pages.

## Output

The current workflow extracts 20 fields, including `キーワード`, `タイトル`, `ブランド`, `ブランドURL`, `ポイント収得`, `レビューURL`, `レビュー件数`, `レーティング`, `入力パラメータ`, `取得日付`, `商品URL`, `商品情報`, `店舗URL`, `店舗名`, `画像1_URL`, `画像2_URL`, `画像3_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 URLs or keywords and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### URLs or keywords

Required. https://shopping.yahoo.co.jp/search/dior/0/?area=13&first=1&ss_first=1&ts=1782895777&mcr=39b7432161474c3cfa38060ac36ffaab&tab_ex=commerce&sretry=0&prom=1&sc_i=shopping-pc-web-result-suggest-h_srch-srchbtn-sgstfrom-result-item-h_srch-srchbox Constraints: minItems=1; maxItems=1000; items.minLength=1; items.maxLength=1000.

## How to Use

# Yahoo Shopping Scraper

Extract product information from Yahoo! Shopping search results by keyword. Source: [Yahoo Shopping](https://shopping.yahoo.co.jp/).

## Pricing

Current price: **$0.1/1,000 lines**. Billing is based on the number of output lines produced by the task.

## Input

- **Keywords** (optional): Enter one or more values, one per line.

## How to use

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

## Output and limits

Returns search-result/listing fields, such as `商品URL`, `タイトル`, `税込価格`, `送料`, and `レビュー件数`. It does not collect complete detail-page data; use a detail-page template when deeper record data is required.

It does not add data that Yahoo does not display. Fields such as `発送時間`, `商品情報`, and `取得日付` can be empty when the source record does not provide them.

## Tips

- Start with one or a few **Keywords** and review returned rows before scaling.
- Use the most specific valid **Keywords** to reduce unrelated or duplicate records.
- Use a stable returned URL or identifier as the deduplication key when available.

## Scheduling and export

You can schedule recurring cloud runs and export rows to CSV, Excel, JSON, databases, or cloud storage. Reuse collected 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

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

- [Yahoo Shopping Review Scraper (by URL)](https://www.octoparse.com/template/yahoo-shopping-review-scraper)
- [Google Shopping Product Listing Scraper](https://www.octoparse.com/template/google-shopping-product-listing-scraper)
- [Google Shopping Product Scraper](https://www.octoparse.com/template/google-shopping-product-scraper)
- [Google Shopping Listing Scraper(for Spainish)](https://www.octoparse.com/template/google-shopping-listados-scraper)
- [Yahoo Search Scraper](https://www.octoparse.com/template/yahoo-search-scraper)

## Input Schema

```json
{
  "title": "Yahoo Shopping Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "uRLs_or_keywords": {
      "title": "URLs or keywords",
      "description": " https://shopping.yahoo.co.jp/search/dior/0/?area=13&first=1&ss_first=1&ts=1782895777&mcr=39b7432161474c3cfa38060ac36ffaab&tab_ex=commerce&sretry=0&prom=1&sc_i=shopping-pc-web-result-suggest-h_srch-srchbtn-sgstfrom-result-item-h_srch-srchbox",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000
      },
      "minItems": 1,
      "maxItems": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "uRLs_or_keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "uRLs_or_keywords": [
    "https://shopping.yahoo.co.jp/search/%E8%B3%87%E7%94%9F%E5%A0%82/0/?area=13&first=1&ss_first=1&ts=1794821400&mcr=21db5aa84b6b7d6fa831cad22a6ce7cb&view=list&tab_ex=commerce&sretry=1&prom=1&sc_i=shopping-pc-web-result-suggest-h_srch-srchbtn-sgstfrom-result-item-h_srch-srchbox"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "キーワード": {
      "type": "string",
      "description": ""
    },
    "タイトル": {
      "type": "string",
      "description": ""
    },
    "ブランド": {
      "type": "string",
      "description": ""
    },
    "ブランドURL": {
      "type": "string",
      "description": ""
    },
    "ポイント収得": {
      "type": "string",
      "description": ""
    },
    "レビューURL": {
      "type": "string",
      "description": ""
    },
    "レビュー件数": {
      "type": "string",
      "description": ""
    },
    "レーティング": {
      "type": "string",
      "description": ""
    },
    "入力パラメータ": {
      "type": "string",
      "description": ""
    },
    "取得日付": {
      "type": "string",
      "description": ""
    },
    "商品URL": {
      "type": "string",
      "description": ""
    },
    "商品情報": {
      "type": "string",
      "description": ""
    },
    "店舗URL": {
      "type": "string",
      "description": ""
    },
    "店舗名": {
      "type": "string",
      "description": ""
    },
    "画像1_URL": {
      "type": "string",
      "description": ""
    },
    "画像2_URL": {
      "type": "string",
      "description": ""
    },
    "画像3_URL": {
      "type": "string",
      "description": ""
    },
    "発送時間": {
      "type": "string",
      "description": ""
    },
    "税込価格": {
      "type": "string",
      "description": ""
    },
    "送料": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Yahoo Shopping 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

Example 1

```json
{
  "キーワード": "資生堂",
  "タイトル": "資生堂認定ショップ|SHISEIDO アルティミューン パワライジング セラム レフィル（50ml） 資生堂2025.3発売|爆買",
  "ブランド": "SHISEIDO アルティミューン",
  "ブランドURL": "https://shopping.yahoo.co.jp/category/1/23986/brand/?sc_i=shopping-pc-web-detail-item-itm_ov-brand_nm",
  "ポイント収得": "8%（1070pt）",
  "レビューURL": "https://shopping.yahoo.co.jp/review/item/list?store_id=sian&page_key=20761&sc_i=shopping-pc-web-result-item-rsltlst-rvw",
  "レビュー件数": "37件",
  "レーティング": "4.86",
  "入力パラメータ": "https://shopping.yahoo.co.jp/search/%E8%B3%87%E7%94%9F%E5%A0%82/0/?area=13&first=1&ss_first=1&ts=1794821400&mcr=21db5aa84b6b7d6fa831cad22a6ce7cb&view=list&tab_ex=commerce&sretry=1&prom=1&sc_i=shopping-pc-web-result-suggest-h_srch-srchbtn-sgstfrom-result-item-h_srch-srchbox",
  "取得日付": "2026-11-16",
  "商品URL": "https://store.shopping.yahoo.co.jp/sian/20761.html",
  "商品情報": "発酵カメリアエキス＋*と厳選された美容成分を3000万個の角層細胞へすみずみまで届けます。\n朝、夜、毎日のお手入れで、ハリ、なめらかさ、透明感あふれる輝きに満ち、うるおいが湧きあがるような肌へ。\n　*ツバキ種子エキス、アスペルギルス培養物、グリセリン：保湿\nグリーンフローラルの香り",
  "店舗URL": "https://store.shopping.yahoo.co.jp/sian/",
  "店舗名": "シャンコスメディアヤフー店",
  "画像1_URL": "https://item-shopping.c.yimg.jp/i/n/sian_20761_i_20250205100409",
  "画像2_URL": "https://item-shopping.c.yimg.jp/i/n/yahoo-sh.jpg",
  "画像3_URL": "https://item-shopping.c.yimg.jp/i/n/sian_20761_1_d_20250205100411",
  "発送時間": "8時までの注文で11/17〜11/18の間に発送予定",
  "税込価格": "14,630円",
  "送料": "送料無料（東京都）"
}
```

## 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": "yahoo-shopping-scraper-keyword",
  "taskName": "Yahoo Shopping Scraper",
  "parameters": "{\"uRLs_or_keywords\":[\"https://shopping.yahoo.co.jp/search/%E8%B3%87%E7%94%9F%E5%A0%82/0/?area=13&first=1&ss_first=1&ts=1794821400&mcr=21db5aa84b6b7d6fa831cad22a6ce7cb&view=list&tab_ex=commerce&sretry=1&prom=1&sc_i=shopping-pc-web-result-suggest-h_srch-srchbtn-sgstfrom-result-item-h_srch-srchbox\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"uRLs_or_keywords\":[\"https://shopping.yahoo.co.jp/search/%E8%B3%87%E7%94%9F%E5%A0%82/0/?area=13&first=1&ss_first=1&ts=1794821400&mcr=21db5aa84b6b7d6fa831cad22a6ce7cb&view=list&tab_ex=commerce&sretry=1&prom=1&sc_i=shopping-pc-web-result-suggest-h_srch-srchbtn-sgstfrom-result-item-h_srch-srchbox\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "yahoo-shopping-scraper-keyword",
        "taskName": "Yahoo Shopping Scraper",
        "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": "yahoo-shopping-scraper-keyword",
  "taskName": "Yahoo Shopping Scraper",
  "parameters": "{\"uRLs_or_keywords\":[\"https://shopping.yahoo.co.jp/search/%E8%B3%87%E7%94%9F%E5%A0%82/0/?area=13&first=1&ss_first=1&ts=1794821400&mcr=21db5aa84b6b7d6fa831cad22a6ce7cb&view=list&tab_ex=commerce&sretry=1&prom=1&sc_i=shopping-pc-web-result-suggest-h_srch-srchbtn-sgstfrom-result-item-h_srch-srchbox\"]}"
}
JSON
```

## MCP Setup

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