# Yahoo Japan Scraper (`tortuga/yahoo-japan-scraper`) Actor

Yahoo! Shopping Japan products by keyword and category: item code, URL, name, price, shipping text, store, rating and review count, points and images. Yahoo! Auctions listings with bids and end time via the source option. Export to JSON or CSV, no login needed.

- **URL**: https://apify.com/tortuga/yahoo-japan-scraper.md
- **Developed by:** [Trevor Ortega](https://apify.com/tortuga) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.96 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Scraper

Scrape Yahoo! Shopping Japan (shopping.yahoo.co.jp) by keyword or category: item code, product URL, name, price, shipping text, store name, rating and review count, points and images. Switch the source to Yahoo! Auctions Japan to get auction listings with the current bid, bid count, buy-now price and end time. No login or API key.

### What data do you get?

| Field | Description |
| --- | --- |
| `source` | `shopping` or `auctions` |
| `itemCode` | Shopping: `<store>_<product code>`; Auctions: the auction id |
| `url`, `name` | Item page and title |
| `price`, `currency` | Price in yen (auctions: current bid) |
| `effectivePrice`, `points`, `pointRate` | Shopping: price minus the Yahoo points earned, the points, and the total point rate |
| `originalPrice`, `discountRate` | Shopping: list price and discount when shown |
| `shippingText`, `freeShipping`, `shippingFee` | Delivery text as shown ("最短11/19お届け"), free-shipping flag, auction shipping fee |
| `storeName`, `storeCode`, `storeRating` | Shopping store |
| `rating`, `reviewCount` | Shopping item rating (null when the item has no reviews) |
| `brand`, `condition` | Yahoo's brand label; `new` or `used` |
| `imageUrl`, `images` | Image URLs |
| Auctions: `bidCount`, `watchCount`, `startTime`, `endTime`, `buyNowPrice`, `startingPrice`, `sellerGoodRating`, `sellerType`, `categoryPath`, `prefectureCode`, `conditionGrade` | Auction details |
| `keyword` | The keyword that found the item |

### Input

```json
{
  "keywords": ["iphone", "ノートパソコン"],
  "source": "shopping",
  "maxItems": 100,
  "maxPrice": 100000
}
```

- `keywords`: one per line, Japanese or English.
- `source`: `shopping` (default) or `auctions`.
- `categoryId`: optional category number (the number in a Shopping category URL, or `auccat` for Auctions).
- `startUrls`: Yahoo! Shopping or Yahoo! Auctions search URLs instead of keywords.
- `minPrice`, `maxPrice`: price band in yen, applied while reading.

### Output example

```json
{
  "source": "shopping",
  "itemCode": "jcka-mobile2_4549995677539",
  "url": "https://store.shopping.yahoo.co.jp/jcka-mobile2/4549995677539.html",
  "name": "Apple iPhone17e 256GB ホワイト 新品未開封",
  "price": 126800,
  "effectivePrice": 122133,
  "currency": "JPY",
  "shippingText": "最短明日お届け",
  "freeShipping": true,
  "storeName": "ジェーシカモバイル2号店",
  "rating": 5,
  "reviewCount": 76,
  "points": 4667,
  "pointRate": 4,
  "condition": "new"
}
```

### Pricing

| Event | Price |
| --- | --- |
| Item | $0.0012 per item ($1.20 per 1,000) |
| Actor start | $0.00005 per run |

Platform usage, including the residential proxy for Yahoo! Shopping, is included (measured at about $0.04 per 1,000 Shopping items and under $0.01 per 1,000 Auctions items). Silver, Gold and higher Apify plans get 10-20% off.

### Monitor changes on a schedule

Turn on "Only new or changed items" and save the input as a Task with a Schedule. The Actor remembers what the previous run returned for the same search and outputs only new items or items whose price changed; unchanged items are not charged. Items carry `changeType` (`new` or `changed`) and, for changed ones, `previousValues`. Use "Monitoring name" to keep several schedules on the same search apart.

### Proxy note

Yahoo! Shopping only answered Japanese residential IPs in our tests (datacenter IPs got an error page), so the default proxy is Apify residential with country JP. Yahoo! Auctions also works with the default datacenter proxy: choose it in the Proxy field for the cheapest runs. Each Shopping page is about 1 MB of proxy traffic for 44 items.

### FAQ

#### How do I scrape Yahoo Shopping Japan prices?

Enter a keyword and run. `price` is the listed price in yen and `effectivePrice` is the price after the Yahoo points the buyer earns.

#### Can I scrape Yahoo Auctions too?

Yes. Set `source` to `auctions` or paste an auctions.yahoo.co.jp search URL. You get the current price, bids, watchers, buy-now price and end time. Seller names are masked by Yahoo and are returned only when shown.

#### How many items can I get per keyword?

Yahoo! Shopping lists up to 50 pages of 44 items per search; Auctions pages hold 50 items. Use categories or price bands to split larger jobs.

#### Do I need a Yahoo account?

No. Only public search pages are read.

#### Does it support Japanese keywords?

Yes, keywords are sent as written, so Japanese and English both work.

# Actor input Schema

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

Search words, one per line, in Japanese or English (for example iphone or ノートパソコン). A plain text value also works.

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

shopping searches Yahoo! Shopping Japan (shops and stores). auctions searches Yahoo! Auctions Japan (bids, end time, buy-now price).

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

Restrict the search to one category: the number in a Shopping category URL (shopping.yahoo.co.jp/search/<keyword>/<categoryId>/) or the auccat value of an Auctions URL.

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

Yahoo! Shopping or Yahoo! Auctions search URLs. The keyword and category are read from the URL; the source follows the address.

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

Stop after this many items in total. Shopping returns about 44 items per page, Auctions 50.

## `minPrice` (type: `number`):

Only items priced at or above this amount in yen (the current bid for auctions). Applied while reading the results.

## `maxPrice` (type: `number`):

Only items priced at or below this amount in yen.

## `onlyNewOrChanged` (type: `boolean`):

Remember what earlier runs of this search returned and output only new items or items whose price changed. Use with a Schedule; unchanged items are not charged.

## `monitoringKey` (type: `string`):

Name for this watch, so several schedules on the same search stay separate; defaults to a key derived from the search input.

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

Yahoo! Shopping only answers Japanese residential IPs (datacenter IPs get an error page), so the default is Apify residential proxy with country JP. Yahoo! Auctions also works with datacenter IPs, which is cheaper.

## Actor input object example

```json
{
  "keywords": [
    "iphone"
  ],
  "source": "shopping",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "JP"
  }
}
```

# Actor output Schema

## `results` (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": [
        "iphone"
    ],
    "source": "shopping",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "JP"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tortuga/yahoo-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 = {
    "keywords": ["iphone"],
    "source": "shopping",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "JP",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("tortuga/yahoo-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 '{
  "keywords": [
    "iphone"
  ],
  "source": "shopping",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "JP"
  }
}' |
apify call tortuga/yahoo-japan-scraper --silent --output-dataset

```

## MCP server setup

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