# Yahoo! Shopping Japan Price Watch (Yahoo!ショッピング) (`superslowsloth/yahooshoppingjapan-products`) Actor

Yahoo!ショッピング (shopping.yahoo.co.jp) search by keyword or JAN barcode: price, points-adjusted price, discount, store, rating, JAN code, brand, delivery, used/pre-order flags and a product id grouping every store's offer. Built for JP price watch and new-listing alerts.

- **URL**: https://apify.com/superslowsloth/yahooshoppingjapan-products.md
- **Developed by:** [Superslow Sloth](https://apify.com/superslowsloth) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 product scrapeds

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! Shopping Japan Price Watch (Yahoo!ショッピング)

Searches [Yahoo!ショッピング](https://shopping.yahoo.co.jp/) (shopping.yahoo.co.jp),
Japan's largest shopping mall, for each **keyword or JAN barcode** you give it
and returns one flat row per **store offer**: price, the price after Yahoo
points, discount, JAN code, brand, store and its rating, the item's review
score, delivery promise, used / pre-order flags, and a product id that groups
every store's offer of one product.

Yahoo! Shopping is a mall, so one product is sold by many stores at many prices.
Type a JAN code as the keyword (`4904810070665`) and you get every store's offer
of exactly that product, which is the price-watch case. Run the same keywords on
a schedule and compare `item_id` (a new offer) and `price_jpy` (a changed price)
against the last run, which is the new-listing alert case.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `keywords` | array | `ポケモンカード` | Search terms as you would type them into the site, or JAN codes (8 or 13 digits). Each is searched separately. |
| `maxItems` | integer | `100` | Offers to return **per keyword**, 1 to 1,500. Yahoo! Shopping lists at most 1,500 rows (50 pages of 30) for any search. |
| `sort` | string | `relevance` | The site's own sort: `relevance`, `price_asc`, `price_desc`, `price_shipping_asc`, `review_count`, `review_score`, `discount`. |
| `includeSponsored` | boolean | `false` | Also return paid placements, flagged `is_sponsored`. See below. |
| `proxyConfiguration` | object | Apify residential, country JP | See Proxy below. |

Yahoo! Shopping has no newest-first sort, so a new-listing alert is a scheduled
run plus a comparison of `item_id` against the previous run's dataset.

### What one row contains

| Field | Notes |
|---|---|
| `query`, `position`, `page` | The keyword that found the offer, its rank in Yahoo's own list for that keyword and sort (the site's own numbering, 30 ranked rows a page), and the result page it came from. `position` is `null` for a sponsored row, which has no rank. |
| `item_id`, `store_id`, `item_code` | Yahoo's id for the listing is `<store_id>_<item_code>`; `item_id` is the row key. `item_code` is the store's own code and is often, not always, the JAN code. |
| `name`, `url`, `image_url` | The listing's title, its page on store.shopping.yahoo.co.jp without tracking parameters, and its first image. |
| `jan_code` | The 8- or 13-digit barcode when the listing carries one, otherwise `null`. Measured 2026-11-18: 99 of 159 rows had one; sponsored rows and many store-bundled listings have none. It is what the store typed, so a store's placeholder such as `0000000000000` comes through as sent. |
| `brand`, `brand_id` | As Yahoo prints them. |
| `price_jpy` | The listed price in whole yen, tax included. |
| `price_after_points_jpy`, `point_jpy`, `point_rate_percent` | Yahoo's "actual price" and the points behind it: `price_after_points_jpy` equals `price_jpy - point_jpy` (true of all 159 rows checked). Points are a rebate paid later, so this is **not** what is charged at checkout. |
| `original_price_jpy`, `discount_percent` | The pre-sale price and the discount badge, when the store marks the listing as reduced; `null` otherwise. |
| `shipping_condition`, `delivery_text` | `"FREE"` when the page marks free shipping, otherwise `null` (the page says nothing, which is not the same as "shipping is charged"). `delivery_text` is the promise as printed, e.g. `最短11/20お届け`. |
| `review_average`, `review_count` | The item's own review score and count; `null` for an item with no reviews, never 0. |
| `store_name`, `store_rating`, `store_review_count`, `is_best_store` | The selling store, its rating and review count, and Yahoo's best-store badge. |
| `category_ids` | Yahoo's category ids, root first; an empty list when none are sent. |
| `catalog_id` | The id of Yahoo's product page (`shopping.yahoo.co.jp/products/<id>`) that groups every store's listing of one product. `null` when Yahoo has not matched the listing to a product. Group on this to compare stores. |
| `variation_count`, `product_type` | How many colour/size variants the listing shows (`null` when none) and `Normal` or `EBook`. |
| `is_used`, `is_preorder`, `is_refurbished` | Yahoo's own labels (`中古`, `予約`, a refurbished flag). `is_used` and `is_preorder` are `null` on a row that carries no labels, not `false`. |
| `is_sponsored` | `true` for a paid placement. |

#### Null, never zero

A field the page does not send is `null`, never `0`. A listing with no reviews
has `review_count: null`, not a zero-star review, and a listing with no barcode
has `jan_code: null`.

### Sponsored rows

On a busy search the first page mixes in paid placements ("Item Reach" ads):
14 of the 44 rows for `ポケモン` on 2026-11-18. They are real offers with a real
price, but they come and go from one request to the next, carry no JAN code and
have no rank, which makes a new-listing alert flap. They are skipped by default
(and not charged); set `includeSponsored` to return them, with `is_sponsored:
true`, `position: null` and the real store URL read out of Yahoo's click-tracking
link.

### How it pages

A keyword is read page by page from
`https://shopping.yahoo.co.jp/search/<keyword>/0/<page>/`, with the sort as
`?X=<n>`: 30 ranked rows a page, at most 50 pages. A keyword that matches more
than 1,500 rows is capped there by the site, however large the match count, and
the run logs it. A page past the last is served by Yahoo as the last page again,
so the walk stops when the page the site reports differs from the page asked
for. An offer found by two keywords of one run is returned and charged once,
under the first keyword.

A keyword with no match (Yahoo's own "zero match" notice) is an honest empty
result: it is logged, nothing is charged for it beyond the start fee, and the
run carries on with the rest.

### Proxy

**Residential, pinned to Japan (`apifyProxyCountry: "JP"`). Both parts matter.**
Measured on the Apify platform on 2026-11-18, ten requests each, accepted only
when the page carried the product list (`"janCode":"` followed by a digit):

| Route | Result |
|---|---|
| Datacenter | 0 of 10 (HTTP 500 every time) |
| Residential, no country | 0 of 10 |
| Residential, JP | 10 of 10 |

An HTTP 500, 403 or 429, or a 200 without the product list in the page, is read
as a refusal and retried from a different exit address, never as an empty result.
If every page of every keyword is refused the run ends FAILED instead of
SUCCEEDED over an empty dataset.

### Pricing

Pay per event:

- **$0.002** per run (`actor-start`), charged only after your input is
  validated, so a run that fails on bad input costs nothing.
- **$0.0021** per product written (`product-scraped`)

That is $2.10 per 1,000 offers. A row that is not written is not charged:
sponsored rows (unless `includeSponsored` is on) and repeats of an offer another
keyword already returned are free. A run stops as soon as it reaches your
spending limit; everything already pushed and charged stays in the dataset.

# Actor input Schema

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

Search terms exactly as you would type them into shopping.yahoo.co.jp, one per entry, for example "ポケモンカード" or "Nintendo Switch". A JAN barcode (8 or 13 digits, e.g. "4904810070665") is a valid term and returns every store's offer of that one product, which is the price-watch case. Each keyword is searched separately; an offer found by two keywords is returned once, under the first.

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

Stop after this many offers for each keyword. One offer is one billed row. Yahoo! Shopping lists at most 1,500 rows (50 pages of 30) for any search, however many match, so 1,500 is the ceiling.

## `sort` (type: `string`):

The order Yahoo! Shopping lists the results in, using the site's own sort control. Relevance is the default; the price sorts are what a price watch wants. Yahoo! Shopping has no newest-first sort, so to find new listings run the same keywords on a schedule and compare item_id against the previous run.

## `includeSponsored` (type: `boolean`):

Yahoo! Shopping mixes paid placements into the first page of busy searches (14 of 44 rows for "ポケモン"). They are real offers with a price, but they come and go between requests, carry no JAN code and have no rank, which makes a new-listing alert noisy. Off by default; turn on to return them too, flagged is_sponsored.

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

Residential, pinned to Japan, and neither part is optional. Measured on the Apify platform 2026-11-18, 10 requests each, checked for the product list in the page: datacenter 0 of 10 (HTTP 500 every time), residential with no country 0 of 10, residential pinned to JP 10 of 10. Changing the group or the country will most likely produce a failed run.

## Actor input object example

```json
{
  "keywords": [
    "ポケモンカード"
  ],
  "maxItems": 25,
  "sort": "relevance",
  "includeSponsored": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "JP"
  }
}
```

# Actor output Schema

## `offers` (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": [
        "ポケモンカード"
    ],
    "maxItems": 25,
    "sort": "relevance",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "JP"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("superslowsloth/yahooshoppingjapan-products").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": ["ポケモンカード"],
    "maxItems": 25,
    "sort": "relevance",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "JP",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("superslowsloth/yahooshoppingjapan-products").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": [
    "ポケモンカード"
  ],
  "maxItems": 25,
  "sort": "relevance",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "JP"
  }
}' |
apify call superslowsloth/yahooshoppingjapan-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,superslowsloth/yahooshoppingjapan-products"
        }
    }
}
```

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/TA7NLt5dM3J55On0B/builds/8mizkXLK8sLlU6ZGv/openapi.json
