# Yahoo! Shopping Japan Scraper & Market Intelligence (`jp-data/yahoo-shopping-japan-market-intelligence`) Actor

Scrape Yahoo! Shopping Japan products with PayPay effective net prices, shipping & point rates, Japanese localization risk scores, and seller opportunity analytics.

- **URL**: https://apify.com/jp-data/yahoo-shopping-japan-market-intelligence.md
- **Developed by:** [Chief Eastwood](https://apify.com/jp-data) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 products extracted & analyzed

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! Shopping Japan Scraper & Market Intelligence

Extract rich, structured product data, **PayPay net effective prices**, buyer **review tags**, **30-day order signals**, and automated **Japanese Listing Localization & Seller Opportunity Scores** from **Yahoo! Shopping Japan (`shopping.yahoo.co.jp`)** — without slow headless browsers.

Built for **Japan e-commerce sellers (Amazon JP, Rakuten, Yahoo! Shopping)**, cross-border researchers, price-tracking pipelines, and **AI Agents / MCP workflows**.

***

### Why Use This Actor?

Most scrapers only dump raw titles and list prices. This Actor delivers **decision-ready Japanese e-commerce intelligence**:

1. **Ultra-Fast & Browserless**: Parses Yahoo! Shopping Japan's structured server payload directly over HTTP — ~10× faster and far cheaper to run than browser-based scrapers.
2. **True Net Price After PayPay Points**: Captures both list price (`priceJpy`) and real checkout value (`effectivePriceJpy`, `paypayPointRate`, `paypayPointValue`).
3. **Clean Canonical URLs + Ad Detection**: Automatically unwraps Yahoo ad click-redirect links into clean `store.shopping.yahoo.co.jp` URLs and accurately flags `isSponsored: true/false`.
4. **Built-In Japanese Localization Risk Audit (`localizationRiskScore`)**: Flags keyword-stuffed, bracket-spammed, or poorly localized cross-border listings (`0` = native Japanese quality, `100` = heavy localization weakness).
5. **Seller Opportunity Scoring (`sellerOpportunityScore`)**: Automatically surfaces high-demand niches with healthy margins (¥2,000–¥8,000), weak competitor ratings, missing product videos (`hasMovie: false`), or poor Japanese copy.
6. **Keyword Market Summary (`OUTPUT` Key-Value Store)**: Generates per-keyword median/average prices, sponsored share %, video adoption %, weak-localization share %, and Top 5 opportunity items.
7. **AI Agent & MCP Ready**: Flat, clean JSON schema with working default inputs ("Run with Defaults" returns 30 enriched items in seconds).

***

### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `keywords` | `string[]` | `["猫 おもちゃ"]` | Japanese or English search keywords |
| `maxItemsPerKeyword` | `integer` | `30` | Products to extract per keyword (`1`–`1000`) |
| `sortBy` | `string` | `"relevance"` | `relevance`, `fast_delivery`, `review_count`, `review_score`, `price_asc`, `price_desc`, `total_price_asc`, `discount_desc` |
| `minPriceJpy` | `integer` | *(optional)* | Minimum price filter in JPY |
| `maxPriceJpy` | `integer` | *(optional)* | Maximum price filter in JPY |
| `excludeSponsored` | `boolean` | `false` | Filter out sponsored/PR listings |
| `includeMarketIntelligence` | `boolean` | `true` | Include `localizationRiskScore` & `sellerOpportunityScore` |
| `proxyConfiguration` | `object` | `Apify Residential (JP)` | Apify Proxy configuration (defaults to Japan Residential proxy for reliable global access) |

***

### Sample Output (Dataset Item)

```json
{
  "keyword": "猫 おもちゃ",
  "rankPosition": 1,
  "itemId": "john-coco_2415490",
  "title": "レザーバウンサー 大きめの猫じゃらし ねこじゃらし オモチャ",
  "priceJpy": 2811,
  "effectivePriceJpy": 2479,
  "paypayPointRate": 13,
  "paypayPointValue": 332,
  "reviewAverage": 4.75,
  "reviewCount": 8,
  "reviewTags": ["丈夫", "使いやすい", "軽い"],
  "orderItems30d": "",
  "isSponsored": true,
  "hasMovie": true,
  "freeShipping": false,
  "inStock": true,
  "brandName": "PURRfect",
  "storeName": "犬と猫のJohn&Coco’ジョン&ココ’",
  "isBestStore": false,
  "isGoodDelivery": true,
  "localizationRiskScore": 0,
  "localizationFlags": [],
  "sellerOpportunityScore": 48,
  "opportunityReasons": [
    "sweet_spot_margin_price_2000_8000_jpy",
    "validated_niche_demand"
  ],
  "productUrl": "https://store.shopping.yahoo.co.jp/john-coco/2415490.html"
}
```

In addition, check the **Key-Value Store → `OUTPUT`** tab after any run for the aggregated `marketSummaries` JSON report across all keywords.

***

### Pricing (Transparent Pay-Per-Event)

You only pay for successfully extracted products — no idle browser compute waste:

- **Actor start**: $0.005 per run
- **Product extracted & analyzed**: $0.004 per product (**~$4.00 per 1,000 enriched products**)

Free-tier Apify users can run sample extractions immediately with their monthly free credit.

***

### Use Cases

- **Amazon Japan & Rakuten Sellers**: Spot high-demand Japanese categories where existing listings have weak localization or no product video.
- **Cross-Border Pricing & PayPay Monitoring**: Track real post-point net prices across Yahoo! Shopping Japan stores.
- **AI Agents & MCP Pipelines**: Feed structured Japanese e-commerce market snapshots directly into Claude, Gemini, or GPT agents.

# Actor input Schema

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

One or more search queries to scrape on Yahoo! Shopping Japan (e.g. '猫 おもちゃ', 'ペット 自動給餌器', '防災セット').

## `maxItemsPerKeyword` (type: `integer`):

Maximum number of products to extract per keyword. Leave at 30 for a fast sample run or increase up to 1000 for deep market research.

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

Sorting mode matching Yahoo! Shopping Japan native search ranking.

## `minPriceJpy` (type: `integer`):

Optional lower price filter in Japanese Yen (e.g. 1500).

## `maxPriceJpy` (type: `integer`):

Optional upper price filter in Japanese Yen (e.g. 10000).

## `excludeSponsored` (type: `boolean`):

Skip PR / sponsored ad placements and return only organic search results.

## `includeMarketIntelligence` (type: `boolean`):

Compute localizationRiskScore (detects keyword-stuffed or machine-translated Japanese listings) and sellerOpportunityScore (flags high-demand, weak-competition products for Amazon JP / Rakuten / Yahoo sellers).

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

Apify Proxy settings. Yahoo! Shopping Japan restricts overseas datacenter IPs, so Japan (JP) Residential proxy is enabled by default for reliable global runs.

## Actor input object example

```json
{
  "keywords": [
    "猫 おもちゃ"
  ],
  "maxItemsPerKeyword": 30,
  "sortBy": "relevance",
  "excludeSponsored": false,
  "includeMarketIntelligence": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "JP"
  }
}
```

# Actor output Schema

## `productsDataset` (type: `string`):

Dataset containing all extracted Yahoo! Shopping Japan products with PayPay effective prices, review tags, localizationRiskScore, and sellerOpportunityScore.

## `marketSummary` (type: `string`):

Aggregated market intelligence report (average/median JPY prices, video adoption %, weak localization %, and top 5 opportunities per keyword).

# 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": [
        "猫 おもちゃ"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jp-data/yahoo-shopping-japan-market-intelligence").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": ["猫 おもちゃ"] }

# Run the Actor and wait for it to finish
run = client.actor("jp-data/yahoo-shopping-japan-market-intelligence").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": [
    "猫 おもちゃ"
  ]
}' |
apify call jp-data/yahoo-shopping-japan-market-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jp-data/yahoo-shopping-japan-market-intelligence"
        }
    }
}
```

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/ciNgtQOTA96Ahe8UK/builds/9xWgPEfLJxRzhriVV/openapi.json
