# Mercari Product Details Scraping by URL (Cloud Only)

Extract product details (e.g., description and delivery information) from Mercari via URL. Cloud execution requires a premium proxy fee.

- Template page: [https://www.octoparse.com/template/mercari-product-detail-url-scraper-cloud](https://www.octoparse.com/template/mercari-product-detail-url-scraper-cloud)
- Categories: E-Commerce
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## Pricing

Current price: **$0.06/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 17 fields, including `Keyword`, `カテゴリー`, `ブランド`, `価格`, `出品者`, `出品者URL`, `商品URL`, `商品の状態`, `商品の説明`, `商品ページ状態`, `商品名`, `在庫`, `画像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 (up to 100,000 per run) and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### URLs (up to 100,000 per run)

Required. URLs Constraints: minItems=1; maxItems=100000; items.minLength=1; items.maxLength=100000.

## How to Use

# Mercari Product Details Scraping by URL (Cloud Only) – Guide

## Overview
This template collects product details (for example, description and delivery information) from [Mercari](https://jp.mercari.com/) using product URLs. Cloud execution requires a premium proxy fee.

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

## Input
- **URLs (up to 100,000 per run)** (required): enter one or more values, one per line.

## Output
Each task returns structured rows from the Mercari detail pages. Output fields include product name, price, image URL, stock, description, category, brand, condition, shipping responsibility, shipping method, ship-from region, days to ship, seller URL, seller name, and product page status.

Fields can be empty when the source record does not provide them.

## How to Use
1. Open the template and select **Try it** or **Start**.
2. Complete the required input field with product URLs.
3. Run the task in the cloud — no local computer needs to stay online.
4. Review the output rows and export or process the structured data.

## Scheduling, Export, and API
You can schedule recurring runs, export collected data to CSV, Excel, JSON, databases, or cloud storage, and send data to reporting or AI workflows through Octoparse APIs. You can also reuse collected data via 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
- This template only collects the detail-page fields described in Output; it does not collect reviews or comments.
- Fields such as seller URL, seller name, and product page status can be empty if Mercari does not display them.

## Tips
- Start with one or a few inputs and review the returned rows before scaling the task.
- Use the most specific valid URLs to reduce unrelated or duplicate records.
- Use a stable URL or identifier from the returned fields 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

- [Mercari Product Details Scraping by URL](https://www.octoparse.com/template/mercari-url-based-product-listing-scraper)
- [JP Indeed Job Scraper by URL (cloud only)](https://www.octoparse.com/template/jp-indeed-job-url-scraper-cloud)
- [Hello Work Job Listings Scraper (Cloud Only)](https://www.octoparse.com/template/hellowork-job-listings-cloud-only-scraper)
- [Gelbe Seiten Details Scraper (Cloud by URLs)](https://www.octoparse.com/template/gelbe-seiten-details-scraper-cloud)
- [Immobiliare Listing Scraper (Cloud Only)](https://www.octoparse.com/template/scraper-immobiliare)

## Input Schema

```json
{
  "title": "Mercari Product Details Scraping by URL (Cloud Only) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "uRLs": {
      "title": "URLs (up to 100,000 per run)",
      "description": "URLs",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100000
      },
      "minItems": 1,
      "maxItems": 100000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "uRLs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "uRLs": [
    "https://jp.mercari.com/item/m15039393267",
    "https://jp.mercari.com/item/m40053614570"
  ]
}
```

Example 2

```json
{
  "uRLs": [
    "https://jp.mercari.com/item/m90763940725",
    "https://jp.mercari.com/item/m63490635080",
    "https://jp.mercari.com/item/m35522581987",
    "https://jp.mercari.com/item/m41273650379",
    "https://jp.mercari.com/item/m82124644851"
  ]
}
```

Example 3

```json
{
  "uRLs": [
    "https://jp.mercari.com/item/m52132288536"
  ]
}
```

Example 4

```json
{
  "uRLs": [
    "https://jp.mercari.com/item/m34641613341",
    "https://jp.mercari.com/item/m38206498130",
    "https://jp.mercari.com/item/m47432634027",
    "https://jp.mercari.com/item/m20647461534",
    "https://jp.mercari.com/item/m76751166034"
  ]
}
```

Example 5

```json
{
  "uRLs": [
    "https://jp.mercari.com/item/m18449560963",
    "https://jp.mercari.com/item/m61560923777",
    "https://jp.mercari.com/item/m91758381410",
    "https://jp.mercari.com/item/m21241039375",
    "https://jp.mercari.com/item/m51334694555"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Keyword": {
      "type": "string",
      "description": ""
    },
    "カテゴリー": {
      "type": "string",
      "description": ""
    },
    "ブランド": {
      "type": "string",
      "description": ""
    },
    "価格": {
      "type": "string",
      "description": ""
    },
    "出品者": {
      "type": "string",
      "description": ""
    },
    "出品者URL": {
      "type": "string",
      "description": ""
    },
    "商品URL": {
      "type": "string",
      "description": ""
    },
    "商品の状態": {
      "type": "string",
      "description": ""
    },
    "商品の説明": {
      "type": "string",
      "description": ""
    },
    "商品ページ状態": {
      "type": "string",
      "description": ""
    },
    "商品名": {
      "type": "string",
      "description": ""
    },
    "在庫": {
      "type": "string",
      "description": ""
    },
    "画像URL": {
      "type": "string",
      "description": ""
    },
    "発送までの日数": {
      "type": "string",
      "description": ""
    },
    "発送元の地域": {
      "type": "string",
      "description": ""
    },
    "配送の方法": {
      "type": "string",
      "description": ""
    },
    "配送料の負担": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Mercari Product Details Scraping by URL (Cloud Only) 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
{
  "Keyword": "https://jp.mercari.com/item/m15039393267",
  "カテゴリー": "生活家電・空調生活家電キッチン家電ホットプレート",
  "ブランド": "BRUNO",
  "価格": "4444",
  "出品者": "りんご",
  "出品者URL": "https://jp.mercari.com/user/profile/346713658",
  "商品URL": "https://jp.mercari.com/item/m15039393267",
  "商品の状態": "目につく傷や汚れがある",
  "商品の説明": "BRUNOの4点セットです。\n・本体\n・鍋用プレート\n・たこ焼きプレート\n・鉄板プレート\n\n何度か使用しましたので多少の傷はありますが\n大きな傷はございません。",
  "商品ページ状態": "true",
  "商品名": "BRUNO セット",
  "在庫": "売り切れ",
  "画像URL": "https://static.mercdn.net/item/detail/orig/photos/m15039393267_1.jpg?1769398109",
  "発送までの日数": "4~7日で発送",
  "発送元の地域": "大阪府",
  "配送の方法": "未定",
  "配送料の負担": "送料込み(出品者負担)"
}
```

Example 2

```json
{
  "Keyword": "https://jp.mercari.com/item/m93789282972",
  "カテゴリー": "ゲーム・おもちゃ・グッズトレーディングカードポケモンカードゲーム",
  "ブランド": "Pokemon",
  "価格": "7500",
  "出品者": "Kirn1〜値引交渉歓迎〜",
  "出品者URL": "https://jp.mercari.com/user/profile/662082353",
  "商品URL": "https://jp.mercari.com/item/m93789282972",
  "商品の状態": "新品で購入し、一度も使用していない",
  "商品の説明": "PSA10鑑定済みのルギア25th ANNIVERSARY COLLECTION収録カードです。コレクションに最適な最高評価の個体です。\n\n- キャラクター名: ルギア\n- カード番号: 005/028\n- 鑑定機関: PSA\n- グレード: GEM MT 10\n\n即購入オッケーです。\n\n状態は写真をご確認の上ご購入よろしくお願いいたします。\n\nご覧いただきありがとうございます。",
  "商品ページ状態": "true",
  "商品名": "PSA10ルギア 25th ANNIVERSARY COLLECTION ホロ",
  "在庫": "在庫",
  "画像URL": "https://static.mercdn.net/item/detail/orig/photos/m93789282972_1.jpg?1794874140",
  "発送までの日数": "1~2日で発送",
  "発送元の地域": "石川県",
  "配送の方法": "らくらくメルカリ便;匿名配送",
  "配送料の負担": "送料込み(出品者負担)"
}
```

Example 3

```json
{
  "Keyword": "https://jp.mercari.com/item/m52132288536",
  "カテゴリー": "ファッションメンズ靴スニーカー",
  "ブランド": "NIKE",
  "価格": "22000",
  "出品者": "ニツ",
  "出品者URL": "https://jp.mercari.com/user/profile/268935304",
  "商品URL": "https://jp.mercari.com/item/m52132288536",
  "商品の状態": "新品で購入し、一度も使用していない",
  "商品の説明": "新品未使用ですが、経年劣化で少し汚れがあります。\nメインカラー···グリーン\n\nスニーカー型···ローカット(Low)",
  "商品ページ状態": "true",
  "商品名": "ジョーダン1  パイングリーン",
  "在庫": "売り切れ",
  "画像URL": "https://static.mercdn.net/item/detail/orig/photos/m52132288536_1.jpg?1699325027",
  "発送までの日数": "2~3日で発送",
  "発送元の地域": "宮城県",
  "配送の方法": "ゆうゆうメルカリ便;郵便局/コンビニ受取;匿名配送",
  "配送料の負担": "送料込み(出品者負担)"
}
```

Example 4

```json
{
  "Keyword": "https://jp.mercari.com/item/m20647461534",
  "カテゴリー": "ゲーム・おもちゃ・グッズトレーディングカードポケモンカードゲーム",
  "ブランド": "Pokemon",
  "価格": "4900",
  "出品者": "『最安値出品』せいや",
  "出品者URL": "https://jp.mercari.com/user/profile/872226898",
  "商品URL": "https://jp.mercari.com/item/m20647461534",
  "商品の状態": "細かな使用感・傷・汚れはあるが、目立たない",
  "商品の説明": "25周年記念ロゴ入りのキラ仕様で、PSA鑑定で最高評価のGEM MT 10を獲得した希少なカイオーガです。\n\n- カード名: カイオーガ\n- セット: 25th ANNIVERSARY COLLECTION\n- カード番号: 007/028\n- グレード: PSA 10 GEM MT\n\n「即購入OKです♪」\n「24時間以内の発送を心がけます」\n「コメントなしでのご購入も大歓迎です」\n「安心・丁寧なお取引を心がけております」\n「ご不明点あれば、お気軽にご質問ください！」\n\nよろしくお願いします！\n\nご覧いただきありがとうございます。",
  "商品ページ状態": "true",
  "商品名": "カイオーガ S8a 25th ANNIVERSARY COLLECTION 0…",
  "在庫": "在庫",
  "画像URL": "https://static.mercdn.net/item/detail/orig/photos/m20647461534_1.jpg?1794511601",
  "発送までの日数": "1~2日で発送",
  "発送元の地域": "愛知県",
  "配送の方法": "らくらくメルカリ便;匿名配送",
  "配送料の負担": "送料込み(出品者負担)"
}
```

Example 5

```json
{
  "Keyword": "https://jp.mercari.com/item/m61560923777",
  "カテゴリー": "生活家電・空調生活家電喫煙具・ライターライター本体",
  "ブランド": "ZIPPO",
  "価格": "11500",
  "出品者": "SEASIDE MelodyBOX",
  "出品者URL": "https://jp.mercari.com/user/profile/835803869",
  "商品URL": "https://jp.mercari.com/item/m61560923777",
  "商品の状態": "細かな使用感・傷・汚れはあるが、目立たない",
  "商品の説明": "ご覧いただきありがとうございますm(_ _)m\nこちらは ZIPPO 公式  ルパン三世 次元大介\nZIPPOとなっております。\n\n基本的には 写真参考にして頂き\n\n動作確認済み\n\n火花OK\n\n着火確認済み （オイルは抜いて発送致します。）\n\n軽いスレ等はございます\nご了承くださいm(_ _)m\n\nヒンジ等のガタ なし\n\n特に問題はないですが\nご不明な点が ございましたら\n御気軽に コメントよろしくお願いいたします。\n\n- ブランド:ZIPPO\n- シリーズ: ルパン三世 THE PARTNER\n- 本体素材: 真鍮\n- メタル素材: 亜鉛合金\n\n即購入OK・コメントなしOK\n発送に関してましては\n梱包して 送らせて頂きます\n\nご覧いただきありがとうございます。",
  "商品ページ状態": "true",
  "商品名": "ルパン三世 THE PARTNER 次元大介 ZIPPO",
  "在庫": "在庫",
  "画像URL": "https://static.mercdn.net/item/detail/orig/photos/m61560923777_1.jpg?1794270615",
  "発送までの日数": "1~2日で発送",
  "発送元の地域": "神奈川県",
  "配送の方法": "ゆうゆうメルカリ便;郵便局/コンビニ受取;匿名配送",
  "配送料の負担": "送料込み(出品者負担)"
}
```

## 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": "mercari-product-detail-URL-scraper-cloud",
  "taskName": "Mercari Product Details Scraping by URL (Cloud Only)",
  "parameters": "{\"uRLs\":[\"https://jp.mercari.com/item/m15039393267\",\"https://jp.mercari.com/item/m40053614570\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"uRLs\":[\"https://jp.mercari.com/item/m15039393267\",\"https://jp.mercari.com/item/m40053614570\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "mercari-product-detail-URL-scraper-cloud",
        "taskName": "Mercari Product Details Scraping by URL (Cloud Only)",
        "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": "mercari-product-detail-URL-scraper-cloud",
  "taskName": "Mercari Product Details Scraping by URL (Cloud Only)",
  "parameters": "{\"uRLs\":[\"https://jp.mercari.com/item/m15039393267\",\"https://jp.mercari.com/item/m40053614570\"]}"
}
JSON
```

## MCP Setup

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