# Mercari Listings Scraper · Sold & on-sale · $1/1K (`mlg14/mercari-scraper`) Actor

Search and collect Mercari US listings by keyword, category, brand or shop URL for resale price research, sold-item comps and catalog tracking. Prices, status, condition, brand, photos. Optional item details. Residential proxy. $1/1K listings.

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

## Pricing

$1.00 / 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.

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 Listings Scraper

This Mercari Listings Scraper collects public Mercari US listings by keyword, category, brand, shop page, or direct item URL. Export Mercari listing data to JSON or CSV for price research, catalog tracking, and repeatable market snapshots. This Mercari API alternative returns stable records with listing identity, price, availability, category, condition, brand, and image links; an optional detail pass adds description, the full photo gallery, shipping metadata, and timestamps.

### What data can you extract from Mercari?

Each dataset row represents one public US listing. A single item keeps the same identifier across repeated runs, which makes daily comparisons and deduplication straightforward. Monetary fields use US dollars unless their name ends in Cents. Empty optional fields appear as null or an empty list, so downstream jobs can distinguish unavailable data from zero.

| Field | Description | Example |
| --- | --- | --- |
| type | Record type | listing |
| id | Stable listing identifier | m12361284595 |
| listingId | Listing identifier with its prefix | m12361284595 |
| url | Direct US item page | https://www.mercari.com/us/item/m12361284595/ |
| title | Public listing title | Western Style Smart Watch Band with Turquoise Accents |
| description | Item description when detail collection is enabled | Null in a search-only run |
| price | Current listed price in USD | 5 |
| priceCents | Current listed price in cents | 500 |
| originalPrice | Earlier or original price in USD when provided | 5 |
| currency | Currency code | USD |
| listingStatus | Public availability state | on_sale |
| listingType | Item type from the detail page | physical |
| brandId | Marketplace brand code when assigned | 0 |
| brandName | Brand label when assigned | Null |
| categoryId | Marketplace category code | 1575 |
| categoryName | Category label | Smart Watch Accessories |
| conditionId | Marketplace condition code | 1 |
| conditionName | Human-readable condition | New |
| sizeId | Size code when applicable | Null |
| sellerId | Public seller identifier | 113450678 |
| shippingPayerId | Shipping payer code from item details | Null in a search-only run |
| shippingMethodId | Shipping method code from item details | Null in a search-only run |
| shippingFromArea | Public shipping origin area from item details | Null in a search-only run |
| thumbnailUrls | Thumbnail image links | One or more image URLs |
| photoUrls | Listing image links | One or more image URLs |
| likes | Public like count from item details | Null in a search-only run |
| createdAt | UTC item creation time from item details | ISO timestamp or null |
| updatedAt | UTC item update time from item details | ISO timestamp or null |
| sourceUrl | Page and filters that produced the record | Category search URL |
| scrapedAt | UTC collection time | ISO timestamp |

The first result page usually includes the title, current price, status, category, condition, seller identifier, and a primary photo. The individual item page can supply fields that are absent from a result card. Enable details only when your analysis needs those fields. A search result can already be useful for pricing distributions, inventory counts, or a watch list without opening every item.

Prices are normalized for convenience. Mercari's page data supplies integer cents; the actor divides by 100 to produce price and originalPrice in dollars while retaining priceCents for exact arithmetic. For example, priceCents 500 and price 5 both describe a five-dollar listing. Use priceCents when aggregating or comparing precise amounts.

### How to scrape Mercari

1. Enter a keyword, a US category or brand URL, a shop page, an item URL, or a mix of URLs. A keyword without URLs checks the top-level US categories in a fixed order and stops when the global limit is reached. For a balanced sample across categories, run each category separately.
2. Choose a sort order, availability states, optional price bounds, and the maximum number of unique listings.
3. Turn on item details if you need full descriptions, photo galleries, shipping codes, or timestamps. Leave it off for faster result collection.
4. Run the actor and inspect the dataset. Download the records in JSON or CSV, or read them from your existing data workflow.

For a narrow search, pair the keyword with a relevant category URL. For example, use an electronics category URL when researching watches or a clothing category URL when researching apparel. This makes the starting scope clear and usually reaches the requested limit with fewer pages. For a known product, a direct item URL is the shortest path to a full record.

You can use the canonical address shown in a browser for a category, brand, shop, or item. The actor accepts the US site. A search URL is expanded into top-level category searches so it can collect server-rendered result data. Duplicate listings are removed across categories and URLs before they are saved.

### Input

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| startUrls | Array of strings | Empty | US category, brand, shop, search, or item URLs. |
| keyword | String | Empty | Search phrase; overrides a keyword already present in a supplied URL. |
| sort | String | relevance | Best match, newest, lowest price, highest price, or recently sold. |
| status | Array of strings | Empty | Include on_sale, sold_out, trading, or any combination. Empty means all. |
| priceMin | Number | Unset | Minimum listed price in US dollars, inclusive. |
| priceMax | Number | Unset | Maximum listed price in US dollars, inclusive. |
| limit | Integer | 50 | Maximum unique records saved across the run. |
| includeDetails | Boolean | false | Open each listing page for additional public fields. |
| proxyConfiguration | Object | Residential connection | Connection settings for the target pages. |

Example input for a bounded market snapshot:

```json
{
  "startUrls": ["https://www.mercari.com/us/category/electronics-7/"],
  "keyword": "apple watch",
  "sort": "newest",
  "status": ["on_sale"],
  "priceMin": 5,
  "priceMax": 200,
  "limit": 50,
  "includeDetails": false
}
```

The status values describe listing availability, not item condition. An on_sale item can be new or used. Condition is returned separately through conditionId and conditionName. Price bounds are entered in dollars and converted to the site's cent-based query values. A limit is global: when several URLs overlap, a duplicate does not consume another result slot.

For a direct item URL, the actor reads the item's full public page data even when includeDetails is false. The flag matters when the initial target is a result page and the actor would otherwise need a separate request for each item.

### Output example

This shortened record came from a successful 50-item run on September 26, 2026. The input used the electronics category, the keyword "apple watch," newest ordering, and on_sale status. The example is shortened only to keep the main fields visible; the full dataset also contains the remaining documented fields.

```json
{
  "type": "listing",
  "id": "m12361284595",
  "listingId": "m12361284595",
  "url": "https://www.mercari.com/us/item/m12361284595/",
  "title": "Western Style Smart Watch Band with Turquoise Accents",
  "description": null,
  "price": 5,
  "priceCents": 500,
  "originalPrice": 5,
  "currency": "USD",
  "listingStatus": "on_sale",
  "brandId": 0,
  "brandName": null,
  "categoryId": 1575,
  "categoryName": "Smart Watch Accessories",
  "conditionId": 1,
  "conditionName": "New",
  "sellerId": 113450678,
  "thumbnailUrls": [
    "https://u-mercari-images.mercdn.net/photos/m12361284595_1.jpg?1790445324&width=200&height=200"
  ],
  "photoUrls": [
    "https://u-mercari-images.mercdn.net/photos/m12361284595_1.jpg?1790445324"
  ],
  "createdAt": null,
  "updatedAt": null,
  "sourceUrl": "https://www.mercari.com/us/category/electronics-7/?keyword=apple+watch&sortBy=2&status_on_sale=1&status_trading_sold_out=0&offset=0",
  "scrapedAt": "2026-09-26T23:53:28.665359Z"
}
```

For updates, use listingId as the record key. A listing may move from on_sale to sold_out, change its price, or disappear from a later search. A new snapshot can be compared with the previous one by that key. Absence from a search is not by itself proof of a sale: ranking, filters, search windows, or removal can also change the result set. When a particular item's state matters, submit its direct item URL in a later run.

### Use with AI agents (MCP)

Add this actor to any MCP client (Claude, Cursor, VS Code, n8n...) with one URL:

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

An agent gets back one flat JSON row per Mercari listing with price, status, condition, brand, category and photo links. Keep `limit` small (50 or less) so a run finishes in under three minutes.

**Prompt 1:** "Find the 30 newest Apple Watch listings on Mercari under $200."

```json
{"startUrls": ["https://www.mercari.com/us/category/electronics-7/"], "keyword": "apple watch", "sort": "newest", "status": ["on_sale"], "priceMax": 200, "limit": 30}
```

**Prompt 2:** "Get 40 recently sold Mercari listings for Nintendo Switch to estimate resale prices."

```json
{"keyword": "nintendo switch", "sort": "recently_sold", "status": ["sold_out"], "limit": 40}
```

**Prompt 3:** "Pull full details, description and all photos, for these two Mercari items."

```json
{"startUrls": ["https://www.mercari.com/us/item/m12361284595/"], "includeDetails": true, "limit": 5}
```

### Use cases

- **Resale pricing:** Collect comparable listings in a specific category, then calculate a median, range, and count by condition. Keep priceCents for exact price math.
- **Assortment monitoring:** Run the same category or brand search on a schedule. Compare listing identifiers and statuses over time to see how visible inventory changes.
- **Catalog enrichment:** Match a product catalog to public titles, categories, condition labels, brands, and image links. Use the item URL as a traceable reference.
- **Sale-state tracking:** Save direct item URLs for items of interest and check their public status in subsequent snapshots. This can support internal monitoring of availability.
- **Image review:** Collect primary images quickly from result pages. Use includeDetails when a full gallery is needed for a smaller set of listings.
- **Category research:** Explore a marketplace category with price bounds and sort order to understand what appears at the high and low ends of the market.

These uses depend on visible public listings. The actor does not access private accounts, checkout information, messages, or transaction records. Seller metadata is limited to the public seller identifier exposed with a listing.

### How much does it cost to scrape Mercari?

The configured result price is **$1.00 per 1,000 saved listings**, or $0.001 per delivered record. The charge follows the number of records actually saved, up to the run's limit. The platform's standard execution and connection usage is included in this result price.

| Saved listings | Result charge |
| ---: | ---: |
| 50 | $0.05 |
| 1,000 | $1.00 |
| 5,000 | $5.00 |

A run that saves 50 results costs $0.05 at this rate. A broader run that saves 1,000 costs $1.00. If you request 5,000 but filters yield only 800, the result charge follows 800 saved records, or $0.80. These examples describe the configured result event price; check the displayed price in the run interface before starting a large job.

The optional detail pass adds one item-page request per saved listing, so it can take longer than a result-only run. It does not change the per-record result price shown here. For wide scans, collect result rows first and use a second run with direct item URLs for the subset that needs full descriptions and shipping fields.

### Tips for best results

Use a specific keyword and a relevant category together. A broad term across every top-level category can produce many overlapping or marginally relevant matches. Category scoping helps keep a run focused and reduces requests. For brand analysis, provide the brand URL rather than relying on the brand word in the keyword; a word in a title is not the same as an assigned brand.

Start with a limit such as 50 or 100. Inspect the returned category names, status values, and title relevance before increasing it. If a product term has multiple spellings, run each spelling separately and combine results by listingId. Multiple URLs can also be provided in one input; duplicates are removed within that run.

Choose newest for a changing inventory snapshot and best match when the closest title matches matter most. Price ordering can surface low-cost accessories ahead of the main product, so combine it with a category URL or a higher priceMin when appropriate. Recently sold is useful for sold listing research, but the visible search window still limits how much history is available.

For large result sets, the actor advances with the site's offset parameter in 100-result steps. A category or brand can expose a finite result window. Narrow by category, status, price range, or keyword to collect a more complete segment. Separate runs for distinct segments also make later comparisons easier to interpret.

When includeDetails is enabled, the actor tries each item page for the expanded fields. An item may be removed or temporarily unavailable between the result page and the detail request. In that case, the actor keeps the result-row data, and detail-only fields remain empty. Avoid treating null as a confirmed negative value.

### Limits

This actor covers the **US marketplace** on mercari.com. Mercari Japan is a different marketplace, with different URLs, currency, page structure, and field availability. US prices are in USD; they should not be mixed with yen prices without explicit currency handling.

The structured result page provides up to roughly 100 candidates per offset. Search windows can stop at about 20,000 positions for a single filter combination. When a query is larger than that window, split it into narrower category or price segments. Results can also shift while a long run is collecting pages, so deduplication removes repeats but cannot guarantee a perfectly frozen view of the marketplace.

Shop landing pages can have smaller result sets or become unavailable. Search and brand pages may rank or promote listings differently from a simple newest-first query. A listing's presence on a page reflects what the public site returned for that request at that time. The count on a page and the number of rows saved can differ because some entries repeat, fall outside the selected statuses, or lack a usable listing identifier.

Search cards are intentionally compact. They often omit description, full gallery, shipping method, shipping origin, like count, and timestamps. Request item details to fill those fields where the public item page provides them. Some item pages still leave a field empty; do not infer a shipping rule or sale date from a null.

Mercari US pages required a residential connection during validation. The actor uses that connection and rotates the session on repeated blocks. Availability can change by route and time. A failed page is logged and the run continues with later seeds when possible.

### Automated workflows

The input and output are regular JSON, so a scheduled workflow can supply a keyword, a category URL, a limit, and filters, then consume the resulting dataset. For example: "Collect 100 on-sale smart watch accessories in electronics, newest first, and compare their prices with yesterday's run." Another useful instruction is: "Open these 20 item URLs and return the current price, condition, description, full photos, and status." These examples map directly to the documented input fields and require no custom page parsing downstream.

### FAQ

#### Is this limited to public data?

Yes. It reads public US result and item pages. Use the data according to applicable marketplace terms and laws. Avoid using public identifiers for unwanted contact or other misuse.

#### Do I need a login?

No login is part of the input. The actor collects the information visible on public pages and does not read private account data.

#### Why is a residential connection used?

The US pages rejected datacenter requests during validation. A residential connection returned the structured page data needed for listings. The connection setting is included so the actor can reach those public routes.

#### How fast is a run?

A result-only run usually needs one page request per group of about 100 candidates, plus occasional retries. The successful 50-item validation run completed in roughly 12 seconds after the build. Detail collection is slower because it opens each item page separately. Actual time varies with target responses, retries, and input breadth.

#### Can I collect sold listings?

Yes. Select sold_out, optionally with trading, in status. The actor also checks the returned status before saving each row. Very old sold listings may fall outside the site's visible search window.

#### Can I export the data or schedule repeat runs?

Yes. The dataset can be downloaded as JSON or CSV and read through the platform's dataset interface. A scheduled run with the same input can create repeat snapshots for price and availability comparisons.

#### Why are some fields empty?

Result pages expose fewer fields than item pages. Enable includeDetails for descriptions, more photos, shipping fields, and timestamps. A field may still be absent if the public item page does not provide it.

#### Does a missing listing mean it sold?

No. It may have been removed, reranked, filtered out, or moved beyond the current search window. Check the direct item URL when a particular listing's state matters.

### Integrations

Use the dataset endpoint in an existing reporting or storage workflow, or download JSON or CSV for analysis. Scheduled runs and webhooks can trigger a downstream comparison after each snapshot. Keep listingId as the merge key, sourceUrl as provenance, and scrapedAt as the observation time.

### Support

Open an issue on the actor's Issues tab with the input used, the run identifier, the affected URL, and a small output sample. This makes a missing field or changed page response reproducible.

# Actor input Schema

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

Mercari US category, brand, shop, search or item URLs to start from. Example: \["https://www.mercari.com/us/category/electronics-7/"]. Use to scope a search to one category; leave empty to search all top-level categories by keyword.

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

Search phrase for Mercari listings; overrides any keyword inside the URLs. Example: apple watch. Use with a category URL for focused results; leave empty to scrape the URLs as they are.

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

Result order for category and brand pages. Allowed values: relevance, newest, price_low, price_high, recently_sold. Example: newest. Use newest for monitoring runs and recently_sold for sold comps.

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

Only keep listings in these states. Allowed values: on_sale, sold_out, trading. Example: \["sold_out"] for sold comps. Leave empty for all states.

## `priceMin` (type: `number`):

Minimum listed price in US dollars, inclusive. Example: 5. Use to skip cheap accessories; leave empty for no lower bound.

## `priceMax` (type: `number`):

Maximum listed price in US dollars, inclusive. Example: 200. Use to cap the price range; leave empty for no upper bound.

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

Maximum number of unique listings saved in the whole run (1 or more). Example: 50. Use a small value like 50 for quick tests; duplicates do not count.

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

Open each item page to add description, full photo gallery, shipping fields and timestamps. Allowed values: true or false. Example: true. Use for small sets; leave false for faster, cheaper runs.

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

Proxy settings for Mercari US pages; residential Apify Proxy is required and set by default. Example: {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"]}.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.mercari.com/us/category/electronics-7/"
  ],
  "keyword": "apple watch",
  "sort": "relevance",
  "status": [],
  "limit": 50,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped items in the default dataset.

# 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": [
        "https://www.mercari.com/us/category/electronics-7/"
    ],
    "keyword": "apple watch",
    "limit": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("mlg14/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 = {
    "startUrls": ["https://www.mercari.com/us/category/electronics-7/"],
    "keyword": "apple watch",
    "limit": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("mlg14/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 '{
  "startUrls": [
    "https://www.mercari.com/us/category/electronics-7/"
  ],
  "keyword": "apple watch",
  "limit": 50
}' |
apify call mlg14/mercari-scraper --silent --output-dataset

```

## MCP server setup

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