# Rakuten Japan Scraper | Ichiba Listings Prices (`lentic_clockss/rakuten-scraper`) Actor

Scrape Rakuten Japan (Ichiba) — keyword search, genres, item PDP, shops & rankings. Extract itemId, JPY prices, shop codes, shipping, points, reviews. Export Excel/CSV/JSON for price monitoring & catalog research.

- **URL**: https://apify.com/lentic\_clockss/rakuten-scraper.md
- **Developed by:** [kane liu](https://apify.com/lentic_clockss) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Rakuten Japan Scraper | Ichiba Listings Prices

**Scrape Rakuten Japan (楽天市場 / Ichiba) product listings — keyword search, genres, item PDP, shops, and rankings — then export structured marketplace data as Excel, CSV, or JSON.**

Use this Actor as a practical **Rakuten Ichiba data API** for price monitoring, assortment research, and seller tracking on [www.rakuten.co.jp](https://www.rakuten.co.jp/) / [search.rakuten.co.jp](https://search.rakuten.co.jp/). Choose a mode, set sort and filters, and get Dataset rows with `itemId`, `manageNumber`, `shopUrlCode`, JPY prices, shipping, points, and reviews.

- Scrape **Rakuten Japan search**, **genre PLPs**, **item detail pages (PDP)**, **shop pages**, **daily/realtime rankings**, and **genre taxonomy** (BFS)
- Hosts: **Ichiba Japan only** (`search` / `item` / `www` / `ranking` · `rakuten.co.jp`)
- Extract **itemId, manageNumber, shopUrlCode, title, price (JPY), shipping, points, reviewScore / reviewCount, imageUrl**
- Filter with **sort** (price / newest / reviews), **minPrice / maxPrice**, **facets** (`free_shipping`, `super_deal`, …), and **tags**
- Optional **PDP enrich** (`itemInfoSku`) and light **review snippets** (`enrichReviews`)
- Export to **Excel / CSV / JSON**, or connect Make, n8n, Zapier, Python, or the Apify API
- **Pay per event** — Actor start + each Dataset result; **platform usage is included** (you do not pay separate Apify compute on top)

> **Unofficial tool.** This Actor is not affiliated with, endorsed by, or sponsored by Rakuten Group, Inc. It collects publicly reachable Ichiba listing surfaces and does **not** log in, checkout, or access private accounts. Global `www.rakuten.com` and unmeasured verticals (ラクマ / トラベル / ブックス / 楽天24) are out of scope.

---

### What does the Rakuten Japan Scraper do?

[Rakuten Japan Scraper](https://apify.com/lentic_clockss/rakuten-scraper) lets you **extract structured product and shop data from [Rakuten Ichiba](https://www.rakuten.co.jp/)** without running your own proxy and browser fleet. Give it a keyword, `genreId`, shop code, item URL, or ranking genre, then start a run.

Under the hood, the Actor:

1. Validates your input (mode, keyword / genre / shop / item, sort & filters)
2. Enforces free-tier caps when you are on a free Apify plan
3. Calls a managed Cloud Run worker that fetches Ichiba with JP residential egress
4. Parses embedded `ichibaSearch` SERP JSON and PDP `itemInfoSku`
5. Pushes Dataset rows ready for Excel / CSV / JSON export
6. Writes `RUN_SUMMARY` (and `ERROR_SUMMARY` on failure) to the key-value store

You run it like any other Apify Actor — schedule it, call it from the API, or plug it into automations.

---

### What Rakuten Ichiba data can I extract?

| Data | Search | Genre PLP | Item PDP | Shop | Ranking | Categories |
| --- | :---: | :---: | :---: | :---: | :---: | :---: |
| itemId / manageNumber / URL | ✅ | ✅ | ✅ | ✅ | ✅ | — |
| Title / name | ✅ | ✅ | ✅ | ✅ | ✅ | genre name |
| Price / currency (JPY) | ✅ | ✅ | ✅ | ✅* | ✅* | — |
| shopUrlCode / shopName / shopId | ✅ | ✅ | ✅ | ✅ | ✅ | — |
| shipping / points | ✅ | ✅ | enrich | enrich | enrich | — |
| reviewScore / reviewCount / reviewUrl | ✅ | ✅ | ✅ | — | enrich | — |
| imageUrl / images | ✅ | ✅ | ✅ | ✅* | ✅* | — |
| tags / superDeal / genreIds | ✅ | ✅ | enrich | — | — | — |
| rankingRank | — | — | — | — | ✅ | — |
| genre tree (id, depth, leaf) | — | — | — | — | — | ✅ |

\*Shop / ranking list cards may include nearby price/image when present in HTML; use `enrichDetails` for full PDP fields.

---

### Why scrape Rakuten Japan / Ichiba?

Rakuten Ichiba is Japan’s largest online marketplace — fashion, electronics, food, household goods, and more across thousands of shops. Teams scrape Rakuten Japan for **price monitoring**, **catalog / assortment research**, **competitor tracking**, and **ranking discovery**:

- Monitor **keyword search** and **genre PLPs** with sort, price band, and facets (送料無料 / スーパーDEAL)
- Track **JPY prices**, shipping, **Rakuten points**, and review scores
- Pull **item PDP** identity (`shopUrlCode` + `manageNumber` + numeric ids) for stable joins
- Discover winners via **ranking.rakuten.co.jp** (daily / realtime / weekly / monthly)
- Map the **genre taxonomy** for category planning
- Feed BI dashboards, pricing tools, Google Sheets, BigQuery, or AI agents with clean rows

Compared with keyword-only or URL-only Rakuten scrapers, this Actor covers **search + genres + item PDP + shops + rankings + taxonomy** with verified SERP filters in one input surface.

---

### How to scrape Rakuten Ichiba (no code required)

1. Create a free [Apify](https://apify.com/) account
2. Open [Rakuten Japan Scraper](https://apify.com/lentic_clockss/rakuten-scraper)
3. Choose a **mode**: `search`, `item`, `shop`, `ranking`, or `categories`
4. Enter a **keyword**, **genreId**, **shopUrlCode** + **manageNumber**, or ranking genre
5. *(Optional)* Set `sort`, `minPrice` / `maxPrice`, `filters` (`free_shipping`, `super_deal`), `tags`, `enrichDetails`, `enrichReviews`, `maxResults`
6. Click **Start** and download the Dataset as JSON, CSV, Excel, or JSONL

Start with `maxResults: 5–15` to verify the query, then scale up.

---

### How much does it cost to scrape Rakuten Japan?

This Actor uses **pay-per-event** pricing. You are charged for:

| Event | Price |
| --- | --- |
| Actor Start (`apify-actor-start`) | **$0.005** per start |
| Result (`apify-default-dataset-item`) | **$3.00 / 1,000** results (**$0.003** each) |

**Platform usage costs are included** — you do **not** pay separate Apify compute/proxy usage for this Actor on top of the event prices above (**User pays platform usage costs = No**).

#### Example cost estimates

| Results collected | Approx. event cost* |
| --- | ---: |
| 100 | ~$0.31 |
| 1,000 | ~$3.01 |
| 10,000 | ~$30.01 |

\*Assumes one Actor start at default memory billing for start events, plus `$0.003` per Dataset item. Exact start billing can scale with allocated memory (one start event per GB, minimum one).

#### Free plan limits

On a **free Apify plan**, this Actor enforces developer limits of **10 runs** and **200 results per run**. Upgrade to a paid Apify plan for unlimited runs (event prices still apply).

---

### Input examples

#### Keyword search

```json
{
  "mode": "search",
  "keyword": "airpods",
  "maxResults": 40
}
````

#### Search with sort, price band, and free shipping

```json
{
  "mode": "search",
  "keyword": "水筒",
  "sort": "price_asc",
  "minPrice": 500,
  "maxPrice": 3000,
  "filters": ["free_shipping"],
  "maxResults": 40
}
```

#### Genre PLP

```json
{
  "mode": "search",
  "keyword": "iphone",
  "genreId": "564500",
  "maxResults": 30
}
```

#### Item PDP

```json
{
  "mode": "item",
  "shopUrlCode": "rakutenmobile-store",
  "manageNumber": "iphone-17",
  "enrichReviews": true
}
```

#### Shop page

```json
{
  "mode": "shop",
  "shopUrlCode": "rakutenmobile-store",
  "maxResults": 40,
  "enrichDetails": true
}
```

#### Ranking

```json
{
  "mode": "ranking",
  "genreId": "560202",
  "period": "daily",
  "maxResults": 30
}
```

#### Genre taxonomy

```json
{
  "mode": "categories",
  "genreId": "564500",
  "maxResults": 100,
  "maxGenreNodes": 800
}
```

***

### Coverage matrix

| Dimension | Coverage |
| --- | --- |
| Hosts | Ichiba JP: `search.rakuten.co.jp` · `item.rakuten.co.jp` · `www.rakuten.co.jp` · `ranking.rakuten.co.jp` |
| Modes | `search` · `item` · `shop` · `ranking` · `categories` |
| Filters | sort (`s`) · facets (`f`) · min/max price · tags · used |
| Waived | `www.rakuten.com` global; ラクマ / トラベル / ブックス / 楽天24; official Item Search API token; login/cart |

***

### Output example

```json
{
  "recordType": "item",
  "itemId": "10005699",
  "manageNumber": "xzh1901",
  "shopUrlCode": "daily123shop",
  "shopName": "デイリーショップ",
  "title": "ステンレスボトル 保温保冷 …",
  "price": 2050,
  "currency": "JPY",
  "shippingIncluded": true,
  "pointCount": 18,
  "reviewScore": 0,
  "reviewCount": 0,
  "reviewUrl": "https://review.rakuten.co.jp/item/1/429353_10005699/1.1/",
  "url": "https://item.rakuten.co.jp/daily123shop/xzh1901/",
  "originalItemUrl": "https://item.rakuten.co.jp/daily123shop/xzh1901/",
  "country": "JP",
  "source": "item.rakuten.co.jp"
}
```

***

### Tips for best results

- Prefer **`originalItemUrl`** / canonical `item.rakuten.co.jp/{shop}/{manage}/` — ignore `redirect_rpp` ad redirects
- Use **`genreId`** with a keyword for tighter PLPs; browse taxonomy via `mode=categories`
- For cheapest-first scans: `sort=price_asc` + `minPrice` / `maxPrice` + `filters=["free_shipping"]`
- Keep `maxResults` modest on first runs; raise after you confirm the query
- Ranking mode needs JP residential egress (handled by the worker); SERP/PDP use a curl UA to avoid Akamai `Reference #` blocks
- Identity for joins: **`shopUrlCode` + `manageNumber`**, plus numeric `shopId` / `itemId` when present

***

### FAQ

**Is this the official Rakuten API?**\
No. It scrapes public Ichiba HTML/embedded JSON. Official Item Search API tokens are out of scope for this Actor.

**Does it work on www.rakuten.com?**\
No. Global Rakuten Shopping is a different stack. This Actor targets **Japan Ichiba** (`.co.jp`) only.

**Can I scrape ラクマ / Travel / Books?**\
Those verticals are waived until separately recon’d — not part of the Ichiba SERP/PDP contract.

**Why do some ranking titles look empty?**\
Ranking HTML sometimes omits link text; `price` / `imageUrl` / PDP enrich still work. Use `enrichDetails` when you need full titles from the item page.

***

### Runtime

- Default memory: **1024 MB**
- Thin Actor → authenticated Cloud Run worker (`WORKER_PROVIDES_PROXY=1`)
- Standby / Live View OpenAPI surface included

#### Standby / Live View

When the Actor runs in Standby mode, these **Actor-side** HTTP paths are available (see `.actor/openapi.json`):

| Method | Path | Purpose |
| --- | --- | --- |
| `GET` | `/`, `/health` | Readiness / Actor health |
| `GET` | `/input-example` | Documentation-only sample input |
| `GET` | `/openapi.json`, `/schema` | OpenAPI document |
| `POST` | `/search`, `/v1/search` | Actor scrape request (`mode` in JSON; Standby caps `maxResults` at 10) |

Batch Actor runs remain the primary path for Dataset export; Standby is for Live View / small HTTP calls. Live View OpenAPI documents **Actor paths only** (worker URLs and worker OpenAPI are not exposed).

***

### Legal & ethics

Use this Actor only for lawful purposes and in line with Rakuten’s terms and applicable law. Respect robots/rate expectations; do not use results for spam, fraud, or unauthorized account access. You are responsible for how you use the data.

# Actor input Schema

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

search | item | shop | ranking | categories

## `keyword` (type: `string`):

Keyword for mode=search (URL /search/mall/{keyword}/)

## `searchQueries` (type: `array`):

Optional list; first used if keyword empty

## `genreId` (type: `string`):

Ichiba genreId e.g. 564500 (スマートフォン・タブレット) or 560202

## `tags` (type: `array`):

Optional tags= query values from SERP tagGroupOptions

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

SERP sort: standard|price\_asc|price\_desc|newest|review\_count|review\_score (or s=1..6)

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

Minimum price filter (?min=)

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

Maximum price filter (?max=)

## `filters` (type: `array`):

Aliases or codes: free\_shipping(2), super\_deal(13), student(11), subscription(6), include\_sold\_out(0)

## `used` (type: `integer`):

Optional used= query (0/1) when supported by SERP

## `page` (type: `integer`):

SERP page number (?p=), starting at 1

## `shopUrlCode` (type: `string`):

Shop slug e.g. rakutenmobile-store for item/shop modes

## `manageNumber` (type: `string`):

PDP path segment e.g. iphone-17

## `itemUrl` (type: `string`):

Full https://item.rakuten.co.jp/{shop}/{manage}/ URL

## `period` (type: `string`):

For mode=ranking: daily | realtime | weekly | monthly

## `maxResults` (type: `integer`):

Maximum rows (free plan capped at 200)

## `maxGenreNodes` (type: `integer`):

categories mode BFS snapshot cap (full tree persisted on worker)

## `enrichDetails` (type: `boolean`):

Open PDPs for itemInfoSku enrichment on list modes

## `enrichReviews` (type: `boolean`):

Fetch review.rakuten.co.jp snippets for a small budget of items

## `proxyCountry` (type: `string`):

Passed to worker (default JP residential via egress)

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

Optional Rakuten Ichiba URLs (search QS tags/s/min/max/f parsed)

## `workerBaseUrl` (type: `string`):

Optional HTTPS allowlisted Cloud Run URL override

## Actor input object example

```json
{
  "mode": "search",
  "page": 1,
  "period": "daily",
  "maxResults": 50,
  "maxGenreNodes": 800,
  "enrichDetails": false,
  "enrichReviews": false,
  "proxyCountry": "JP"
}
```

# Actor output Schema

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

Normalized Rakuten Ichiba item / shop / category rows from the default dataset.

## `runSummary` (type: `string`):

Structured summary record stored in the default key-value store.

## `inputEcho` (type: `string`):

Normalized input saved at run start.

## `errorSummary` (type: `string`):

Present when a failed run stores structured terminal error information.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("lentic_clockss/rakuten-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("lentic_clockss/rakuten-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call lentic_clockss/rakuten-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lentic_clockss/rakuten-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Rakuten Japan Scraper | Ichiba Listings Prices",
        "description": "Scrape Rakuten Japan (Ichiba) — keyword search, genres, item PDP, shops & rankings. Extract itemId, JPY prices, shop codes, shipping, points, reviews. Export Excel/CSV/JSON for price monitoring & catalog research.",
        "version": "0.1",
        "x-build-id": "3nZNoekyO1OGdSZyQ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lentic_clockss~rakuten-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lentic_clockss-rakuten-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/lentic_clockss~rakuten-scraper/runs": {
            "post": {
                "operationId": "runs-sync-lentic_clockss-rakuten-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/lentic_clockss~rakuten-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-lentic_clockss-rakuten-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "item",
                            "shop",
                            "ranking",
                            "categories"
                        ],
                        "type": "string",
                        "description": "search | item | shop | ranking | categories",
                        "default": "search"
                    },
                    "keyword": {
                        "title": "Search keyword",
                        "type": "string",
                        "description": "Keyword for mode=search (URL /search/mall/{keyword}/)"
                    },
                    "searchQueries": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "Optional list; first used if keyword empty",
                        "items": {
                            "type": "string"
                        }
                    },
                    "genreId": {
                        "title": "Genre ID",
                        "type": "string",
                        "description": "Ichiba genreId e.g. 564500 (スマートフォン・タブレット) or 560202"
                    },
                    "tags": {
                        "title": "Tag filters",
                        "type": "array",
                        "description": "Optional tags= query values from SERP tagGroupOptions",
                        "items": {
                            "type": "string"
                        }
                    },
                    "sort": {
                        "title": "Sort",
                        "type": "string",
                        "description": "SERP sort: standard|price_asc|price_desc|newest|review_count|review_score (or s=1..6)"
                    },
                    "minPrice": {
                        "title": "Min price (JPY)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum price filter (?min=)"
                    },
                    "maxPrice": {
                        "title": "Max price (JPY)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum price filter (?max=)"
                    },
                    "filters": {
                        "title": "Facet filters",
                        "type": "array",
                        "description": "Aliases or codes: free_shipping(2), super_deal(13), student(11), subscription(6), include_sold_out(0)",
                        "items": {
                            "type": "string"
                        }
                    },
                    "used": {
                        "title": "Used flag",
                        "minimum": 0,
                        "maximum": 1,
                        "type": "integer",
                        "description": "Optional used= query (0/1) when supported by SERP"
                    },
                    "page": {
                        "title": "Start page",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "SERP page number (?p=), starting at 1",
                        "default": 1
                    },
                    "shopUrlCode": {
                        "title": "Shop URL code",
                        "type": "string",
                        "description": "Shop slug e.g. rakutenmobile-store for item/shop modes"
                    },
                    "manageNumber": {
                        "title": "Manage number",
                        "type": "string",
                        "description": "PDP path segment e.g. iphone-17"
                    },
                    "itemUrl": {
                        "title": "Item URL",
                        "type": "string",
                        "description": "Full https://item.rakuten.co.jp/{shop}/{manage}/ URL"
                    },
                    "period": {
                        "title": "Ranking period",
                        "enum": [
                            "daily",
                            "realtime",
                            "weekly",
                            "monthly"
                        ],
                        "type": "string",
                        "description": "For mode=ranking: daily | realtime | weekly | monthly",
                        "default": "daily"
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum rows (free plan capped at 200)",
                        "default": 50
                    },
                    "maxGenreNodes": {
                        "title": "Max genre nodes",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "categories mode BFS snapshot cap (full tree persisted on worker)",
                        "default": 800
                    },
                    "enrichDetails": {
                        "title": "Enrich item details",
                        "type": "boolean",
                        "description": "Open PDPs for itemInfoSku enrichment on list modes",
                        "default": false
                    },
                    "enrichReviews": {
                        "title": "Enrich reviews",
                        "type": "boolean",
                        "description": "Fetch review.rakuten.co.jp snippets for a small budget of items",
                        "default": false
                    },
                    "proxyCountry": {
                        "title": "Proxy country",
                        "type": "string",
                        "description": "Passed to worker (default JP residential via egress)",
                        "default": "JP"
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Optional Rakuten Ichiba URLs (search QS tags/s/min/max/f parsed)",
                        "items": {
                            "type": "string"
                        }
                    },
                    "workerBaseUrl": {
                        "title": "Worker base URL override",
                        "type": "string",
                        "description": "Optional HTTPS allowlisted Cloud Run URL override"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
