# Mercari Japan Scraper \[$1/1K💰] | Listings & Sold Comps (`ahmed_jasarevic/jp-mercari-scraper`) Actor

Scrape Mercari Japan listings, item details, seller ratings and sold comps through the internal JSON API. Search by keyword, category, brand or seller; export clean JSON or CSV. No browser, login or API key.

- **URL**: https://apify.com/ahmed_jasarevic/jp-mercari-scraper.md
- **Developed by:** [Ahmed Jasarevic](https://apify.com/ahmed_jasarevic) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 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.
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

Scrape **Mercari Japan** (`jp.mercari.com`) listings, item details, seller stats and sold comparables from public marketplace pages - no account required.

### Build A Mercari Japan Price And Resale Dataset

- Search live listings by keyword, category, brand or seller
- Collect sold-out listings for price comparables and resale research
- Enrich every item with description, photos, condition, shipping and seller ratings
- Track JPY prices, likes, comments and listing status over time
- Export clean JSON, CSV or Excel for sourcing, pricing or market research

### How It Works

![How the Mercari Japan Scraper turns public marketplace pages into a dataset of listings, prices, sellers and sold comparables.](https://api.apify.com/v2/key-value-stores/oeuA0kLOyhbRM4fzt/records/how-it-works-jp-mercari-scraper.webp)

The Actor collects publicly available Mercari Japan listings, item details, seller stats and sold comparables and normalizes them into one schema. Provide keywords, category or brand filters, seller IDs or direct item URLs; the Actor follows the results, enriches each item with the published details and writes one row per listing.

- Search results can include up to **120 items per page**.
- Detail enrichment adds the description, category path, photo set, shipping fee and seller profile.
- Sold listings are included when `includeSoldOut` is enabled; `soldDate` is an estimate.
- Enable `proxy` if Mercari rate-limits your network; a Japan residential proxy group is the safest option.

### Search Mercari By Keyword, Category, Brand Or Seller

Use one or more targeting modes in the same run:

- `searchQueries` — keywords such as `nike dunk`, `supreme box logo` or `vintage levis 501`
- `categoryIds` — numeric Mercari category IDs; leave keywords empty to browse a category
- `brandIds` — numeric brand IDs such as `857` for Nike
- `sellerIds` — scrape every listing from specific sellers
- `itemIds` / `itemUrls` — fetch specific listings directly and skip search

Refine results with `includeOnSale`, `includeSoldOut`, `sort`, `priceMin`, `priceMax` and `conditionIds`. `maxItems` caps saved listings, while `maxPagesPerQuery` controls how deep each keyword or filter combination is paginated.

`enrichDetails` is on by default. It adds detail work per item for the description, full category path, photo set, shipping fee and seller profile. Turn it off for a faster, cheaper card-only run.

### Collect Sold Comps And Understand Sold Dates

Set `includeSoldOut: true` to collect sold-out listings alongside live ones. Sold price is the last listed price (`priceJpy`), which is the value Mercari exposes for a completed sale.

Mercari does **not** publish an explicit sold timestamp. For sold listings the `updated` field is bumped when the transaction closes, so the Actor reports `soldDate` from `updated` and sets `soldDateIsEstimate: true`. Use it as a close approximation, not an audited sale date.

Broad on-sale searches are capped by Mercari at `numFound = 15000`. Narrow by category, brand or price band to reach more inventory, and use `maxPagesPerQuery` within that window.

### Extract Item Details, Seller Ratings And Shipping

With detail enrichment enabled, each row can include:

- `description`, `photos`, `photoCount`, `likes` and `comments`
- `condition`, `conditionId` and `conditionNote`
- `brand`, `category`, `categoryPath` and `categoryPathString`
- `size`, `color`, `shippingPayer`, `shippingMethod`, `shippingFeeJpy` and `freeShipping`
- `sellerName`, `sellerRating`, `sellerRatings`, `sellerNumRatings`, `sellerNumSellItems` and `sellerIsOfficial`

`listingType` is `shop` when the item is sold by a Mercari shop and `c2c` otherwise. `source` tells you whether the row came from a search result or an item detail record.

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `searchQueries` | array | empty | Keywords to search. The UI prefills `nike dunk`. |
| `categoryIds` | array | empty | Numeric Mercari category IDs. |
| `brandIds` | array | empty | Numeric Mercari brand IDs. |
| `sellerIds` | array | empty | Mercari seller/user IDs. |
| `itemIds` | array | empty | Direct item IDs such as `m17174861275`. |
| `itemUrls` | array | empty | Direct item URLs; the ID is extracted automatically. |
| `includeOnSale` | boolean | `true` | Include active listings. |
| `includeSoldOut` | boolean | `false` | Also collect sold-out listings for comps. |
| `sort` | string | `relevance` | `relevance`, `newest`, `price_asc`, `price_desc` or `likes`. |
| `priceMin` | integer | `0` | Minimum price in JPY; `0` means no minimum. |
| `priceMax` | integer | `0` | Maximum price in JPY; `0` means no maximum. |
| `conditionIds` | array | empty | Mercari condition IDs 1–6. |
| `maxItems` | integer | `50` | Maximum listings saved. Free users are capped at 10. |
| `maxPagesPerQuery` | integer | `3` | Result pages per keyword/filter combination (120 items each). |
| `concurrency` | integer | `20` | Parallel workers, maximum 50. |
| `enrichDetails` | boolean | `true` | Collect full details for each item. |
| `proxy` | object | disabled | Optional Apify Proxy configuration. |

A keyword run:

```json
{
  "searchQueries": ["nike dunk", "supreme box logo"],
  "includeSoldOut": true,
  "maxItems": 200,
  "maxPagesPerQuery": 3,
  "enrichDetails": true
}
```

A direct item run:

```json
{
  "itemUrls": ["https://jp.mercari.com/item/m17174861275"],
  "enrichDetails": true
}
```

### Output

One dataset item per listing. Prices are in JPY and titles/descriptions are usually Japanese.

```json
{
  "itemId": "m17174861275",
  "url": "https://jp.mercari.com/item/m17174861275",
  "title": "NIKE DUNK LOW RETRO",
  "priceJpy": 12800,
  "currency": "JPY",
  "status": "on_sale",
  "isSold": false,
  "soldDate": null,
  "soldDateIsEstimate": null,
  "condition": "Good / 目立った傷や汚れなし",
  "brand": "NIKE",
  "categoryPathString": "Men > Shoes > Sneakers",
  "size": "27.0cm",
  "shippingFeeJpy": 0,
  "freeShipping": true,
  "likes": 42,
  "sellerName": "sneaker_shop_jp",
  "sellerRating": 4.9,
  "sellerNumSellItems": 1832,
  "listingType": "c2c",
  "photos": ["https://static.mercdn.net/item/detail/orig/photos/m17174861275_1.jpg"],
  "photoCount": 8,
  "description": "NIKE DUNK LOW RETRO 27.0cm...",
  "searchKeyword": "nike dunk",
  "itemType": "listing",
  "scrapedAt": "2026-10-26T12:00:00.000Z"
}
```

| Field group | Fields |
| --- | --- |
| Identity | `itemId`, `url`, `title`, `priceJpy`, `currency` |
| Status | `status`, `statusRaw`, `isSold`, `soldDate`, `soldDateIsEstimate`, `listedAt`, `updatedAt` |
| Condition | `condition`, `conditionId`, `conditionNote` |
| Classification | `brand`, `brandId`, `categoryId`, `category`, `categoryPath`, `categoryPathString` |
| Variants | `size`, `sizeId`, `color` |
| Shipping | `shippingPayer`, `shippingPayerCode`, `shippingMethod`, `shippingFeeJpy`, `shippingTotalFeeJpy`, `shippingFromArea`, `shippingDuration`, `freeShipping` |
| Engagement | `likes`, `comments` |
| Seller | `sellerId`, `sellerName`, `sellerRating`, `sellerRatings`, `sellerNumRatings`, `sellerNumSellItems`, `sellerIsOfficial`, `sellerAccountCreatedAt` |
| Media and text | `photos`, `thumbnails`, `photoCount`, `description`, `hashTags` |
| Listing metadata | `listingType`, `isShopItem`, `shopName`, `itemType`, `searchKeyword`, `queryLabel`, `source`, `scrapedAt` |

### Pricing

Each saved listing is billed at **$0.001**, or **$1 per 1,000 listings**. A standard Actor Start event costs **$0.00005** per run. The current build uses the platform's Actor Start and default-dataset result events; it does not add a separate item event.

Pricing tiers: $0.001 on FREE and BRONZE, $0.0008 on SILVER, $0.00075 on GOLD, PLATINUM and DIAMOND. A 1,000-item run therefore costs about **$1.00** in result charges plus the start event and Apify platform usage.

Free users get a **10-item preview**. Paying users can request up to 5,000 items. Detail enrichment does not add a separate event charge; it adds detail work per item, so it increases compute time but not the per-result price.

### Schedule Mercari Price Tracking

- **Daily keyword monitoring** — save a task per product niche and diff `itemId` and `priceJpy` against the previous run.
- **Sold comps** — run weekly with `includeSoldOut: true` and use `soldDate` as an approximate close date.
- **Seller monitoring** — pass `sellerIds` to track a shop's inventory and pricing.
- **New-listing alerts** — sort by `newest`, schedule hourly or daily, and send new `itemId` values to Slack, email or a webhook.
- **Deduplication** — `itemId` is the stable key when keywords or categories overlap.

### Related Actors

- [Mercari Japan Scraper](https://apify.com/fatihtahta/mercari-japan-scraper) — keyword and category search with seller data.
- [Mercari Japan Scraper — Listings, Prices & Sold Data](https://apify.com/logiover/mercari-japan-scraper) — listings and sold-price research.
- [Mercari Listings Scraper](https://apify.com/piotrv1001/mercari-listings-scraper) — listings, details and seller profiles.
- [Buyee Scraper](https://apify.com/getascraper/buyee-scraper) — Yahoo Auctions Japan and Mercari listings through Buyee.

### FAQ

#### Does the Actor require a Mercari account?

No. The Actor collects publicly available marketplace data and does not need a Mercari account.

#### Can I monitor prices over time?

Yes. Schedule the Actor and compare `itemId` and `priceJpy` between runs to track new listings, price changes and sold comps.

#### Why is `soldDate` marked as an estimate?

Mercari does not expose an explicit sale timestamp. For sold listings, `updated` is bumped when the transaction closes, so the Actor uses it as the closest available proxy and flags it with `soldDateIsEstimate: true`.

#### Why are some item details missing?

Some listings do not publish full item details. The Actor still returns the search-summary fields for those listings.

#### Why did a run return zero results?

A run can return zero results when the filters are too narrow or Mercari temporarily limits your network. Enable `proxy`, preferably a Japan residential group, or retry later from another IP.

#### Are prices converted to USD?

No. `priceJpy` and `currency: "JPY"` are kept as published. Convert downstream if you need another currency.

#### Can I scrape Mercari US?

No. This Actor targets `jp.mercari.com` only.

#### Is there a free preview?

Yes. Free users are capped at 10 saved listings. Paying users can request up to 5,000.

### For AI Agents & LLM Apps

Returns Mercari Japan listings as one row per `itemId`.

Minimal keyword run:

```json
{ "searchQueries": ["nike dunk"], "maxItems": 25 }
```

Sold comps:

```json
{ "searchQueries": ["supreme box logo"], "includeSoldOut": true, "maxItems": 100 }
```

Direct items:

```json
{ "itemUrls": ["https://jp.mercari.com/item/m17174861275"] }
```

Output fields: `itemId`, `url`, `title`, `priceJpy`, `currency`, `status`, `statusRaw`, `isSold`, `soldDate`, `soldDateIsEstimate`, `listedAt`, `updatedAt`, `condition`, `conditionId`, `conditionNote`, `brand`, `brandId`, `categoryId`, `category`, `categoryPath`, `categoryPathString`, `size`, `sizeId`, `color`, `shippingPayer`, `shippingPayerCode`, `shippingMethod`, `shippingFeeJpy`, `shippingTotalFeeJpy`, `shippingFromArea`, `shippingDuration`, `freeShipping`, `likes`, `comments`, `sellerId`, `sellerName`, `sellerRating`, `sellerRatings`, `sellerNumRatings`, `sellerNumSellItems`, `sellerIsOfficial`, `sellerAccountCreatedAt`, `photos`, `thumbnails`, `photoCount`, `description`, `hashTags`, `listingType`, `isShopItem`, `shopName`, `itemType`, `searchKeyword`, `queryLabel`, `source`, `scrapedAt`.

Behaviors an agent should know:

- `itemId` is the unique key for deduplication.
- `priceJpy` is an integer in Japanese yen, not USD.
- `soldDate` is an estimate derived from `updated`.
- `description`, `photos` and seller ratings require `enrichDetails: true`.
- Free runs stop at 10 items; paid runs can reach 5,000.
- A temporary access error is surfaced as an error, not as an empty dataset.

### Legal & Compliance Disclaimer

This Actor is independent and is not affiliated with, endorsed by or sponsored by Mercari. It reads publicly reachable listings and item data that Mercari serves to any visitor; it does not log in, bypass a paywall or access private account data. Mercari's public pages can change without notice. You are responsible for complying with Mercari's terms of use, robots directives and applicable law, including data-protection rules, when you store, republish or commercialize the data.

### SEO Keywords

mercari japan scraper, mercari jp scraper, mercari api, mercari sold comps, mercari sold listings, mercari price tracker, mercari japan data, scrape mercari japan, mercari listings api, mercari item details, mercari seller data, mercari japan resale, mercari price data, mercari csv, mercari json, japan marketplace scraper, mercari product data, mercari market research, mercari arbitrage, mercari scraping tool

# Actor input Schema

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

Mercari Japan search keywords, e.g. "nike dunk", "supreme box logo", "vintage levis 501". Each keyword is paginated up to "Max pages per query".

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

Mercari numeric category IDs (e.g. 345 = スニーカー / sneakers, 1 = レディース). Browse a whole category by leaving the keywords empty.

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

Mercari numeric brand IDs (e.g. 857 = NIKE). Filter listings by brand.

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

Mercari seller/user IDs — scrape every listing of specific sellers.

## `itemIds` (type: `array`):

Direct item IDs (e.g. m17174861275). Skips search and fetches these listings only.

## `itemUrls` (type: `array`):

Direct item URLs (https://jp.mercari.com/item/m17174861275). The item ID is extracted automatically.

## `includeOnSale` (type: `boolean`):

Include active listings (status on_sale).

## `includeSoldOut` (type: `boolean`):

Also collect sold-out listings — useful for price/comps research. Sold price is the listed price.

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

Sorting applied to search results.

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

Minimum listing price in Japanese yen. 0 = no minimum.

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

Maximum listing price in Japanese yen. 0 = no maximum.

## `conditionIds` (type: `array`):

Filter by Mercari condition IDs: 1 = 新品 (new), 2 = 未使用に近い (like new), 3 = 目立った傷や汚れなし (good), 4 = やや傷や汚れあり (fair), 5 = 傷や汚れあり (poor), 6 = 全体的に状態が悪い (very poor).

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

Maximum number of listings to save to the dataset. Free users are capped at 10 items.

## `maxPagesPerQuery` (type: `integer`):

How many result pages (120 items each) to request per keyword/filter combination.

## `concurrency` (type: `integer`):

How many requests to run in parallel. Higher is faster but more likely to hit Mercari rate limits. 20 is a good default.

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

Fetch each listing's detail endpoint for description, full category path, seller ratings, likes and shipping fee. Costs one extra request per item. Disable for fast/cheap id+price+title listings.

## `proxy` (type: `object`):

Select proxies to be used by your crawler. Mercari may answer flagged IPs with a Cloudflare challenge (HTTP 200); enable Apify Proxy, preferably a Japan residential group, if that happens.

## Actor input object example

```json
{
  "searchQueries": [
    "nike dunk"
  ],
  "categoryIds": [],
  "brandIds": [],
  "sellerIds": [],
  "itemIds": [],
  "itemUrls": [],
  "includeOnSale": true,
  "includeSoldOut": false,
  "sort": "relevance",
  "priceMin": 0,
  "priceMax": 0,
  "conditionIds": [],
  "maxItems": 50,
  "maxPagesPerQuery": 3,
  "concurrency": 20,
  "enrichDetails": true,
  "proxy": {
    "useApifyProxy": 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 = {
    "searchQueries": [
        "nike dunk"
    ],
    "proxy": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmed_jasarevic/jp-mercari-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 = {
    "searchQueries": ["nike dunk"],
    "proxy": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("ahmed_jasarevic/jp-mercari-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 '{
  "searchQueries": [
    "nike dunk"
  ],
  "proxy": {
    "useApifyProxy": false
  }
}' |
apify call ahmed_jasarevic/jp-mercari-scraper --silent --output-dataset

```

## MCP server setup

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