# Mercari Japan Scraper (`northloop-labs/mercari-japan-scraper`) Actor

Search Mercari Japan by keyword: title, price in yen, condition, sold or on sale, shipping, seller and photos. Optional details with description and seller ratings. No login.

- **URL**: https://apify.com/northloop-labs/mercari-japan-scraper.md
- **Developed by:** [Northloop Labs](https://apify.com/northloop-labs) (community)
- **Categories:** E-commerce, 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 $2.45 / 1,000 listing saveds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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: Listings, Prices, Sold Items and Sellers

**Search Mercari Japan (jp.mercari.com) by keyword and get every listing as clean data.** Type a search in Japanese or English, such as `ポケモンカード` or `nintendo switch`, and get the title, price in yen, condition, status (on sale or sold), shipping, brand, seller, photos and listing dates. Turn on **item details** to also get the full description, likes, category path, ship from area and seller ratings.

No Mercari account, no API key and no proxy setup needed.

**Try it now:** click **Start** with the ready made input (`iphone 15`, 120 newest listings). It takes about 10 seconds and costs about $0.42.

### Who uses it

- **Resellers and importers** looking for underpriced items to resell abroad.
- **Collectors** tracking prices of trading cards, figures, games and vintage fashion.
- **Brands and analysts** watching how their products sell on the Japanese second hand market.
- **Price research:** set status to **Sold** to see what items really sold for.

### How much does it cost?

You only pay for results (pay per event, no monthly fee):

| Event | Price | When it is charged |
|---|---|---|
| Actor start | $0.001 | Once per run |
| Listing saved | $0.0035 | Per listing in the dataset, so **$3.50 per 1,000 listings** |
| Item details | $0.002 | Only with **Include item details**, per listing whose details were read |

**Examples:**

- 1,000 listings without details: about **$3.50**.
- 1,000 listings with details: about **$5.50**.

Duplicates are skipped and never charged. Mercari Shops items have no detail page, so they are never charged the details fee. Apify plan discounts (Bronze, Silver, Gold) lower these prices further.

Set **Maximum cost per run** in the run options to cap what a run can cost. The Actor stops cleanly when it gets there and keeps everything saved so far.

### How to scrape Mercari Japan

1. Enter one or more **Keywords** (up to 50 per run). Japanese terms usually give more results.
2. Pick the **Sort order** and the **Status**: on sale, sold or all.
3. Optional: set a **price range** in yen and the **item conditions** you want.
4. Optional: turn on **Include item details**.
5. Click **Start**, then export the results as CSV, Excel, JSON or HTML, or read them through the API.

#### Input example

```json
{
  "keywords": ["ポケモンカード", "nintendo switch"],
  "sort": "newest",
  "status": "sold_out",
  "priceMin": 1000,
  "priceMax": 30000,
  "maxItemsPerKeyword": 240,
  "includeDetails": false
}
```

### What data you get

| Field | Description |
|---|---|
| `itemId`, `url`, `keyword` | Mercari item id, link and the keyword that found it |
| `title`, `priceJpy`, `status`, `condition` | Title, price in yen, on sale or sold, item condition |
| `shippingPaidBy`, `categoryId`, `brand` | Who pays shipping, Mercari category id, brand name |
| `sellerId`, `shopName`, `isShopItem`, `isAuction` | Seller id, Mercari Shops name, shop and auction flags |
| `imageUrl`, `thumbnails` | Main photo and thumbnails |
| `createdAt`, `updatedAt`, `scrapedAt` | Listing dates and when the row was collected |

With **Include item details**:

| Field | Description |
|---|---|
| `description` | Full item description |
| `likes`, `comments` | Likes and comment count |
| `category` | Category path, for example "Toys > Trading cards > Pokémon" |
| `shipsFrom`, `shippingDuration`, `shippingMethod` | Prefecture it ships from, days to ship, shipping method |
| `sellerName`, `sellerRatingsGood`, `sellerRatingsBad`, `sellerItemsListed` | Seller name and reputation |
| `photos` | All photos (up to 20) |

#### Output example

```json
{
  "itemId": "m12345678901",
  "url": "https://jp.mercari.com/item/m12345678901",
  "keyword": "nintendo switch",
  "title": "Nintendo Switch 有機ELモデル ホワイト",
  "priceJpy": 29800,
  "status": "on_sale",
  "condition": "like_new",
  "shippingPaidBy": "seller",
  "imageUrl": "https://static.mercdn.net/item/detail/orig/photos/m12345678901_1.jpg",
  "createdAt": "2026-11-18T09:12:44.000Z",
  "hasDetails": false
}
```

The dataset has two views: **Listings** and **With details**.

### Tips

- Prices are in Japanese yen. Mercari shows at most a few thousand results per search, so split very broad searches into narrower keywords or price ranges.
- For price research, use status **Sold** and sort by **newest**.
- Search in Japanese when you can. `ポケモンカード` returns far more listings than `pokemon card`.
- The Actor uses a plain connection and only moves to a residential Japanese IP if Mercari ever blocks it. That cost is already in the price.

### Use with AI agents, MCP, Make, Zapier, n8n and the API

#### AI agents and the Apify MCP server

Your AI agent can run this Actor as a tool through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Add this server URL in Claude, Cursor, VS Code or any other MCP client to load only this Actor:

```text
https://mcp.apify.com?tools=northloop-labs/mercari-japan-scraper
```

Pass `maxTotalChargeUsd` in `callOptions` to cap what one run may cost. Example prompt: *"Find the 50 cheapest sold Nintendo Switch OLED listings on Mercari Japan this week and give me the average price."*

#### Make, Zapier and n8n

Apify has official integrations for [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier) and [n8n](https://docs.apify.com/platform/integrations/n8n). Use "Run Actor", pick `northloop-labs/mercari-japan-scraper`, paste your input as JSON and send the listings to Google Sheets, Airtable or your database.

#### API

```bash
curl -X POST "https://api.apify.com/v2/acts/northloop-labs~mercari-japan-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["nintendo switch"], "maxItemsPerKeyword": 120}'
```

Python (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("northloop-labs/mercari-japan-scraper").call(run_input={"keywords": ["ポケモンカード"], "status": "sold_out"})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], item["priceJpy"])
```

### Data and privacy

The Actor reads only public listing pages that anyone can open on jp.mercari.com without logging in. It does not log in, does not message sellers and does not collect buyer data. Seller names and ids are public marketplace handles. If you store or process data about people, make sure you have a legal basis under the privacy laws that apply to you (for example GDPR or APPI).

### Is it legal to scrape Mercari?

Collecting public data is generally allowed, but the rules depend on your country and on how you use the data. Use the results for research and analysis, respect Mercari's terms and do not republish photos or descriptions as your own. This is not legal advice.

### FAQ

**Do I need a Mercari account?** No.

**Does it work for Mercari US?** No, this Actor is for Mercari Japan (jp.mercari.com) only.

**Why did a run return fewer items than I asked for?** Mercari has no more matching listings for that keyword and filter. The run summary (`RUN_SUMMARY` in the key value store) shows how many Mercari found per keyword.

**What happens if my budget is too low?** The run stops right away with a clear message and only the start fee is charged.

### More Actors from northloop labs

- [Best Buy Scraper](https://apify.com/northloop-labs/bestbuy-scraper)
- [Home Depot Scraper](https://apify.com/northloop-labs/home-depot-scraper)
- [Google Maps Leads Scraper](https://apify.com/northloop-labs/google-maps-leads-scraper)
- [Google Trends Scraper](https://apify.com/northloop-labs/google-trends-scraper)
- [Meta Ads Library Scraper](https://apify.com/northloop-labs/meta-ads-library-scraper)

### Feedback

Found a bug or need a field that is missing? Open an issue on the **Issues** tab and we will look at it quickly.

# Actor input Schema

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

Search terms, one per line, up to 50. Japanese terms give the most results.

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

Order of results.

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

On sale only, sold only (good for price research) or all.

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

Optional minimum price in yen.

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

Optional maximum price in yen.

## `itemCondition` (type: `array`):

Optional. Keep only these conditions.

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

Stop after this many listings per keyword (120 per page).

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

Stop the whole run after this many listings.

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

Open each listing for description, likes, category path, ship from area and seller ratings. Charged as a separate event.

## `proxyMode` (type: `string`):

Auto uses no proxy and switches to a residential Japanese IP only if Mercari blocks.

## `requestDelayMs` (type: `integer`):

Pause between requests.

## Actor input object example

```json
{
  "keywords": [
    "iphone 15"
  ],
  "sort": "newest",
  "status": "on_sale",
  "maxItemsPerKeyword": 120,
  "maxResults": 1000,
  "includeDetails": false,
  "proxyMode": "auto",
  "requestDelayMs": 300
}
```

# Actor output Schema

## `overview` (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 = {
    "keywords": [
        "iphone 15"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("northloop-labs/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": ["iphone 15"] }

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

```

## MCP server setup

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