# Mercari Japan Scraper — Search, Sold Items & Sellers (`gangary/mercari-japan-scraper`) Actor

Scrape Mercari Japan (jp.mercari.com): search by keyword, category, price and condition, on-sale or sold items, seller listings and item details (description, photos, seller rating, shipping). Prices in JPY and USD. No account needed. Only-new mode.

- **URL**: https://apify.com/gangary/mercari-japan-scraper.md
- **Developed by:** [Gangary](https://apify.com/gangary) (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

from $3.00 / 1,000 item 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

![mercari-japan-scraper](https://api.apify.com/v2/key-value-stores/OyVv4PDUM8I4otx0e/records/mercari-japan-scraper.png)

## Mercari Japan Scraper | $3/1K — Search, Sold Items & Sellers

**US$3 per 1,000 items with full details, plus US$0.005 per run. No Mercari account, no proxies to set up; failed searches, deleted items, duplicates and items skipped by `onlyNew` are never charged.**

- **Search jp.mercari.com** by keyword (Japanese or English), category, price range, condition and status: **on sale, sold, or both**.
- **Sold items** give you the real price things actually sell for on Japan's biggest second-hand marketplace.
- **Full details in the base price:** description, all photos, category path, brand, shipping (who pays, method, origin, days), likes and the **seller profile** (rating count, good/bad ratings, items listed, member since).
- **Prices in JPY and USD**, with the conversion rate loaded at the start of each run.
- **Seller listings:** paste a seller profile or ID and get everything they list or sold.
- **Only-new mode** for price and listing monitors: each scheduled run returns (and charges) only items it hasn't delivered before.

Built for **resellers and import businesses, price research and arbitrage, collectors (trading cards, games, figures, watches, brands), sourcing agents and proxy-buying services, and market analysis** of the Japanese second-hand market.

### What you get

One row per item. Real output from a sold "nintendo switch" search (photo list shortened):

```json
{
  "id": "m28493312247",
  "url": "https://jp.mercari.com/item/m28493312247",
  "name": "Switch あつまれ どうぶつの森",
  "price": 3300,
  "currency": "JPY",
  "priceUsd": 20.66,
  "status": "sold",
  "isSold": true,
  "isShopItem": false,
  "shopName": null,
  "condition": "Good (no noticeable scratches)",
  "conditionJa": "目立った傷や汚れなし",
  "conditionId": 3,
  "brand": "Nintendo Switch",
  "category": "ソフト(パッケージ版)",
  "categoryPath": ["ゲーム・おもちゃ・グッズ", "テレビゲーム", "Nintendo Switch", "ソフト(パッケージ版)"],
  "categoryId": 702,
  "shippingPayer": "seller",
  "shippingIncluded": true,
  "shippingMethod": "ゆうゆうメルカリ便",
  "shippingFrom": "茨城県",
  "shippingDays": "1~2日で発送",
  "description": "「Switch あつまれ どうぶつの森」\n定価: -\n\n#ゲーム #シミュレーション #NintendoSwitch #Nintendo_Switch #Switch",
  "thumbnail": "https://static.mercdn.net/thumb/item/webp/m28493312247_1.jpg?1795243029",
  "photos": [
    "https://static.mercdn.net/item/detail/orig/photos/m28493312247_1.jpg?1795243029",
    "https://static.mercdn.net/item/detail/orig/photos/m28493312247_2.jpg?1795243029"
  ],
  "numLikes": 2,
  "numComments": 0,
  "hashtags": ["ゲーム", "シミュレーション", "NintendoSwitch", "Nintendo_Switch", "Switch"],
  "isAuction": false,
  "sellerId": "515606389",
  "sellerName": "チリコンカン",
  "sellerUrl": "https://jp.mercari.com/user/profile/515606389",
  "sellerRatingCount": 1455,
  "sellerRatingGood": 1449,
  "sellerRatingBad": 6,
  "sellerStarRating": 5,
  "sellerItemsListed": 1413,
  "sellerIsOfficial": false,
  "sellerQuickShipper": true,
  "sellerMemberSince": "2018-08-29T10:53:24.000Z",
  "createdAt": "2026-11-21T06:37:09.000Z",
  "updatedAt": "2026-11-21T06:39:34.000Z",
  "detailsIncluded": true,
  "detailsError": null,
  "searchKeyword": "nintendo switch",
  "searchSellerId": null,
  "startUrl": null,
  "scrapedAt": "2026-11-21T06:46:12.015Z"
}
```

(Mercari's own search matches loosely: a "switch" search can also return other items with スイッチ in the title, exactly as on the website. Use **Category IDs** or **Exclude words** to narrow it.)

| Field | Meaning |
|---|---|
| `price` / `priceUsd` | Price in yen as listed, and converted to US dollars |
| `status` / `isSold` | `on_sale`, `sold` (sold out or in trade) or `stopped` |
| `condition` / `conditionJa` / `conditionId` | Seller's condition grade in English and Japanese (1 = new ... 6 = bad) |
| `shippingPayer` / `shippingIncluded` | `seller` = shipping included in the price (送料込み), `buyer` = cash on delivery |
| `categoryPath` | Full category tree, top to bottom |
| `seller*` | Seller profile: rating count, good and bad ratings, star score, items listed, member since |
| `isShopItem` / `shopName` | Items from Mercari Shops (business sellers). They come with the search data only |
| `detailsIncluded` | `false` for Mercari Shops items, rows collected with `includeDetails: false`, or when the item failed to load |
| `error` / `ok` | Only on rows for searches or URLs that failed. Those rows are **not charged** |

### Use cases

- **Sold-price research:** what an item really sells for, by condition, from thousands of completed sales.
- **Reselling and import sourcing:** new listings under a target price, with condition and shipping.
- **Collectors:** trading cards, games, figures, watches and brands, with seller ratings to filter risky sellers.
- **Price monitors:** schedule a search with `onlyNew` and get only the new listings since the last run.
- **Proxy-buying and sourcing services:** item details and photos in one structured row.

### How to use it

1. Add **Keywords** (one search per line), and/or **Category IDs**, and/or **Sellers**.
2. Pick **Item status** (on sale, sold or all), **Sort by**, a **price range** and **Condition** if you want.
3. Set **Max items per search** and run. Export from the **Items** view as JSON, CSV or Excel.

| Input | Type | Default | Notes |
|---|---|---|---|
| `keywords` | array of strings | empty | One search per keyword, up to 50 |
| `status` | string | `on_sale` | `on_sale`, `sold` or `all` |
| `sortBy` | string | `newest` | `newest`, `relevance`, `price_low`, `price_high`, `likes` |
| `priceMin` / `priceMax` | integer | empty | Yen |
| `conditions` | array | empty | `new`, `like_new`, `good`, `fair`, `poor`, `bad` |
| `categoryIds` | array | empty | Mercari category IDs |
| `excludeKeywords` | array | empty | Words to leave out |
| `sellerIds` | array | empty | Seller IDs or profile links; with keywords, each seller is searched with each keyword |
| `includeShopItems` | boolean | `true` | Include Mercari Shops items |
| `maxResults` | integer | 100 | Max items per search, 1 to 15,000 |
| `includeDetails` | boolean | `true` | `false` = search data only, faster, same price |
| `onlyNew` | boolean | `false` | Deliver each item once across runs |
| `startUrls` | array | empty | jp.mercari.com search, item and seller links, up to 1,000 |

Sold Pokémon card listings in near-mint condition, highest price first:

```json
{
  "keywords": ["ポケモンカード"],
  "status": "sold",
  "conditions": ["new", "like_new"],
  "sortBy": "price_high",
  "maxResults": 500
}
```

New Nintendo Switch listings under ¥20,000, only new ones on each run (schedule it hourly or daily):

```json
{
  "keywords": ["nintendo switch 本体"],
  "priceMax": 20000,
  "excludeKeywords": ["ジャンク"],
  "onlyNew": true,
  "maxResults": 300
}
```

Everything a seller has listed or sold (`status: "all"` applies to the seller link), plus a pasted search and a single item:

```json
{
  "status": "all",
  "startUrls": [
    { "url": "https://jp.mercari.com/user/profile/880481369" },
    { "url": "https://jp.mercari.com/search?keyword=rolex&status=sold_out%7Ctrading&price_min=100000" },
    { "url": "https://jp.mercari.com/item/m80925500140" }
  ]
}
```

### Pasted search URLs

A search URL keeps its keyword, status (`on_sale`, `sold_out`, `trading`, several joined with `|` like the website does), sort and order, price range, condition, category, brand, shipping payer and item type. A search URL without `status` returns on-sale and sold items, as on the website. Filters the actor doesn't support are listed in the log. A search URL with no keyword, category or brand would be all of Mercari, so it is skipped with a free `invalid-start-url` row.

### Only new items (incremental mode)

With `onlyNew` on, the actor keeps a history per search (keyword, filters, seller) in your account. Each item is delivered once. On the next run, items already delivered are skipped at no charge and only new listings come back. Each saved task keeps its own history. Keep **Sort by** on newest first: the run then stops as soon as it reaches the items delivered before, so older items that the first run's **Max items per search** left out don't come back as "new".

### Pricing

Pay per event, with no subscription and no proxy costs:

| Event | Price |
|---|---|
| Run start | $0.005 per run |
| Item (with or without full details) | **$3 per 1,000 items** ($0.003 each) |

| Scenario | Approximate cost |
|---|---|
| 100 items | ~$0.31 |
| 1,000 items | ~$3.01 |
| 10,000 items | ~$30.01 |
| Hourly "only new" monitor, 20 new items an hour | ~$1.56 per day |

You are never charged for failed searches, searches with no results, deleted items, items skipped by `onlyNew`, or duplicates. Every run respects the spending limit (`maxTotalChargeUsd`) you set on Apify and stops at that exact amount.

### Run it from code

Replace `<YOUR_APIFY_TOKEN>` with your token from **Apify Console → Settings → API & Integrations**.

**cURL** (waits for the run and returns the items):

```bash
curl -X POST "https://api.apify.com/v2/acts/gangary~mercari-japan-scraper/run-sync-get-dataset-items" -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" -d '{"keywords": ["nintendo switch"], "status": "sold", "maxResults": 50}'
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("gangary~mercari-japan-scraper").call(
    run_input={"keywords": ["ポケモンカード"], "status": "sold", "maxResults": 200}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("name"), item.get("price"), item.get("priceUsd"), item.get("condition"))
```

**Node.js** (`npm install apify-client`):

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('gangary~mercari-japan-scraper').call({
    keywords: ['rolex'],
    priceMin: 100000,
    onlyNew: true,
    maxResults: 300,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0]);
```

### Integrations

Everything below is built into Apify, no extra setup on our side:

- **[Schedules](https://docs.apify.com/platform/schedules):** run a saved task hourly or daily with `onlyNew` on for a new-listings alert.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks):** get a call to your own endpoint when a run finishes.
- **[Make](https://docs.apify.com/platform/integrations/make), [n8n](https://docs.apify.com/platform/integrations/n8n) and [Zapier](https://docs.apify.com/platform/integrations/zapier):** send new listings to Slack, Discord, email or Google Sheets.
- **Exports:** JSON, CSV, Excel, XML or HTML from the dataset, or straight from the API.

### Use with AI agents (MCP)

Apify runs a hosted MCP server, so Claude, Cursor, VS Code and other MCP clients can call this actor as a tool. Add this server URL to your client (it signs in with OAuth on first use, or send `Authorization: Bearer <YOUR_APIFY_TOKEN>`):

```
https://mcp.apify.com?tools=gangary/mercari-japan-scraper
```

Then ask in plain words, e.g. *"What did used Nintendo Switch Lite consoles sell for on Mercari Japan this week, by condition?"* Setup details: **[Apify MCP server docs](https://docs.apify.com/platform/integrations/mcp)**.

### FAQ

**Do I need a Mercari account or a Japanese IP?**
No. The actor reads the same public data the jp.mercari.com website shows to any visitor, with no login. Proxies are handled for you.

**How many items can I get per search?**
About 15,000, the most Mercari itself returns per search. For more, split by price range or category, or add more keywords.

**Can I search in English?**
Yes, but Japanese sellers mostly write titles in Japanese, so Japanese keywords usually find more. Brand names (Nintendo, Rolex, Pokémon) work in both.

**How is the USD price calculated?**
The yen price times the JPY→USD rate loaded at the start of each run from a public exchange-rate source (with a second source as backup). If both are down, `priceUsd` stays empty and the yen price is unaffected.

**What about Mercari Shops items?**
They are included by default and marked `isShopItem: true`, with the search data (title, price, status, condition, photos, shop name). Turn off **Include Mercari Shops items** to get only individual sellers.

**Are duplicates removed?**
Yes. An item found by several searches of the same run is delivered and charged once.

**What if Apify restarts my run in the middle?**
Items already delivered are saved in the run's state and are not delivered or charged again when it resumes.

**Is it legal to scrape Mercari?**
The actor collects publicly listed items without logging in or bypassing access controls, and no buyer data. Seller names are public nicknames. Check your use case against Mercari's terms and the privacy laws that apply to you.

### Honest limitations

- Mercari Shops items come with search data only (no description or seller profile).
- Titles, descriptions and category names are in Japanese, as written on Mercari; condition and status also come in English.
- With full details on, each individual-seller item needs one extra request: expect roughly 10 to 20 items per second.
- `onlyNew` remembers up to 50,000 items per search. Older ones fall off first.
- If an item's detail page fails after several retries, the item is still delivered (and charged) with the search data and `detailsError` set, and `onlyNew` counts it as delivered.
- Only Mercari Japan (jp.mercari.com). Mercari US is a different site and is not supported.

### Changelog

- **0.1 (2026-11-21):** first public release: keyword, category, price, condition and status search, sold items, seller listings, full item details, USD prices, `onlyNew`.

### From the same maker

- **[Mercado Libre Search Scraper](https://apify.com/gangary/mercado-libre-search-scraper)**: listings from Mercado Libre in Mexico, Argentina, Colombia and Chile.
- **[Computrabajo Jobs Scraper](https://apify.com/gangary/computrabajo-jobs-scraper)**: job listings from 19 Latin American countries.

***

If this actor helped you, a rating on its Store page helps others find it. Something broke or a field is missing? Open an issue on the actor's **Issues** tab.

*Keywords: mercari scraper, mercari japan scraper, mercari api, jp.mercari.com, メルカリ, mercari sold items, mercari price, japan marketplace scraper, japanese second-hand, pokemon card prices, nintendo switch prices, reseller tool, proxy buying japan, sourcing japan, price monitor japan.*

# Actor input Schema

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

Search terms, one per line, in Japanese or English like on jp.mercari.com (e.g. "nintendo switch", "ポケモンカード", "rolex"). Each keyword is a separate search.

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

On sale, sold (sold out or in trade) or both. Sold items are the real market price.

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

Order of the results.

## `priceMin` (type: `integer`):

Only items at or above this price in yen. Empty = no minimum.

## `priceMax` (type: `integer`):

Only items at or below this price in yen. Empty = no maximum.

## `conditions` (type: `array`):

Item condition as set by the seller. Empty = any.

## `categoryIds` (type: `array`):

Mercari category IDs (the category_id in a jp.mercari.com search URL, e.g. 702 for Nintendo Switch games). Works alone or together with keywords.

## `excludeKeywords` (type: `array`):

Leave out items whose title has these words (e.g. "ジャンク" for junk items).

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

Seller IDs or profile links (jp.mercari.com/user/profile/123456789). Each seller is a separate search of their listings with the filters above; with keywords, each seller is searched with each keyword.

## `includeShopItems` (type: `boolean`):

Include items from Mercari Shops (business sellers). They come with the search data only (no extra details).

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

Maximum items per search (each keyword, seller and Start URL search). About 15,000 is the most Mercari shows per search.

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

Open each item for the description, all photos, full category path, shipping method and origin, likes and the seller profile (rating, items listed, member since). Turn off for a faster run with the search data only. Same price either way.

## `onlyNew` (type: `boolean`):

For scheduled runs: each search remembers the items it already delivered and returns (and charges) only new ones. History is kept per saved task.

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

Paste jp.mercari.com links: a search with a keyword, category or brand (jp.mercari.com/search?keyword=...), an item (jp.mercari.com/item/m...) or a seller profile. Filters in a search URL are kept (status, sort, price, condition, category, brand, shipping payer); the fields above fill in the rest. Mercari US links are not supported.

## Actor input object example

```json
{
  "keywords": [
    "nintendo switch"
  ],
  "status": "on_sale",
  "sortBy": "newest",
  "includeShopItems": true,
  "maxResults": 100,
  "includeDetails": true,
  "onlyNew": false
}
```

# Actor output Schema

## `results` (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": [
        "nintendo switch"
    ]
};

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

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

```

## MCP server setup

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