# Rakuten Japan Product Price & SKU Availability Watchlist (`jpmarketdata/rakuten-japan-product-watchlist`) Actor

Recheck known Rakuten Japan product URLs for current asking prices and source SKU availability. Export stable item/variant keys, tax basis and sold-out states. $0.003 per existing product including variants;404 failures are free.

- **URL**: https://apify.com/jpmarketdata/rakuten-japan-product-watchlist.md
- **Developed by:** [h ichi](https://apify.com/jpmarketdata) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 existing product observed (all variants included)s

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

## Rakuten Japan Product Price & SKU Availability Watchlist

Recheck known Rakuten Japan seller-product URLs and import current asking prices and source-advertised product/SKU availability. Includes sold-out products for restock monitoring and all source variants. One existing product observation costs $0.003; no per-variant or startup fee. Source-advertised availability is not guaranteed physical stock.

**Price**: $0.003 per delivered product observation.

### Input

`itemUrls` is required:1–20 canonical HTTPS item.rakuten.co.jp/shop/item/ URLs. Maximum20 unique products in input order; duplicate canonical URLs are read once. Only ordinary products with explicit cart and visible-SKU predicates are supported. Missing cart/hidden predicates or disabled cart contradicting apparent availability fail before charge; confirmed sold-out products remain valid observations. No search, category, cart, login, adult URLs, query parameters, fragments, userinfo, ports or other hosts. Save a Task to recheck the same list. Example: `https://item.rakuten.co.jp/e-earphone/4548736132566/`. No API key, login, browser or proxy is needed locally.

### Output

One `product_observation` row per existing product has sourceItemKey=shopId:itemId, canonicalUrl, shopCode, manageNumber, fetchedAt, priceJpy, availableOfferPriceJpy, currency=JPY, taxIncluded, sourceAvailability, purchaseCondition, gtinRaw, identityWarnings, variantCount, variants, postageIncluded . Variants contain variantId, sourceSkuId, selectorValues, priceJpy, sourceAvailability, stockCondition and gtinRaw. A root price may be null while variants have prices. Unavailable prices are never availableOfferPriceJpy. Article numbers are raw identifiers, not verified unique JANs. HTTP404 fails as a free acquisition error, never a zero price or sold-out observation. The standard overview includes complete variantsJson text and price/availability values; raw JSON retains the nested variants array. Repeated exports can be joined by sourceItemKey/variantId; no historical storage is supplied.

### Limits

At most20 products,1000 variants per product,21HTTP requests and300seconds per run; 25second request timeout, serial >=2second spacing plus applicable robots crawl delay. Over1000variants fails. Every returned existing product, including source-confirmed sold-out products, is one product-observed event at $0.003 including variants. HTTP404 failures are free. Acquisition, challenge403,429,timeout, malformed data, unknown stock state and identity mismatch fail and are not converted into empty success. The run may contain earlier delivered/charged products if a later URL fails. Charge budget exhaustion stops further delivery. No automatic retry, search/pagination, whole-market statistics, sold prices, checkout totals, purchasing, images, reviews, hidden stock counts or physical-stock guarantee.

### Privacy

Only public product facts and seller/product identifiers are retained. No cookies, session tokens, customer names, emails, phones, review authors/text, images or marketing descriptions are collected or exported. No authentication, private pages or challenge bypass. Public pages have restrictive rights notices; this tool is not endorsed or licensed by Rakuten.

### Export every SKU to CSV

Raw JSON retains the existing nested `variants` array. Each product also includes `variantsJson`, a complete JSON string with exactly the same array; `JSON.parse(variantsJson)` recovers every SKU and field. The overview view selects this one text column. Use `?format=csv&view=overview` for CSV so up to1000 variants stay inside one cell instead of exceeding the platform2000column flattening limit. This adds no SKU fee and does not truncate or change the nested records.

# Actor input Schema

## `itemUrls` (type: `array`):

1–20 canonical https://item.rakuten.co.jp/shop/item/ URLs; query, fragment, search and private URLs are rejected. Duplicate canonical URLs are observed once. Only products with explicit cart/visible-SKU predicates are supported; unknown predicates or disabled-cart availability contradictions fail. Confirmed sold-out products remain valid.

## Actor input object example

```json
{
  "itemUrls": [
    "https://item.rakuten.co.jp/e-earphone/4548736132566/"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

Product prices and source SKU availability.

# 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 = {
    "itemUrls": [
        "https://item.rakuten.co.jp/e-earphone/4548736132566/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jpmarketdata/rakuten-japan-product-watchlist").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 = { "itemUrls": ["https://item.rakuten.co.jp/e-earphone/4548736132566/"] }

# Run the Actor and wait for it to finish
run = client.actor("jpmarketdata/rakuten-japan-product-watchlist").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 '{
  "itemUrls": [
    "https://item.rakuten.co.jp/e-earphone/4548736132566/"
  ]
}' |
apify call jpmarketdata/rakuten-japan-product-watchlist --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jpmarketdata/rakuten-japan-product-watchlist"
        }
    }
}
```

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/SjbhG4tCt6SkXeNaO/builds/MvE64BVxFIbzggdLT/openapi.json
