# Mercari Japan Scraper - Sold Prices and Comparisons (`sigma-dev/mercari-japan-scraper-sold-prices-and-comparisons`) Actor

Scrape Mercari Japan sold listings, extract product details and actual selling prices, compare similar items, and analyze market trends to discover profitable resale opportunities and make smarter pricing decisions.

- **URL**: https://apify.com/sigma-dev/mercari-japan-scraper-sold-prices-and-comparisons.md
- **Developed by:** [Sigma Dev](https://apify.com/sigma-dev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 live listings

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

### What does Mercari Japan Scraper do?

This Actor scrapes **sold prices** and **live listings** from [Mercari Japan](https://jp.mercari.com) — Japan's largest consumer marketplace — and turns them into a **price comps report** you can actually price against. No Mercari account, login or API key is needed.

Most Mercari scrapers hand you a pile of rows and leave the thinking to you. This one answers the question you actually have: **what does this item sell for, how fast does it move, and is its price rising or falling?** It works as a **Mercari API alternative** for resellers, proxy-buying services and market researchers.

### Why scrape Mercari Japan sold prices?

Mercari Japan is where Japanese resale pricing is actually set. Knowing the **sold** price — not the asking price — is the difference between a profitable sourcing decision and dead stock.

- 📊 **Real comps, not raw rows** — median, trimmed mean, P25–P75 band, standard deviation
- ⚡ **Sell-through rate** — sold ÷ (sold + active), the metric that tells you whether an item moves at all
- ⏱️ **Days to sell** — median listing age at the moment of sale
- 📈 **Price trend** — last 30 days versus days 31–90, so you can see a market heating up or cooling
- 🔍 **Reads past Mercari's paging limit** — large searches are split into price bands automatically, so you get the whole result set instead of the first slice
- 🇯🇵 **Japanese residential proxy support** for reliable, region-accurate results
- 🤖 Runs on the Apify platform: **scheduling, REST API, webhooks, integrations and monitoring** out of the box

#### Who uses this

Japan-sourcing resellers, Buyee/ZenMarket proxy buyers, vintage and streetwear dealers, trading-card and collectible flippers, brand analysts tracking grey-market pricing, and academic researchers studying resale economics.

### What data can Mercari Japan Scraper extract?

| Field | Type | Description |
|---|---|---|
| `title` | string | Listing title as written by the seller |
| `price` | integer | Price in JPY — the **actual sold price** for completed sales |
| `status` | string | `sold_out`, `on_sale`, `trading`, `stopped` or `cancelled` |
| `soldAt` | string | When the item sold (ISO 8601 UTC) |
| `daysToSell` | number | Days between listing and sale |
| `condition` | string | Item condition, translated from Mercari's Japanese labels |
| `brand` | string | Brand attached to the listing |
| `shippingPayer` | string | Whether the seller or buyer pays postage |
| `sellerId` | string | Seller's numeric ID |
| `photos` | array | Full-size listing photo URLs |
| `url` | string | Canonical link to the listing |

Plus a **comps report per query** in the key-value store under the `COMPS` key: `medianPrice`, `trimmedMeanPrice`, `p25Price`, `p75Price`, `sellThroughRate`, `medianDaysToSell`, `soldPerWeek`, `priceTrendPct`, `conditionMix`, `brandMix` and `topSellers`.

### How to scrape Mercari Japan

1. Click **Try for free** and open the Actor's input form.
2. Choose **Sold prices & comps** as the mode (this is the default).
3. Enter one or more **search keywords**. Japanese keywords return far more results than English ones — `ポケモンカード` finds what `pokemon card` misses, because that is how sellers write their listings. You can also paste a `jp.mercari.com/search?...` URL straight from your browser.
4. Set **Sold within the last N days** — 90 is a good default. A shorter window tracks current pricing; a longer one gives a larger sample.
5. Set **Maximum items** to cap what the run can cost.
6. Leave **Proxy configuration** on Apify Proxy. Japanese residential proxies give the most reliable results.
7. Click **Save & Start**. When the run finishes, read the rows in the **Dataset** tab and the comps report in the **Storage → Key-value store** tab under `COMPS`.

### How much will it cost to scrape Mercari Japan?

This Actor uses **pay-per-event** pricing, so you pay for results rather than for compute time. A run that finds nothing costs almost nothing.

| Event | Price | Charged when |
|---|---|---|
| Actor start | $0.05 | Once per run |
| Live listing | **$1.50 per 1,000** | Per live listing returned |
| Sold listing | **$3.00 per 1,000** | Per completed sale returned |
| Price comps report | **$30.00 per 1,000** | Once per search query |

**Worked example:** 500 sold listings across 2 keywords, with comps reports, costs about **$1.61** — $0.05 to start, $1.50 for the sold rows, and $0.06 for the two reports.

A 1,000-row sold-price pull with one comps report costs roughly **$3.08**.

Two things that are deliberately *not* charged:

- **Counting live listings** for the sell-through rate makes a handful of extra requests that are never billed as results.
- **Platform usage costs are included** in the prices above. There is no separate compute or proxy charge on top.

Apify's free plan includes monthly usage credit, so you can test this Actor without paying anything.

### Input

See the **Input** tab for every option. The fields worth understanding:

- **Search keywords** — use Japanese for best coverage. Multiple keywords run as separate searches and each gets its own comps report.
- **Mercari search URLs** — paste a browser URL; its keyword, category, brand and price filters are read automatically.
- **Sold within the last N days** — capped at 180. Mercari returns sold listings going back years, and without this filter a median mixes today's prices with prices from several years ago.
- **Price bands** — leave at 0. The Actor splits large queries automatically and only needs this when you want to force finer slicing.

### Output

You can download the dataset in various formats such as **JSON, HTML, CSV or Excel**.

```json
{
  "id": "m12345678901",
  "url": "https://jp.mercari.com/item/m12345678901",
  "title": "Example Item Title",
  "price": 4800,
  "currency": "JPY",
  "status": "sold_out",
  "isSold": true,
  "condition": "Like new",
  "brand": "Example Brand",
  "shippingPayer": "Seller pays shipping",
  "sellerId": "123456789",
  "listedAt": "2025-01-15T12:00:00.000Z",
  "soldAt": "2025-01-20T09:30:00.000Z",
  "daysToSell": 5.0
}
```

The comps report, stored under `COMPS`:

```json
{
  "query": "Example query",
  "soldCount": 184,
  "activeCount": 213,
  "sellThroughRate": 0.4635,
  "medianPrice": 4800.0,
  "trimmedMeanPrice": 4912.5,
  "p25Price": 3900.0,
  "p75Price": 6200.0,
  "medianDaysToSell": 6.5,
  "soldPerWeek": 14.3,
  "priceTrendPct": 4.8
}
```

### Tips for better results

- **Search in Japanese.** This single change usually multiplies your result count.
- **Narrow before you widen.** A tight keyword with a price range produces a cleaner median than a broad one.
- **Use `Exclude keyword`** to strip reproductions, junk lots and bundles that distort a median.
- **Filter by condition.** Comparing a "like new" item against a damaged one is not a comparison.
- **Watch `sellThroughRate`.** A high median price with a low sell-through means the item is listed high and not selling.
- **Read `priceTrendNote`.** When the sample is too small for a reliable trend, the report says so instead of printing a confident wrong number.

### FAQ

#### Do I need a Mercari account?

No. The Actor reads public listing data without any login or API key.

#### Why do I get more results with Japanese keywords?

Mercari Japan sellers write their listings in Japanese, so the search index is Japanese. English keywords only match the minority of listings that happen to contain English text.

#### Why is `sellThroughRate` sometimes null?

Because the live-listing count hit its page cap and is therefore only a lower bound. A sell-through rate built on a lower bound overstates how fast stock moves, so the Actor reports `null` rather than a confident wrong number.

#### Does it return Mercari Shops items?

Yes. Business listings from Mercari Shops are included and flagged with `isShopItem: true`, with the correct `/shops/product/` URL.

#### Can I schedule this to track prices over time?

Yes — use the Apify **Schedules** tab to run it daily or weekly and build your own price history.

### Disclaimer

Our Actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

This Actor deliberately does **not** collect buyer identities, even though Mercari returns them on sold listings.

### Support

Found a bug or need a field that isn't here? Open a ticket on the **Issues** tab and it will be looked at. For programmatic access, see the **API** tab — every run can be started and read over the Apify REST API.

# Actor input Schema

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

Sold prices & comps returns completed sales plus a price-comps report per query (median, P25-P75, sell-through, trend). Live listings returns what is currently on sale.

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

Keywords to search on Mercari Japan. Japanese keywords return far more results than English ones, because that is how sellers write their listings.

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

Paste search URLs straight from jp.mercari.com. Their keyword, category, brand and price filters are read automatically.

## `maxItems` (type: `integer`):

Stop after saving this many items across all queries. Protects you from an unexpectedly large bill on a broad search.

## `soldWithinDays` (type: `integer`):

Only include sales completed in this window. Mercari returns sold listings going back years, so without this a median mixes current prices with ones from several years ago.

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

Lowest price to include, in Japanese yen. Leave at 0 for no minimum.

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

Highest price to include, in Japanese yen. Leave at 0 for no maximum.

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

Skip listings containing this text. Useful for stripping out reproductions, damaged goods or bundle lots.

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

Only include items in these conditions. Leave empty for all conditions.

## `shippingPayer` (type: `array`):

Filter by who covers postage. Seller-pays listings dominate Mercari and are the fairer basis for a price comparison.

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

Mercari numeric category IDs, as they appear in a search URL's category_id parameter.

## `brandIds` (type: `array`):

Mercari numeric brand IDs, as they appear in a search URL's brand_id parameter.

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

Restrict the search to these sellers. Useful for tracking a competitor's sell-through.

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

Order Mercari returns results in. Newest first gives the most representative recent sample.

## `computeComps` (type: `boolean`):

Produce a comps report per query - median, trimmed mean, P25-P75, days to sell and 30d vs 90d trend - stored under the COMPS key in the key-value store.

## `includeActiveForSellThrough` (type: `boolean`):

Also count currently live listings so the report can show sell-through (sold divided by sold plus active). Costs a few extra requests and is not charged as results.

## `priceBands` (type: `integer`):

Split each query into this many price bands to read past Mercari's paging ceiling. Leave at 0 to split automatically only when a query is too large.

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

Mercari serves Japan-specific results and rate-limits aggressive clients. Apify Proxy is strongly recommended; Japanese residential proxies give the most reliable results.

## Actor input object example

```json
{
  "mode": "sold-comps",
  "queries": [
    "ポケモンカード リザードン"
  ],
  "startUrls": [
    {
      "url": "https://jp.mercari.com/search?keyword=%E3%83%9D%E3%82%B1%E3%83%A2%E3%83%B3%E3%82%AB%E3%83%BC%E3%83%89"
    }
  ],
  "maxItems": 500,
  "soldWithinDays": 90,
  "priceMin": 0,
  "priceMax": 0,
  "excludeKeyword": "",
  "conditions": [],
  "shippingPayer": [],
  "categoryIds": [],
  "brandIds": [],
  "sellerIds": [],
  "sortBy": "newest",
  "computeComps": true,
  "includeActiveForSellThrough": true,
  "priceBands": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Every listing saved by this run, one row per item

## `comps` (type: `string`):

Median, P25-P75, sell-through rate and price trend per query, under the COMPS key

# 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": [
        "ポケモンカード リザードン"
    ],
    "startUrls": [
        {
            "url": "https://jp.mercari.com/search?keyword=%E3%83%9D%E3%82%B1%E3%83%A2%E3%83%B3%E3%82%AB%E3%83%BC%E3%83%89"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sigma-dev/mercari-japan-scraper-sold-prices-and-comparisons").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": ["ポケモンカード リザードン"],
    "startUrls": [{ "url": "https://jp.mercari.com/search?keyword=%E3%83%9D%E3%82%B1%E3%83%A2%E3%83%B3%E3%82%AB%E3%83%BC%E3%83%89" }],
}

# Run the Actor and wait for it to finish
run = client.actor("sigma-dev/mercari-japan-scraper-sold-prices-and-comparisons").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": [
    "ポケモンカード リザードン"
  ],
  "startUrls": [
    {
      "url": "https://jp.mercari.com/search?keyword=%E3%83%9D%E3%82%B1%E3%83%A2%E3%83%B3%E3%82%AB%E3%83%BC%E3%83%89"
    }
  ]
}' |
apify call sigma-dev/mercari-japan-scraper-sold-prices-and-comparisons --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sigma-dev/mercari-japan-scraper-sold-prices-and-comparisons"
        }
    }
}
```

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/3ATsySozTEPw8NhSi/builds/Wza8KOrYZCzw9gVFi/openapi.json
