# Goofish (Xianyu 闲鱼) Scraper & Monitor - Search, Items, Prices (`neverempty/goofish-xianyu-listings-monitor`) Actor

Search Goofish (Xianyu 闲鱼) by keyword or read item IDs or URLs: price, condition, wants, views, favorites, photos, full description, location and seller ratings. Monitor mode returns only new listings, price drops and sold items since the last run. No login, API key or start fee.

- **URL**: https://apify.com/neverempty/goofish-xianyu-listings-monitor.md
- **Developed by:** [NeverEmpty](https://apify.com/neverempty) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 12 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.34 / 1,000 item with full details returneds

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

## Goofish (Xianyu 闲鱼) Scraper & Monitor - Search, Items, Prices

**Scrape Goofish (Xianyu 闲鱼), China's largest second-hand marketplace, by keyword or item ID:** get one clean row per listing with the price in CNY, condition, wants, location, photo and seller. Paste item IDs or turn on full details and each row also carries **views, favorites, photos, the full description, shipping and the seller's ratings** (good-review rate, items sold, reply time, account age).

Turn on monitor mode and each scheduled run returns **only the new listings, price drops and sold items** since the last run, with the previous price next to the new one. No Goofish account, login or API key is needed. No start fee: you pay only for the listings you receive. Download the results as Excel, CSV or JSON, or send them to Google Sheets, Slack or email on a schedule.

### What you get for each listing

- **Price** in CNY, the original price when the seller shows one, shipping fee and free-shipping flag.
- **Condition** as the seller tagged it (全新, 几乎全新, 轻微使用痕迹 ...), plus brand, model and the other item attributes.
- **Demand**: how many people want the item (`wantCount`); with details, also `viewCount` and `favoriteCount`.
- **Where and when**: the seller's location and the time the item was published.
- **Seller**: nickname on every row; with details, the seller ID, city, credit level, good-review rate, good and bad review counts, items sold, 24-hour reply rate, typical reply time, last active and days since registration.
- **Full details** (item IDs, or keywords with `includeDetails`): every photo URL, video flag, the full description, item status (on sale, sold, removed), quantity and category.
- **From searches**: the keyword, the order you chose, the listing's position in that order (`rank`) and whether it is an ad.

### Monitor mode: only what changed

Turn on `onlyChanges` and schedule the Actor (daily, or every hour for fast-moving items):

- **First run**: saves the price and status of each listing as the starting point (one free `baseline-recorded` note). From the second run you get only new listings, price drops and sold items.
- **Later runs**: return **newly published listings** for your keywords, listings whose **price dropped**, and, for item IDs and rows with full details, items whose **status changed** (for example sold or taken down). Each row has `changeType`, `changeTypes`, `previousPrice`, `previousItemStatus` and `previousCheckedAt`.
- **Price increases** are remembered quietly, or returned too if you turn on `includePriceIncreases`.
- Listings with no change are not returned and not charged. Ads are left out of new-listing alerts.

Use `watchName` to keep separate memories for different schedules, and `resetMonitoringState` to start a watch again.

### Why this one

- **Search and full details in one Actor.** Keyword rows cost little per row; turn on `includeDetails` only when you need views, photos, the description and seller ratings, or paste item IDs to get them directly.
- **Fast on big searches.** In a 2026-11-08 run, one keyword with a price filter returned 1,484 listings in 71 seconds, with no duplicate rows.
- **No double charges.** A listing that appears on several pages or under several keywords is returned, and charged, once per run.
- **Prices you can trust.** A listing shown without a price comes back as a free `no-price` row instead of a guessed price. An item ID that no longer exists comes back as a free `not-found` row.
- **Quiet monitoring.** In a 2026-11-08 run, a second monitor run over the same items reported no false changes.
- **Readable in English tools.** All column names are in English; titles, conditions and descriptions stay in the original Chinese so nothing is lost in translation.

### Input

```json
{
  "keywords": ["徕卡M6", "iPhone 15"],
  "itemIds": ["1042804563826", "https://www.goofish.com/item?id=1076435841662"],
  "maxItemsPerKeyword": 200,
  "sort": "newest",
  "minPrice": 1000,
  "maxPrice": 20000,
  "includeDetails": false,
  "onlyChanges": false
}
```

| Field | What it does |
|---|---|
| `keywords` | Words to search, one per line (up to 100 per run), in Chinese or English. |
| `itemIds` | The number after `id=` in an item link, or the whole link (`goofish.com/item?id=...`), up to 2,000 per run. Each one comes back with full details. |
| `maxItemsPerKeyword` | Listings per keyword, in the chosen order (default 100, up to 1,500 = 50 pages of 30). |
| `sort` | `relevance` (default), `newest`, `priceAsc`, `priceDesc` or `priceDrop` (recent price drops). |
| `minPrice`, `maxPrice` | Price range in CNY. |
| `personalSellersOnly` | Only listings from individual sellers, leaving out shops and dealers. |
| `publishedWithinHours` | Only listings published in the last N hours. With `newest`, reading stops as soon as older listings start. |
| `includeDetails` | Add full details (views, favorites, photos, description, seller ratings) to keyword results. |
| `onlyChanges` | Monitor mode (see above). |
| `includePriceIncreases` | Monitor mode: also return price increases. |
| `watchName` | Monitor mode: a name for a separate memory. |
| `resetMonitoringState` | Monitor mode: forget this watch's memory and start again. |
| `concurrency` | Pages read at the same time (default 4, up to 8). |
| `requestTimeoutSecs` | Seconds to wait for one page before asking again (default 30). |

If both lists are empty, an example keyword is searched.

### Output example

A keyword row with full details (`includeDetails` on), from a run on 2026-11-08 (long values shortened):

```json
{
  "status": "ok",
  "source": "keyword",
  "keyword": "徕卡M6",
  "rank": 2,
  "itemId": "1042804563826",
  "url": "https://www.goofish.com/item?id=1042804563826",
  "title": "LEICA徕卡M6胶片相机旁轴相机机械相机",
  "price": 13500,
  "currency": "CNY",
  "freeShipping": true,
  "condition": "轻微使用痕迹",
  "brand": "Leica/徕卡",
  "model": "M6（小盘）",
  "imageCount": 9,
  "location": "呼和浩特",
  "publishedAt": "2026-04-16T14:05:19.000Z",
  "wantCount": 38,
  "viewCount": 16643,
  "favoriteCount": 181,
  "itemStatus": "online",
  "sellerNick": "七万的杂货铺",
  "sellerGoodRatePercent": 99,
  "sellerGoodReviews": 1018,
  "sellerItemsSold": 2598,
  "sellerReplyTime": "7分钟",
  "sellerRegisteredDays": 3887,
  "detailLevel": "full"
}
```

| Column | Meaning |
|---|---|
| `price`, `originalPrice`, `currency` | The price in CNY, and the seller's original price only when it is higher than the current one. |
| `shippingFee`, `freeShipping` | Shipping as the seller set it. |
| `condition`, `brand`, `model`, `attributes`, `labels` | The seller's condition tag and item attributes, in the original Chinese. |
| `wantCount`, `viewCount`, `favoriteCount` | People who want the item, views and favorites (views and favorites need full details). |
| `itemStatus`, `itemStatusText` | `online`, `sold`, `removed`, `in-trade`, with Goofish's own label (full details). |
| `seller...` | Seller nickname, and with full details the seller's ratings and activity. |
| `source`, `input`, `keyword`, `sort`, `rank` | `keyword` or `item`, what you typed, and the position in the search order. |
| `detailLevel` | `listing` for a search row, `full` for a row with full details. |
| `changeType`, `changeTypes`, `previousPrice`, `previousItemStatus`, `previousCheckedAt` | Monitor mode only: `new-listing`, `price-drop`, `status-change`, `price-increase`, and the values at the last check. |
| `status`, `note` | `ok` for a listing row; other values are free rows that say why (below). |

#### Free rows (never charged)

| `status` | Meaning |
|---|---|
| `no-price` | Goofish shows the item without a price right now. |
| `not-found` | No item with this ID, or the seller deleted it. |
| `no-results` | Goofish shows no listings for this keyword and filters. |
| `bad-input`, `duplicate-input` | Not a Goofish item ID or link, or the same input twice. |
| `unreadable`, `blocked` | This input could not be read right now. Run the same input again later. |
| `baseline-recorded`, `no-change`, `budget-reached` | Monitor mode and spending-limit notes. |

### Pricing

Pay per event, no start fee:

- `listing-returned`: one per search-result row with a price. This is the low-cost row for broad searches.
- `item-returned`: one per row with a price and full details, from your item IDs or from keywords with `includeDetails` on.

Example: a keyword search of 200 listings is charged as 200 `listing-returned` events; the same search with `includeDetails` on is charged as 200 `item-returned` events. The rates for both are on the Pricing tab.

In monitor mode, only the change rows you receive are charged, at the same two rates.

The first monitor run, listings without a price, unchanged listings in monitor mode and every note row are free. If you set a maximum charge for a run, the Actor stops before going over it and tells you so; in monitor mode, changes that did not fit are returned on the next run.

### Good to know

- Goofish shows up to 50 pages of 30 listings for one search, so one keyword gives up to 1,500 listings. For more, split it into narrower keywords or price ranges.
- Search rows carry the seller's nickname; the seller's ratings and activity come with full details.
- Phone numbers, email addresses and WeChat or QQ IDs written in descriptions are replaced with `[contact removed]`.
- Photo URLs point to Goofish's image servers; some photos are in HEIC format.

### Use cases

- **Resale and sourcing**: watch a model (cameras, phones, watches, bags) and get new listings and price drops as soon as they appear.
- **Second-hand price research**: median and range of asking prices per model and condition across hundreds of listings.
- **Demand signals**: compare `wantCount`, views and favorites to see which items and conditions sell.
- **Brand and seller monitoring**: track a seller's items or a brand's second-hand prices over time, delivered by Apify's schedule and integrations (email, Slack, Google Sheets).

### FAQ

**Is there a Goofish (Xianyu) API for listings?**
This Actor works like one: it gives you search results and item details as JSON, CSV or Excel from keywords or item IDs, with no key or login, from the Apify API or on a schedule.

**How do I get alerted when a new listing appears on Xianyu?**
Put your keywords in `keywords`, set `sort` to `newest`, turn on `onlyChanges` and schedule the Actor. Each run returns only the listings published since the last one.

**How do I track a price drop on a Goofish item?**
Put the item IDs in `itemIds`, turn on `onlyChanges` and schedule it. A row with `changeType` `price-drop` and the `previousPrice` comes through when the seller lowers the price.

**Where do I find the Goofish item ID?**
It is the number after `id=` in the item link: in `https://www.goofish.com/item?id=1042804563826` it is `1042804563826`. You can also paste the whole link.

**Do I need a Goofish account or login?**
No. Enter keywords or item IDs and run it; no account, cookies or API key are needed.

**How many Xianyu listings can I get per search?**
Up to 1,500 per keyword (50 pages of 30). For more, split the search into narrower keywords or price ranges.

**Can I export Xianyu listings to Excel or Google Sheets?**
Yes. Download the results as Excel, CSV or JSON, or send them to Google Sheets through Apify's integrations.

**Can I search in English?**
Yes. Keywords can be Chinese or English, such as `徕卡M6` or `iPhone 15`.

### Thanks for using this Actor

We build these tools for people who run them every day, and we improve them from what users tell us.

- **Missing a field, or need another filter?** Tell us in the **Issues** tab. If the data is there, we add it.
- **Found a bug or a wrong value?** Post the run ID in the **Issues** tab. Wrong data is the thing we fix first.

If this Actor saved you time, a short review helps other people find it.

# Actor input Schema

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

Words to search on Goofish (Xianyu 闲鱼), one per line (up to 100 per run), in Chinese or English, like 徕卡M6 or iPhone 15. Every listing found comes back as one row with price, condition, wants, location and seller. If both lists are empty, an example keyword is searched.

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

Goofish item IDs or item links, one per line (up to 2,000 per run), like 1042804563826 or https://www.goofish.com/item?id=1042804563826. Each one comes back with all photos, the full description, views, wants, favorites, shipping and the seller's ratings.

## `maxItemsPerKeyword` (type: `integer`):

How many listings to return for each keyword, in the chosen order (1 to 1,500; Goofish shows up to 50 pages of 30). Empty means 100.

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

The order Goofish shows the search results in. Empty means best match.

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

Only listings at or above this price in yuan. Empty means no minimum.

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

Only listings at or below this price in yuan. Empty means no maximum.

## `personalSellersOnly` (type: `boolean`):

Only listings from individual sellers (Goofish's own personal-seller filter), leaving out shops and dealers.

## `publishedWithinHours` (type: `integer`):

Only listings published in the last N hours, like 24. Works best with the order Newest first, where reading stops as soon as older listings start. Empty means any time.

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

Also opens every listing found by a keyword and adds all photos, the full description, views, favorites, brand, model, shipping and the seller's ratings, reply rate and items sold. These rows are charged as item rows instead of listing rows. In monitor mode only the changed listings are opened.

## `onlyChanges` (type: `boolean`):

Remembers every listing seen. The first run records the starting point (free, no listing rows). Later runs with the same input return only listings published since the watch started, price drops and status changes such as sold or removed, each with the previous price. Listings with no change are not returned and not charged.

## `includePriceIncreases` (type: `boolean`):

Monitor mode only: also return listings whose price went up. Off means price increases are remembered quietly and not returned.

## `watchName` (type: `string`):

Keeps a separate memory per name, so two schedules with different lists do not mix. Letters, digits, dot, dash and underscore, up to 40 characters. Empty means the watch called default.

## `resetMonitoringState` (type: `boolean`):

Monitor mode only: forget the remembered listings of this watch name first, so this run records a new starting point.

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

How many Goofish pages are read at the same time (1 to 8). Empty means 4.

## `requestTimeoutSecs` (type: `integer`):

How long to wait for one page before asking again (5 to 60). Empty means 30.

## Actor input object example

```json
{
  "keywords": [
    "徕卡M6"
  ],
  "personalSellersOnly": false,
  "includeDetails": false,
  "onlyChanges": false,
  "includePriceIncreases": false,
  "resetMonitoringState": false
}
```

# Actor output Schema

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

One row per Goofish (Xianyu) listing: item ID, title, price in CNY, condition, wants, views, location, listing time, photos, item URL and the seller's ratings, with the keyword and rank it came from. In monitor mode only new listings, price drops and status changes, with the previous price. An input that cannot be read comes back as a free row that says why.

# 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": [
        "徕卡M6"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("neverempty/goofish-xianyu-listings-monitor").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": ["徕卡M6"] }

# Run the Actor and wait for it to finish
run = client.actor("neverempty/goofish-xianyu-listings-monitor").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": [
    "徕卡M6"
  ]
}' |
apify call neverempty/goofish-xianyu-listings-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neverempty/goofish-xianyu-listings-monitor"
        }
    }
}
```

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/cfcwb52HdhqtgCdP7/builds/mzsjqnfgNC4yawgeT/openapi.json
