# Mercari Japan Scraper: Price, Condition & Seller (`devanshlive/mercari-japan-scraper`) Actor

Scrape Mercari Japan (jp.mercari.com) listings at scale. Returns JPY price, listing status, condition code, seller ID, category, and photo URLs for every result. Plug into Google Sheets, BigQuery, or n8n. No manual CSV export. $3.99 per 1,000 results.

- **URL**: https://apify.com/devanshlive/mercari-japan-scraper.md
- **Developed by:** [Devansh Tiwari](https://apify.com/devanshlive) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 mercari japan 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Mercari Japan Scraper: Price, Condition & Seller

**Get structured listing data from jp.mercari.com, including JPY price, condition code, listing status, seller ID, and category.** Built for cross-border resellers, pricing analysts, and BI teams who need Mercari Japan data in bulk, without manual CSV export or proxy services.

### What does Mercari Japan Scraper do?

This Actor collects listing data from any Mercari Japan search or category URL. It intercepts the native search API response as the page loads, so every result includes the full set of fields Mercari returns natively, not just what is visible in the DOM.

It supports keyword search with filters for price range, sort order, and listing status (`on_sale`, `sold_out`, `trading`). Pagination is handled automatically via scroll detection and stops when the result limit is reached.

### Why use Mercari Japan Scraper?

Mercari launched its cross-border Global App in 2025, with US access going live in Spring 2026. Cross-border GMV grew 15x in three years. Resellers and pricing analysts need programmatic access to jp.mercari.com listings before the arbitrage window narrows.

- **Cross-border resale research**: Check sold-vs-active status, condition, and seller IDs before sourcing items to flip on eBay, Mercari US, or Depop. No proxy service or browser extension required.
- **Pricing intelligence**: Pull JPY prices at scale for electronics, streetwear, anime, and vintage fashion. Feed into a spreadsheet with a live FX formula to get USD equivalents in one step.
- **BI and data pipelines**: Drop output directly into Google Sheets, BigQuery, or n8n for recurring market snapshots. The dataset schema is consistent and designed for direct ingestion without post-processing.
- **Brand and competitor monitoring**: Track how specific brands or SKUs move through the secondhand market. Run on a schedule to detect assortment changes and price shifts over time.

### How to use Mercari Japan Scraper

1. **Configure input**: Open the Input tab in Apify Console.
2. **Enter a keyword or URL**: Type a search keyword or paste a jp.mercari.com search URL directly.
3. **Apply filters** (optional): Set price range, listing status, and sort order to narrow results.
4. **Set a limit**: Start with 50-100 for validation, then raise to 1,000+ for production runs.
5. **Run**: Click Start. Results appear in the dataset tab as the run progresses.

### Input

| Field | Type | Description |
|---|---|---|
| `startUrls` | array | One or more jp.mercari.com search or category URLs. |
| `keyword` | string | Search keyword. Used to build a search URL if no `startUrls` are provided. |
| `sort` | string | Sort order: `score` (relevance), `created_time` (newest), `price`. |
| `order` | string | Sort direction: `desc` or `asc`. |
| `status` | array | Listing status filter: `on_sale`, `sold_out`, `trading`. Default: `on_sale`. |
| `priceMin` | integer | Minimum price in JPY. |
| `priceMax` | integer | Maximum price in JPY. |
| `limit` | integer | Max listings to collect per run. Default: 1,000. |
| `proxyConfiguration` | object | Proxy settings. Enable Apify Proxy for production runs. |

### Output

Results are written to the Apify dataset as one JSON record per listing. You can download in JSON, CSV, Excel, or HTML format, or connect to the dataset API for direct integration.

Example output record:

```json
{
  "type": "listing",
  "id": 0,
  "url": "https://jp.mercari.com/item/m66939329940",
  "listing_id": "m66939329940",
  "title": "Apple Watch Series 4 44mm ステンレススチール",
  "price": 5000,
  "currency": "JPY",
  "listing_status": "ITEM_STATUS_ON_SALE",
  "condition_id": "3",
  "seller_id": "629110147",
  "category_id": "3676",
  "thumbnail_url": "https://static.mercdn.net/thumb/item/webp/m66939329940_1.jpg",
  "media": {
    "thumbnail_urls": ["https://static.mercdn.net/thumb/item/webp/m66939329940_1.jpg"]
  },
  "scrape_context": {
    "scraped_time": 1777464674689
  }
}
````

### Data table

| Field | Description |
|---|---|
| `type` | Always `listing`. |
| `url` | Full listing URL on jp.mercari.com. |
| `listing_id` | Mercari item ID (e.g. `m66939329940`). |
| `title` | Listing title in the original language. |
| `price` | Listed price in JPY (integer). |
| `currency` | Always `JPY`. |
| `listing_status` | Status code: `ITEM_STATUS_ON_SALE`, `ITEM_STATUS_SOLD_OUT`, or `ITEM_STATUS_TRADING`. |
| `condition_id` | Condition code: 1 = like new, 2 = excellent, 3 = good, 4 = fair, 5 = poor, 6 = very poor. |
| `seller_id` | Seller account identifier. Use for seller-level analysis across multiple listings. |
| `category_id` | Mercari category ID. Cross-reference with Mercari's category list for label lookup. |
| `thumbnail_url` | Primary thumbnail URL from Mercari's CDN. |
| `media.thumbnail_urls` | All thumbnail URLs for the listing. |
| `scrape_context.scraped_time` | Unix timestamp (ms) when the record was collected. |

### Pricing

Running this Actor costs approximately $3.99 per 1,000 results. A run of 500 listings typically finishes in 2-3 minutes.

Mercari caps search results at around 3,000 items per query. For broader coverage, run multiple keyword or category URLs in one session using the `startUrls` input.

### Tips

- **Use proxies in production**: Enable Apify Proxy for production runs. Without a proxy, Mercari Japan may throttle headless browser traffic for large batches.
- **Validate first**: Set `limit` to 20-50 to check field coverage before committing to a full run.
- **Multiple keywords**: Add several search URLs to `startUrls` to cover multiple keywords in one run. The Actor deduplicates results across URLs automatically.
- **Scheduling**: Use Apify's built-in Scheduler to run recurring snapshots and feed a diff into your BI pipeline or n8n workflow.
- **Sold listings**: Set `status` to `["sold_out"]` to pull completed-sale data for price comps.

### FAQ, disclaimers, and support

**What do the condition codes mean?** Mercari JP uses numeric codes: 1 = like new, 2 = excellent, 3 = good, 4 = fair, 5 = poor, 6 = very poor.

**Can I scrape sold listings?** Yes. Set `status` to `["sold_out"]` in the input.

**Why are titles in Japanese?** Mercari Japan is a Japanese marketplace. Titles are returned as-is. For English output, pass the `title` field through a translation API in your downstream pipeline.

**Is this compliant?** This Actor collects publicly visible listing data from jp.mercari.com for research and analysis purposes. Users are responsible for ensuring their use complies with applicable laws, platform terms, and data protection regulations in their jurisdiction.

**Support**: Open an issue on the Actor's Issues tab in Apify Console.

# Actor input Schema

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

One or more Mercari Japan URLs to scrape directly. You can mix search pages, category pages, and individual listing pages in the same run.

## `keyword` (type: `string`):

Optional keyword override applied across search seeds for this run. Useful when you want one consistent term.

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

Optional sorting for search results.

## `order` (type: `string`):

Optional sort direction.

## `status` (type: `array`):

Optional listing status filter.

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

Optional minimum listing price (JPY). Use to exclude lower-priced items.

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

Optional maximum listing price (JPY). Use to cap results to your target range.

## `limit` (type: `integer`):

Maximum listings to save per query. Use lower values for quick validation and higher values for deeper coverage.

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

Specify the proxy servers to use for anti-scraping measures.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://jp.mercari.com/en/search?keyword=apple%20watch"
    }
  ],
  "status": [
    "on_sale",
    "sold_out"
  ],
  "limit": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "startUrls": [
        {
            "url": "https://jp.mercari.com/en/search?keyword=apple%20watch"
        }
    ],
    "status": [
        "on_sale",
        "sold_out"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devanshlive/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 = {
    "startUrls": [{ "url": "https://jp.mercari.com/en/search?keyword=apple%20watch" }],
    "status": [
        "on_sale",
        "sold_out",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("devanshlive/mercari-japan-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://jp.mercari.com/en/search?keyword=apple%20watch"
    }
  ],
  "status": [
    "on_sale",
    "sold_out"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call devanshlive/mercari-japan-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=devanshlive/mercari-japan-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Mercari Japan Scraper: Price, Condition & Seller",
        "description": "Scrape Mercari Japan (jp.mercari.com) listings at scale. Returns JPY price, listing status, condition code, seller ID, category, and photo URLs for every result. Plug into Google Sheets, BigQuery, or n8n. No manual CSV export. $3.99 per 1,000 results.",
        "version": "0.1",
        "x-build-id": "FJgDzRbhMjnkdob5G"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/devanshlive~mercari-japan-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-devanshlive-mercari-japan-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/devanshlive~mercari-japan-scraper/runs": {
            "post": {
                "operationId": "runs-sync-devanshlive-mercari-japan-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/devanshlive~mercari-japan-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-devanshlive-mercari-japan-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "proxyConfiguration"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "One or more Mercari Japan URLs to scrape directly. You can mix search pages, category pages, and individual listing pages in the same run.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "keyword": {
                        "title": "Keyword",
                        "type": "string",
                        "description": "Optional keyword override applied across search seeds for this run. Useful when you want one consistent term."
                    },
                    "sort": {
                        "title": "Sort",
                        "enum": [
                            "score",
                            "created_time",
                            "price"
                        ],
                        "type": "string",
                        "description": "Optional sorting for search results."
                    },
                    "order": {
                        "title": "Order",
                        "enum": [
                            "desc",
                            "asc"
                        ],
                        "type": "string",
                        "description": "Optional sort direction."
                    },
                    "status": {
                        "title": "Status",
                        "type": "array",
                        "description": "Optional listing status filter.",
                        "default": [
                            "on_sale"
                        ]
                    },
                    "priceMin": {
                        "title": "Min Price",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Optional minimum listing price (JPY). Use to exclude lower-priced items."
                    },
                    "priceMax": {
                        "title": "Max Price",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Optional maximum listing price (JPY). Use to cap results to your target range."
                    },
                    "limit": {
                        "title": "Limit",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum listings to save per query. Use lower values for quick validation and higher values for deeper coverage.",
                        "default": 1000
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Specify the proxy servers to use for anti-scraping measures.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
