# Yahoo Japan Auctions Scraper (`piotrv1001/yahoo-japan-auctions-scraper`) Actor

The Yahoo Japan Auctions Scraper extracts sold prices from the last 180 days and live listings from Yahoo! Auctions Japan by keyword: final price, bids, auction/fixed-price/flea-market type, condition, category and seller rating, past the 15,000-result limit — for resale pricing.

- **URL**: https://apify.com/piotrv1001/yahoo-japan-auctions-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 items

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/running/actors-in-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 Japan Auctions Scraper

Get real sold prices and live listings from **Yahoo! Auctions Japan** (ヤフオク!), Japan's largest auction marketplace. The **Yahoo Japan Auctions Scraper** searches by keyword and returns final prices, bid counts, condition, category, seller rating and end times. Every item is labelled as an **auction**, a **fixed-price** sale or a **flea-market** sale, so you compare like with like.

### ✨ Features

- 💴 **Sold prices (last ~180 days)**: Final prices of ended auctions and completed sales, newest first. Built for resale pricing, arbitrage and market research.
- 🔨 **Live listings**: Current price, bids, buy-now price, time left and end time for items on sale now.
- 🏷️ **Sale type on every row**: `auction`, `fixedPrice` or `fleamarket`. Nearly half of Yahoo's "sold" results are fixed-price or flea-market sales, not auctions.
- 📚 **Full history, not just the first 15,000**: Yahoo only lets you page through 15,000 results per search. Ask for more and the scraper splits the search into price ranges automatically.
- 📅 **Sold-after date**: Only the sales you haven't collected yet.
- 🔍 **Filters**: Price range in yen and category ID.
- 🧾 **Clean data**: ISO timestamps (Japan time), numeric prices, condition code plus an English label, full category path and working links (flea-market items link to PayPay Flea Market).

### 🛠️ How It Works

1. **Enter keywords**: Japanese or English, e.g. `nintendo switch`, `ポケモンカード`, `rolex`.
2. **Pick sold or live results** and, optionally, a price range, category and "sold after" date.
3. **Run the scraper**: Get one row per item, ready to export as JSON, CSV or Excel.

### 💰 Pricing

| Event | Price  | When            |
| ----- | ------ | --------------- |
| Item  | $0.001 | Each item saved |

1,000 items cost $1.

### 📊 Sample Output Data

Sold mode: an auction and a flea-market sale.

```json
[
    {
        "keyword": "nintendo switch",
        "mode": "sold",
        "auctionId": "e1245729544",
        "url": "https://auctions.yahoo.co.jp/jp/auction/e1245729544",
        "title": "Nintendo Switch ポケットモンスター シールド",
        "saleType": "auction",
        "price": 2400,
        "bids": 3,
        "buyNowPrice": 2400,
        "startPrice": 1500,
        "condition": "No noticeable scratches or stains",
        "conditionCode": "USED20",
        "categoryId": "2084315795",
        "category": "ニンテンドースイッチソフト",
        "categoryPath": [
            "おもちゃ、ゲーム",
            "ゲーム",
            "テレビゲーム",
            "ニンテンドースイッチ",
            "ニンテンドースイッチソフト"
        ],
        "startTime": "2026-09-24T12:23:36+09:00",
        "endTime": "2026-09-25T01:04:41+09:00",
        "timeLeft": null,
        "sellerRating": 100,
        "sellerIsStore": false,
        "freeShipping": true,
        "watchers": 3,
        "image": "https://auc-pctr.c.yimg.jp/i/auctions.c.yimg.jp/images.auctions.yahoo.co.jp/image/dr000/auc0209/user/717c070a5b6063f5a7cb6ec59fc329bf8c6d77045f4a454348db10d422703ab1/i-img1200x1200-17902200137113lmnukn167383.jpg?pri=l&w=300&h=300&up=0&nf_src=sy&nf_path=images/auc/pc/top/image/1.0.3/na_170x170.png&nf_st=200",
        "scrapedAt": "2026-09-24T17:40:00.000Z"
    },
    {
        "keyword": "nintendo switch",
        "mode": "sold",
        "auctionId": "z690998938",
        "url": "https://paypayfleamarket.yahoo.co.jp/item/z690998938",
        "title": "Nintendo Switch Proコントローラー 純正 ブラック HAC-013",
        "saleType": "fleamarket",
        "price": 3999,
        "bids": 1,
        "buyNowPrice": 3999,
        "startPrice": 3999,
        "condition": "Like new",
        "conditionCode": "USED10",
        "categoryId": "2084315796",
        "category": "ニンテンドースイッチアクセサリー",
        "categoryPath": [
            "おもちゃ、ゲーム",
            "ゲーム",
            "テレビゲーム",
            "ニンテンドースイッチ",
            "ニンテンドースイッチアクセサリー"
        ],
        "startTime": "2026-09-24T23:04:45+09:00",
        "endTime": "2026-09-25T02:10:29+09:00",
        "timeLeft": null,
        "sellerRating": 100,
        "sellerIsStore": false,
        "freeShipping": true,
        "watchers": 2,
        "image": "https://auc-pctr.c.yimg.jp/i/auctions.c.yimg.jp/images.auctions.yahoo.co.jp/image/dr000/auc0209/users/678a3f432b72a975d300bd24cc389a333f323140/i-img1200x739-1790258501068k47six.jpg?pri=l&w=300&h=300&up=0&nf_src=sy&nf_path=images/auc/pc/top/image/1.0.3/na_170x170.png&nf_st=200",
        "scrapedAt": "2026-09-24T17:40:00.000Z"
    }
]
```

### ❓ Good to Know

- **Sold results cover about the last 180 days.** That is how long Yahoo keeps them.
- **`price`** is the final price for sold items and the current price for live items, in Japanese yen.
- **Condition codes** follow Yahoo's six grades: `NEW`, `USED10` (like new), `USED20`, `USED40`, `USED60`, `USED80` (poor). Live results do not include condition.
- **Seller names** are hidden by Yahoo and are not included. Seller rating and store/individual status are.
- **Over 15,000 items per keyword** are collected across price ranges, so they are not in strict date order.
- **Yahoo Japan is not available from the EU and UK.** The default proxy works; don't choose European proxy countries.

Price your items with real Japanese sold data using the **Yahoo Japan Auctions Scraper** today! 🚀

# Actor input Schema

## `keywords` (type: `array`):

Search words in Japanese or English, e.g. `nintendo switch`, `ポケモンカード`, `rolex`. Each keyword is searched separately.

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

**Sold** returns ended auctions and completed sales from the last ~180 days with final prices. **Live** returns items currently for sale.

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

Maximum number of items to save for each keyword, newest first in sold mode. Above 15,000 the search is split into price ranges to go beyond Yahoo's page limit, and results are no longer strictly newest first.

## `soldAfter` (type: `string`):

Sold mode only: save only items that ended on or after this date. Yahoo keeps about 180 days of results.

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

Only save items priced at or above this amount in Japanese yen.

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

Only save items priced at or below this amount in Japanese yen.

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

Optional Yahoo Auctions category ID to search within, e.g. `2084315793` (Nintendo Switch). Find it in a category page URL on auctions.yahoo.co.jp.

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

Proxy servers used to reach Yahoo Auctions. Yahoo Japan is not available from the EU and UK, so do not pick European proxy countries.

## Actor input object example

```json
{
  "keywords": [
    "nintendo switch"
  ],
  "mode": "sold",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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 = {
    "keywords": [
        "nintendo switch"
    ],
    "mode": "sold",
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/yahoo-japan-auctions-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 = {
    "keywords": ["nintendo switch"],
    "mode": "sold",
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/yahoo-japan-auctions-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 '{
  "keywords": [
    "nintendo switch"
  ],
  "mode": "sold",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call piotrv1001/yahoo-japan-auctions-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/yahoo-japan-auctions-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/HxEbVs04epgfKbBNi/builds/Tq8lq0DAjegzop45Z/openapi.json
