# PayPay Flea Market Scraper — Yahoo!フリマ Japan Listings (`yugenox/paypay-flea-market-scraper`) Actor

Scrape PayPay Flea Market (Yahoo!フリマ) in Japan by keyword, category or URL: price in yen, likes, condition, category, brand, photos and listing date. Optional item details: description, all photos, views, shipping and prefecture. No login, no cookies.

- **URL**: https://apify.com/yugenox/paypay-flea-market-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 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

## PayPay Flea Market Scraper: Yahoo!フリマ Japan listings and prices

Scrape **PayPay Flea Market** (Yahoo!フリマ, formerly PayPayフリマ, paypayfleamarket.yahoo.co.jp), one of Japan's biggest flea-market apps. Search by keyword (Japanese or English), browse categories, or paste search, category and item links. For every listing you get the **price in yen, likes, condition, status (for sale or sold), category path, brand, hashtags, main photo, listing date and URL**. Turn on **Include item details** to also get the full description, every photo, view count, questions, shipping method, ships-within days, the prefecture it ships from and item specs. No login, no cookies, no account.

### What you get

| | |
|---|---|
| **Listing** | Item ID, title, URL, listed date (Japan time), status (`OPEN` / `SOLD`), price-down flag, bulk-purchase flag |
| **Price** | Price in JPY, shipping included (every PayPay Flea Market item ships free) |
| **Item** | Condition (code, plain English and the site's Japanese label), category ID, name and full path, product category, brand (Japanese and English), hashtags |
| **Popularity** | Like count; with details also view count and number of questions |
| **Photos** | Full-size main photo, thumbnail, photo count; with details every photo |
| **Details** (optional) | Description, shipping method, ships within (1-2 / 2-3 / 4-7 days), prefecture it ships from, specs (size, color, storage …), created and updated dates |
| **Search** | The keyword / category that found it, its position in the results and how many listings the site reported |

### How to use it

1. Enter one or more **keywords**, e.g. `iphone`, `ポケモンカード`, `nintendo switch`, `ルイヴィトン`. Japanese keywords usually find many more listings.
2. Optionally add **categories**: the number in a category link such as `paypayfleamarket.yahoo.co.jp/category/38340` (iPhone). With keywords, each keyword is searched inside each category; without keywords, the categories are browsed.
3. Or paste **links** straight from paypayfleamarket.yahoo.co.jp: search pages, category pages or single item pages.
4. Set **Max listings**, optionally a price range and conditions, and run.

#### Input examples

The first 20 iPhone listings:

```json
{
  "keywords": ["iphone"],
  "maxItems": 20
}
```

Pokémon cards under ¥5,000, new or like new, with full item details:

```json
{
  "keywords": ["ポケモンカード"],
  "maxPrice": 5000,
  "conditions": ["new", "used10"],
  "includeDetails": true,
  "maxItems": 100
}
```

Browse a category, and check two listings you are watching:

```json
{
  "categoryIds": ["38340"],
  "startUrls": [
    "https://paypayfleamarket.yahoo.co.jp/item/z716081264",
    "https://paypayfleamarket.yahoo.co.jp/item/z715878008"
  ],
  "maxItems": 500
}
```

#### Input fields

| Field | What it does |
|---|---|
| `keywords` | Search words; each one is a separate search |
| `categoryIds` | Category IDs or category links |
| `startUrls` | Search, category or item links from paypayfleamarket.yahoo.co.jp |
| `maxItems` | Max listings for the whole run, shared fairly between searches (0 = no limit; the site shows up to 10,000 per search) |
| `includeDetails` | Also open each listing's own page for description, all photos, views, shipping, prefecture and specs |
| `minPrice` / `maxPrice` | Price range in yen |
| `conditions` | `new`, `used10` (like new), `used20` (no noticeable scratches), `used40` (some scratches), `used60` (scratches or stains), `used80` (poor) |
| `proxyConfiguration` | Apify Proxy (default) or your own proxies |

### Output example

One row per listing, with Include item details on (trimmed):

```json
{
  "itemId": "z716382678",
  "url": "https://paypayfleamarket.yahoo.co.jp/item/z716382678",
  "title": "ポケモンカード 30周年記念 プロモカード 御三家 9種セット AR",
  "price": 3450,
  "currency": "JPY",
  "status": "OPEN",
  "isSold": false,
  "condition": "new",
  "conditionLabel": "New / unused",
  "conditionLabelJa": "未使用",
  "likeCount": 2,
  "isPriceDown": true,
  "listedAt": "2026-11-02T15:55:03+09:00",
  "categoryId": "2420",
  "categoryName": "トレーディングカード",
  "categoryPath": "ゲーム、おもちゃ > トレーディングカード",
  "brand": "ポケモンカードゲーム",
  "brandEnglish": "Pokemon Card Game",
  "hashtags": ["ポケモンカードゲーム"],
  "imageUrl": "https://auctions.c.yimg.jp/images.auctions.yahoo.co.jp/image/dr000/auc0211/users/231a995b…/i-img1200x1200-17936024919282hyqgs.jpg",
  "imageCount": 1,
  "detailsScraped": true,
  "description": "ポケモンカード30周年記念のプロモカード、御三家9種セットです。画像に写っているカードが全てとなります。…",
  "viewCount": 26,
  "questionCount": 0,
  "shippingMethod": "おてがる配送（ヤマト運輸）",
  "shipsWithin": "2-3 days",
  "shipsFrom": "Kagawa",
  "specs": [{ "name": "種別", "value": "まとめ売り", "unit": null }],
  "searchKeyword": "ポケモンカード",
  "position": 4,
  "totalResults": 149999,
  "scrapedAt": "2026-11-02T07:27:11.984Z"
}
```

Without item details, the description, photos list, views, questions, shipping, prefecture and specs fields are `null`. Every run also writes a **RUN_REPORT** record to its key-value store: how the run ended, each search with its pages, saved listings and the site's total, and request counts. The run's status message says the same in plain words.

### Use cases

- **Proxy-buying and forwarding services**: keep a catalog of PayPay Flea Market listings with prices, condition and photos for overseas customers.
- **Resellers and arbitrage**: compare prices with Mercari and Yahoo! Auctions, and spot underpriced items and fresh price drops.
- **Collectors**: follow trading cards, figures, games, cameras, watches and brand goods; schedule a run to see what was listed today.
- **Market research**: asking prices, likes and supply by category, brand and condition.
- **Watch lists**: paste item links and check price, likes and whether they have sold.

### Pricing

Pay per event:

- **$1.50 per 1,000 listings** saved ($0.0015 each).
- **$1.00 per 1,000 listings with item details** on top ($0.001 each), only when Include item details is on (or for a pasted item link) and the listing's own page was read.
- **$0.0003 per results page that saves nothing**: a search with no matching listing, or a page whose listings were all left out by your price / condition filters or already saved by another search in the run. A page that saves at least one listing is never charged this.
- **$0.002 per run** (start fee).

Examples: 20 listings ≈ $0.032. 1,000 listings ≈ $1.50. 1,000 listings with details ≈ $2.50. 50 keywords that find nothing ≈ $0.017. Pages that fail or are refused, deleted listings and rows cut by your spending limit are never charged, and the run never charges past **Max listings** or your maximum charge.

### Tips

- **Japanese keywords** match far more listings than English ones (`ポケモンカード` vs `pokemon card`); run both in one go and listings found twice are saved once.
- **Sorting**: results come in the site's own recommended order. Sorting options are not available in this actor.
- **Filters**: price and condition filters are checked on each results page, so a filter that matches very little reads (and charges as empty) pages until it finds matches. A search stops after 20 results pages in a row without a match; add a keyword or a category to narrow it.
- **Big searches**: PayPay Flea Market itself shows at most the first 10,000 listings of any one search or category. To collect more, split it: the same keyword in several categories, or more specific words.
- **Item details** take one extra page per listing, so they are slower; leave them off when price, likes and condition are enough.
- **Schedule** the actor (hourly or daily) to follow new listings and price drops.
- **Proxy**: keep the default Apify Proxy. Yahoo! JAPAN does not serve Europe or the UK, so this actor uses US addresses unless you pick a country yourself.

### FAQ

**Is it legal to scrape PayPay Flea Market?**
This actor reads only public listing pages that anyone can see without an account. It respects the site's robots.txt (pages and filters the site asks crawlers to skip are never requested), spaces its requests out, and collects listing data, not personal data. Whether and how you may use the data depends on your country and your purpose (for example, reselling or republishing it). If in doubt, check with a lawyer.

**Does it access any private data?**
No. It never logs in and reads only public pages. Sellers on PayPay Flea Market are private individuals, so the actor saves item data only: no seller name, ID, photo or rating. Phone numbers and e-mail addresses that a seller writes into a title or description are masked.

**Is this the same as Yahoo!フリマ?**
Yes. PayPay Flea Market was renamed Yahoo!フリマ; the site address (paypayfleamarket.yahoo.co.jp) and the listings are the same.

**Can I get sold prices?**
Searches return what the site shows by default, which is mostly listings that are still for sale. The `status` and `isSold` fields show when a listing is marked sold.

**Why did my run stop before Max listings?**
The status message always says why: the search had fewer listings, your filters left the rest out, the site's 10,000-per-search limit, the run's timeout, or your maximum charge. Partial runs keep everything collected so far.

**Can I use it with the API or integrations?**
Yes. Run it from the Apify API, a schedule, Make, Zapier, n8n or any other Apify integration, and download the results as JSON, CSV or Excel.

# Actor input Schema

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

Words to search for, in Japanese or English, e.g. "iphone", "ポケモンカード", "nintendo switch". Each keyword is a separate search. Leave empty to browse the categories below.

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

Optional: PayPay Flea Market category IDs or category URLs, e.g. "38340" (iPhone) or https://paypayfleamarket.yahoo.co.jp/category/38340. With keywords, each keyword is searched inside each category; without keywords, the categories are browsed.

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

Optional: search, category or item pages copied from paypayfleamarket.yahoo.co.jp, e.g. https://paypayfleamarket.yahoo.co.jp/search/iphone?categoryIds=38340 or https://paypayfleamarket.yahoo.co.jp/item/z716081264. Searches keep their keyword, category and price / condition filters; each item link gives one row with full details.

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

Maximum number of listings for the whole run, shared fairly between your searches. 0 = no limit (popular words have well over 100,000 listings; the site shows at most the first 10,000 of any one search).

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

Also open each listing's own page for the full description, every photo, view count, number of questions, shipping method, ships-within days, the prefecture it ships from, item specs (storage, color, size …) and created / updated dates. Slower, and charged as an extra event per listing.

## `minPrice` (type: `integer`):

Only listings priced at least this many yen.

## `maxPrice` (type: `integer`):

Only listings priced at most this many yen.

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

Only these conditions. Empty = all.

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

Apify Proxy (datacenter) is the default and comes with every Apify plan. Yahoo! JAPAN does not serve Europe or the UK, so the actor uses US IPs unless you pick a country here.

## Actor input object example

```json
{
  "keywords": [
    "iphone"
  ],
  "maxItems": 20,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped PayPay Flea Market listings.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts per search, requests and proxy use.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "iphone"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/paypay-flea-market-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["iphone"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/paypay-flea-market-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "keywords": [
    "iphone"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/paypay-flea-market-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/paypay-flea-market-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/Ww4XSx0ELwfXMc5U4/builds/DTZc1BQY3HZViTgnc/openapi.json
