# Yahoo! Auctions Japan Scraper — Live, Sold Comps & Analytics (`dot888/yahoo-auctions-japan-scraper`) Actor

Fast, browserless Yahoo! Auctions Japan scraper & MCP API. Extract live auctions, sold comps (終了分), bids, watch counts, page views, Buy-It-Now JPY prices, shipping, condition, seller ratings, and prefecture locations with JP proxy support.

- **URL**: https://apify.com/dot888/yahoo-auctions-japan-scraper.md
- **Developed by:** [PHAM QUANG HOP](https://apify.com/dot888) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.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/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Yahoo! Auctions Japan Scraper (ヤフオク) — Live, Sold Comps & Price Analytics API

All-in-one, browserless scraper and **MCP-ready data API** for **Yahoo! Auctions Japan (`auctions.yahoo.co.jp`)** and integrated **Yahoo! Flea Market (PayPayフリマ)** listings.

Extract **100 items per request** directly from Yahoo! Japan's structured `__NEXT_DATA__` payload — supporting **Active Auctions**, **Sold / Closed Price History (`closedsearch`)**, or **Both in a single run** with automatic **Market Comps Analytics** (`min`, `p25`, `median`, `mean`, `p75`, `max` JPY).

***

### Why Choose This Yahoo! Auctions Japan Scraper?

| Feature | This Actor (`dot888/yahoo-auctions-japan-scraper`) | Typical Competitors |
|---|---|---|
| **Active + Sold + Flea Market** | All 3 modes (`active`, `sold`, `both`) in **one Actor** | Often split across 2 separate paid Actors |
| **Speed & Scale** | **100 items/page**, browserless JSON extraction | 50 items/page or slow headless Chrome |
| **Demand Signals** | Includes **`watchCount`, `pageViews`, `impressions`, `bidCount`** | Usually only price + bid count |
| **Built-in Price Comps** | Auto-generates `SUMMARY` with active vs sold median/p25/p75/mean | Manual spreadsheet calculation needed |
| **Bilingual Prefectures** | Maps all 47 Japan prefecture codes (`Tokyo (東京都)`, etc.) | Raw numeric code or missing |
| **Pricing** | **Pay-per-event: $1.50 / 1,000 results** (zero monthly fee) | $3–$5/1,000 or monthly rental |

***

### Ideal Use Cases

- **Collectibles, TCG & Luxury Resellers:** Track Pokémon cards, watches (Rolex, Seiko, Omega), vintage cameras, designer bags, and retro games — compare live bids against real **sold comps**.
- **Proxy Buying & Sourcing Platforms:** Monitor ending-soon auctions (`sortBy: "end_asc"`) with high watch counts and verified seller ratings (`sellerGoodRating`, `isBestStore`).
- **AI Agents & MCP Workflows:** Feed real-time Japanese auction valuations straight into Claude, Cursor, or custom arbitrage pipelines.

***

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `queries` | `string[]` | `["pokemon"]` | Search keywords in Japanese or English. |
| `excludeKeyword` | `string` | `""` | Space-separated words to exclude (e.g. `ジャンク 訳あり`). |
| `startUrls` | `object[]` | `[]` | Direct Yahoo! Auctions active or closed search/category URLs. |
| `mode` | `string` | `active` | `active` (Live), `sold` (Closed Price History), or `both`. |
| `maxItemsPerQuery` | `integer` | `100` | Max listings per keyword/mode (`1`–`5000`). |
| `sortBy` | `string` | `default` | `default`, `price_asc`, `price_desc`, `bids_desc`, `end_asc`, `new`. |
| `listingType` | `string` | `all` | `all`, `auction_only`, or `buy_now_only`. |
| `condition` | `string` | `all` | `all`, `new`, or `used`. |
| `freeShippingOnly` | `boolean` | `false` | Filter for free shipping (`送料無料`). |
| `minPrice` / `maxPrice` | `integer` | — | Optional JPY price range filter. |
| `minBids` | `integer` | — | Minimum number of bids filter. |
| `categoryId` | `string` | `""` | Optional Yahoo! Auctions category ID (e.g. `25826`). |
| `proxyConfiguration` | `object` | JP Residential | Apify Proxy configuration (JP Residential recommended on cloud). |

***

### Sample Output (JSON)

```json
{
  "auctionId": "r1253516901",
  "title": "ポケモンカード ピカチュウ ARS9 鑑定品 CELEBRATION 043/103",
  "url": "https://auctions.yahoo.co.jp/jp/auction/r1253516901",
  "listingStatus": "active",
  "priceJpy": 1201,
  "buyNowPriceJpy": 5000,
  "startingPriceJpy": 1,
  "currency": "JPY",
  "bidCount": 12,
  "watchCount": 15,
  "pageViews": 33,
  "impressions": 306,
  "itemCondition": "NEW",
  "isFreeShipping": true,
  "shippingFeeJpy": 0,
  "isFixedPrice": false,
  "isFleamarketItem": false,
  "startTime": "2026-11-24T09:37:50+09:00",
  "endTime": "2026-11-29T21:37:49+09:00",
  "prefectureCode": "13",
  "prefecture": "Tokyo (東京都)",
  "categoryId": 2084317608,
  "categoryName": "シングルカード",
  "categoryPath": "オークション > おもちゃ、ゲーム > ゲーム > トレーディングカードゲーム > ポケモンカードゲーム > シングルカード",
  "sellerId": "BUrS2pdo2JW1s1zBadN8WXR6nB6XF",
  "sellerGoodRating": "99.1%",
  "isStore": false,
  "imageUrl": "https://auc-pctr.c.yimg.jp/i/auctions.c.yimg.jp/.../i-img1161x1200.jpg",
  "query": "pokemon"
}
```

#### Automatic `SUMMARY` Record (Key-Value Store)

```json
{
  "marketplace": "Yahoo! Auctions Japan (auctions.yahoo.co.jp)",
  "totalItemsScraped": 200,
  "totalBidsObserved": 642,
  "averageWatchCount": 11.4,
  "activePriceStats": { "count": 100, "minJpy": 300, "p25Jpy": 1200, "medianJpy": 3500, "meanJpy": 6840, "p75Jpy": 8900, "maxJpy": 98000 },
  "soldPriceStats": { "count": 100, "minJpy": 250, "p25Jpy": 1000, "medianJpy": 2980, "meanJpy": 5420, "p75Jpy": 7500, "maxJpy": 72000 }
}
```

***

### API & AI Agent (MCP) Usage

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("dot888/yahoo-auctions-japan-scraper").call(run_input={
    "queries": ["ロレックス サブマリーナ"],
    "mode": "both",
    "maxItemsPerQuery": 100,
    "sortBy": "bids_desc",
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("SUMMARY")["value"]
print("Sold Median JPY:", summary["soldPriceStats"]["medianJpy"])
```

# Actor input Schema

## `queries` (type: `array`):

Keywords to search on Yahoo! Auctions Japan (Japanese or English, e.g. 'pokemon', 'ロレックス', 'Nintendo Switch', 'カメラ').

## `excludeKeyword` (type: `string`):

Space-separated words to exclude from search results (e.g. 'ジャンク 訳あり').

## `startUrls` (type: `array`):

Optional direct Yahoo! Auctions Japan active search, closed/sold search, category, or seller URLs.

## `mode` (type: `string`):

Choose active listings, sold/closed price history comps, or both in a single run.

## `maxItemsPerQuery` (type: `integer`):

Maximum number of auction items to scrape per keyword/mode (100 items per page).

## `sortBy` (type: `string`):

Sorting order on Yahoo! Auctions Japan.

## `listingType` (type: `string`):

Filter by auction format vs fixed-price / Flea Market buy-now listings.

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

Filter by new or used condition.

## `freeShippingOnly` (type: `boolean`):

When enabled, return only items with free shipping.

## `minPrice` (type: `integer`):

Optional minimum current/sold price filter in JPY.

## `maxPrice` (type: `integer`):

Optional maximum current/sold price filter in JPY.

## `minBids` (type: `integer`):

Optional minimum number of bids (useful for finding high-demand auctions).

## `categoryId` (type: `string`):

Optional numeric Yahoo! Auctions Japan category ID (e.g. '25826' for Trading Card Games).

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

Apify Proxy configuration. Japanese Residential Proxy is recommended on Apify Cloud because Yahoo! Japan restricts some non-Japanese datacenter IPs.

## Actor input object example

```json
{
  "queries": [
    "pokemon"
  ],
  "excludeKeyword": "",
  "startUrls": [],
  "mode": "active",
  "maxItemsPerQuery": 100,
  "sortBy": "default",
  "listingType": "all",
  "condition": "all",
  "freeShippingOnly": false,
  "categoryId": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "JP"
  }
}
```

# Actor output Schema

## `items` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "queries": [
        "pokemon"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dot888/yahoo-auctions-japan-scraper").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 = { "queries": ["pokemon"] }

# Run the Actor and wait for it to finish
run = client.actor("dot888/yahoo-auctions-japan-scraper").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 '{
  "queries": [
    "pokemon"
  ]
}' |
apify call dot888/yahoo-auctions-japan-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dot888/yahoo-auctions-japan-scraper"
        }
    }
}
```

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/nFtX5EPYevL4l7kE8/builds/mFga8Nvg2OpvgW4lW/openapi.json
