# 日本中古着物市场 — 跨店比价 (`fruitful_quintessence/kimono-market-scraper-cn`) Actor

Scrape and compare used kimono, obi and accessories prices from Japanese online stores (BuySell Online, Hitotoki). 日本中古着物市场跨店比价，支持访问和服、振袖、腰带等品类。

- **URL**: https://apify.com/fruitful\_quintessence/kimono-market-scraper-cn.md
- **Developed by:** [atushi ino](https://apify.com/fruitful_quintessence) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 日本中古着物市场 — 跨店比价

> 中文版（简体）。英文版: [English](https://github.com/atushi1841/kimono-market-scraper)

**抓取并比较日本最大和服在线商店的中古和服、腰带及配饰价格。**

本 Actor 从多个日本和服商城抓取商品列表，默认来源为 **バイセルオンライン（BuySell Online）** 和 **着物ひととき（Hitotoki）**。也可选配 **京都きもの市場（Kimono Ichiba）**（注意：该网站从数据中心 IP 访问会被屏蔽，因此默认不启用）。

### 适用场景

- **转售套利** — 日本中古和服在 eBay 等平台需求旺盛；日本国内各店价格差异大
- **跨店比价** — 同一品牌 / 同一商品在不同店铺的价格一次获取
- **行情监控** — 跟踪特定品类（訪問着、振袖、帯、長襦袢）的价格走势

### 输入参数

| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| `searchKeyword` | string | `訪問着` | 搜索关键词（留空则扫描中古和服分类） |
| `maxItems` | integer | 100 | 最大获取件数 |
| `maxPages` | integer | 2 | 每个来源的最大页数 |
| `sources` | string | `buysell,hitotoki` | 来源列表（buysell,hitotoki,kimonoichiba） |

### 输出字段

每条商品包含: `itemId`（商品ID）、`title`（标题）、`price`（日元价格）、`currency`（JPY）、`imageUrl`（图片URL）、`detailUrl`（详情页URL）、`condition`（成色）、`discount`（折扣）、`shop`（店铺名）、`category`（分类）、`scrapedAt`（抓取时间）。

### 与工作流集成

通过 Apify Connectors 一键推送结果到 Google Sheets / Slack / Notion / Supabase，或设置定时任务监控价格变化。

### 价格

PAY\_PER\_EVENT 计费：每次运行少量费用 + **每件商品约 $0.002**。

### 数据来源说明

- **BuySell Online**（buysellonline.jp）：和服分类 56,135+ 件商品，分类翻页 `?page=N`，关键词搜索 `GoodsSearchList.html?keyword=`
- **着物ひととき**（hitotoki-online.com）：makeshop 系商店，分类页 `/view/category/all_items?page=N`，商品卡片解析自 `.item-name`、`.price`、`.item-category`
- **Kimono Ichiba**（kimonoichiba.com）：SSR 商品列表，分类 3002 = 中古和服。*可选* — 数据中心 IP 被屏蔽（403/202），默认不启用
- 仅收集商品的事实信息（名称、价格、成色、图片、URL）

# Actor input Schema

## `searchKeyword` (type: `string`):

指定访问和服・振袖・腰带等品牌名・品目（留空则扫描中古和服分类）

## `maxItems` (type: `integer`):

取得する最大商品数

## `maxPages` (type: `integer`):

各ソースで取得する最大ページ数

## `sources` (type: `string`):

逗号分隔（buysell,hitotoki,kimonoichiba）

## `proxyConfiguration` (type: `object`):

Apify代理设置（自动）

## Actor input object example

```json
{
  "searchKeyword": "訪問着",
  "maxItems": 100,
  "maxPages": 2,
  "sources": "buysell,hitotoki",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `itemId` (type: `string`):

Product ID at source shop

## `title` (type: `string`):

Product title

## `price` (type: `string`):

Price in yen

## `currency` (type: `string`):

JPY

## `imageUrl` (type: `string`):

Product image URL

## `detailUrl` (type: `string`):

Product page URL

## `condition` (type: `string`):

新品/中古 etc

## `discount` (type: `string`):

Discount label

## `shop` (type: `string`):

Source shop name

## `category` (type: `string`):

Category label

## `source` (type: `string`):

kimonoichiba or buysell

## `scrapedAt` (type: `string`):

Scrape timestamp

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchKeyword": "訪問着"
};

// Run the Actor and wait for it to finish
const run = await client.actor("fruitful_quintessence/kimono-market-scraper-cn").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchKeyword": "訪問着" }

# Run the Actor and wait for it to finish
run = client.actor("fruitful_quintessence/kimono-market-scraper-cn").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchKeyword": "訪問着"
}' |
apify call fruitful_quintessence/kimono-market-scraper-cn --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fruitful_quintessence/kimono-market-scraper-cn"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yCN9ystlovHkgolzw/builds/mY7plZeuPyF6k7fUR/openapi.json
