# Mercari Japan Scraper — Live, Sold Comps & Sellers ($1.50/1k) (`dot888/mercari-japan-scraper`) Actor

Fast, browserless scraper & API for Mercari Japan (jp.mercari.com). Extract live listings, sold-out comps, JPY prices, item conditions, brands, shipping, Mercari Shops, and seller IDs/ratings with automatic pagination.

- **URL**: https://apify.com/dot888/mercari-japan-scraper.md
- **Developed by:** [PHAM QUANG HOP](https://apify.com/dot888) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

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

## Mercari Japan Scraper (`jp.mercari.com`) — Fast Live, Sold Comps, Shops & Sellers API ($1.50/1k)

Ultra-fast, browserless scraper and **MCP-ready data API** for **Mercari Japan (`jp.mercari.com`)** and **Mercari Shops (`メルカリShops`)** — Japan's largest C2C marketplace with millions of collectibles, fashion, electronics, and luxury items.

Powered by Mercari's native JSON search & item endpoints (zero headless Chrome), extracting **up to 120 items per request** at **$1.50 / 1,000 results** — **over 60% cheaper** than competing $4/1k Mercari scrapers while adding built-in **Active vs Sold Price Comps & Sell-Through Rate Analytics**.

***

### Why Choose This Mercari Japan Scraper?

| Feature | This Actor (`dot888/mercari-japan-scraper`) | Typical Competitors |
|---|---|---|
| **Price** | **$1.50 / 1,000 results** (zero monthly fee) | $4.00 / 1,000 results |
| **Speed** | **120 items / API call** (~2–4 seconds, no browser) | 30–60 items/page or slow Playwright |
| **Live + Sold Out Comps** | `all`, `on_sale`, or `sold_out` + **auto sell-through rate %** | Often requires manual post-processing |
| **Mercari C2C + Shops** | Scrapes both personal C2C and `メルカリShops` listings | Often misses Mercari Shops |
| **Optional Full Details** | Likes, comments, description, seller star rating, good/bad reviews, prefecture & category tree | Extra paid add-on or separate Actor |
| **AI Agent / MCP Ready** | Clean Input/Output/Dataset schemas + `SUMMARY` price comps JSON | Manual integration |

***

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `queries` | `string[]` | `["pokemon"]` | Search keywords in Japanese or English. |
| `excludeKeyword` | `string` | `""` | Words to exclude from results (e.g. `ジャンク`). |
| `startUrls` | `object[]` | `[]` | Paste any `jp.mercari.com/search?...`, `/user/profile/<id>`, or `/item/m...` URL. |
| `sellerIds` | `string[]` | `[]` | Scrape all listings from specific numeric Mercari seller IDs. |
| `status` | `string` | `all` | `all`, `on_sale` (販売中), or `sold_out` (売り切れ / Sold Comps). |
| `maxItemsPerQuery` | `integer` | `120` | Max listings per keyword/URL/seller (`1`–`5000`). |
| `sortBy` | `string` | `SCORE` | `SCORE`, `CREATED_TIME_DESC`, `PRICE_ASC`, `PRICE_DESC`, `NUM_LIKES`. |
| `minPrice` / `maxPrice` | `integer` | — | Optional JPY price range. |
| `freeShippingOnly` | `boolean` | `false` | Filter for seller-paid shipping (`送料込み`). |
| `includeMercariShops` | `boolean` | `true` | Include `メルカリShops` storefront listings. |
| `includeDetails` | `boolean` | `false` | Enrich each item with description, likes, comments, seller ratings & prefecture. |

***

### Sample Output (JSON)

```json
{
  "itemId": "m61143635015",
  "name": "ピカチュウ R S10b Pokémon GO 028/071",
  "url": "https://jp.mercari.com/item/m61143635015",
  "status": "on_sale",
  "priceJpy": 800,
  "currency": "JPY",
  "conditionId": "3",
  "condition": "No Noticeable Scratches (目立った傷や汚れなし)",
  "brand": "Pokémon TCG",
  "isFreeShipping": true,
  "itemType": "MERCARI_C2C",
  "sellerId": "994806193",
  "createdAt": "2026-10-29T12:14:08.000Z",
  "imageUrl": "https://static.mercdn.net/item/detail/webp/photos/m61143635015_1.jpg",
  "query": "pokemon"
}
```

#### Automatic `SUMMARY` Comps Analytics (Key-Value Store)

```json
{
  "marketplace": "Mercari Japan (jp.mercari.com)",
  "totalItemsScraped": 120,
  "onSaleCount": 52,
  "soldOutCount": 68,
  "sellThroughRatePercent": 56.7,
  "onSalePriceStats": { "count": 52, "minJpy": 300, "p25Jpy": 700, "medianJpy": 1500, "meanJpy": 2840, "p75Jpy": 3400, "maxJpy": 18000 },
  "soldOutPriceStats": { "count": 68, "minJpy": 300, "p25Jpy": 550, "medianJpy": 1100, "meanJpy": 2150, "p75Jpy": 2600, "maxJpy": 14500 }
}
```

***

### API & AI Agent (MCP) Usage

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("dot888/mercari-japan-scraper").call(run_input={
    "queries": ["ポケモンカード ピカチュウ"],
    "status": "all",
    "maxItemsPerQuery": 120,
    "sortBy": "CREATED_TIME_DESC",
    "includeDetails": False,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("SUMMARY")["value"]
print("Sell-through rate:", summary["sellThroughRatePercent"], "%")
```

# Actor input Schema

## `queries` (type: `array`):

Keywords to search on Mercari Japan (Japanese or English, e.g. 'pokemon', 'ポケモンカード', 'Nintendo Switch', 'Louis Vuitton').

## `excludeKeyword` (type: `string`):

Optional words to exclude from search results (e.g. 'ジャンク 訳あり').

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

Optional direct Mercari Japan search URLs (https://jp.mercari.com/search?keyword=...), seller profile URLs, or item URLs (https://jp.mercari.com/item/m...).

## `sellerIds` (type: `array`):

Optional list of numeric Mercari Japan seller IDs to scrape all their listings.

## `status` (type: `string`):

Filter by active on-sale items, sold-out comps, or all listings.

## `maxItemsPerQuery` (type: `integer`):

Maximum number of items to extract per query/source (up to 120 items per API request).

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

Sort order on Mercari Japan.

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

Optional minimum price filter in Japanese Yen (JPY).

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

Optional maximum price filter in Japanese Yen (JPY).

## `freeShippingOnly` (type: `boolean`):

When enabled, only return listings where shipping is paid by the seller.

## `includeMercariShops` (type: `boolean`):

Include business storefront listings from Mercari Shops alongside personal C2C listings.

## `includeDetails` (type: `boolean`):

Fetch full item endpoint for each listing to include description, likes count, comments count, seller star rating, good/bad review counts, ship-from prefecture, and full category path.

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

Optional Apify Proxy configuration. Mercari Japan API works fast directly or with Japanese Residential Proxy for very large runs.

## Actor input object example

```json
{
  "queries": [
    "pokemon"
  ],
  "excludeKeyword": "",
  "startUrls": [],
  "sellerIds": [],
  "status": "all",
  "maxItemsPerQuery": 120,
  "sortBy": "SCORE",
  "freeShippingOnly": false,
  "includeMercariShops": true,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `items` (type: `string`):

No description

## `summary` (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 = {
    "queries": [
        "pokemon"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dot888/mercari-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 = { "queries": ["pokemon"] }

# Run the Actor and wait for it to finish
run = client.actor("dot888/mercari-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 '{
  "queries": [
    "pokemon"
  ]
}' |
apify call dot888/mercari-japan-scraper --silent --output-dataset

```

## MCP server setup

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