Xianyu (Goofish) Search / 闲鱼商品搜索 avatar

Xianyu (Goofish) Search / 闲鱼商品搜索

Pricing

from $1.00 / 1,000 search-requests

Go to Apify Store
Xianyu (Goofish) Search / 闲鱼商品搜索

Xianyu (Goofish) Search / 闲鱼商品搜索

Search Xianyu (Goofish) second-hand marketplace products by keyword. Supports price range, sort order, and publish date filters. Returns structured JSON with titles, prices, seller info, and locations. 按关键词搜索闲鱼二手商品。支持价格区间、排序方式、发布时间筛选。返回结构化 JSON 数据,包含商品标题、价格、卖家信息、所在地等。

Pricing

from $1.00 / 1,000 search-requests

Rating

0.0

(0)

Developer

时雨 剑

时雨 剑

Maintained by Community

Actor stats

1

Bookmarked

4

Total users

2

Monthly active users

6 days ago

Last modified

Categories

Share

闲鱼 Search Scraper / Xianyu (Goofish) Search Scraper

闲鱼商品搜索数据采集器 · Xianyu (Goofish) Search API
中英双语 · Bilingual (ZH + EN)


What does this Actor do? 这个 Actor 做什么?

English: A Xianyu (Goofish) search API alternative that returns structured product data — titles, prices, seller info, location — by calling the official mtop search endpoint.

中文: 一个闲鱼搜索 API 替代方案,通过调用闲鱼 mtop 搜索接口返回结构化商品数据——商品标题、价格、卖家、所在地等信息。

Features / 功能:

  • Keyword search / 关键词搜索
  • 9 sort modes / 9 种排序方式
  • Price range filter / 价格区间筛选
  • Auto API signing & token refresh / 自动签名和 token 刷新

Not supported / 不支持: Product detail scraping, login, checkout. / 商品详情抓取、用户登录、下单。

Run on Apify / 立即使用 →


Why scrape Xianyu? 为什么要采集闲鱼?

EN中文
Second-hand market price trends监控二手商品价格趋势
Competitor pricing monitoring竞品定价追踪
Product sourcing & arbitrage选品参考和套利机会
AI training data (Chinese e-commerce)AI 训练数据(中文电商)
Academic research (C2C marketplace)学术研究(C2C市场)

With Apify platform: scheduling, API access, proxy rotation, monitoring. / 借助 Apify 平台:定时任务、API 访问、代理轮换、用量监控。


What data can it extract? 能提取什么数据?

Field / 字段Type / 类型Description / 描述
titlestringProduct title / 商品标题
pricestringCurrent price / 当前售价
originalPricestringOriginal price / 原价
itemIdstringProduct ID / 商品 ID
sellerNickstringSeller nickname / 卖家昵称
sellerCreditstringSeller credit rating / 卖家信用
locationstringItem location / 商品所在地
imagesarrayProduct image URLs / 商品图片
createTimestringListing time / 发布时间
itemUrlstringProduct detail link / 商品链接

How to use 如何使用

English:

  1. Open the Input tab
  2. Fill in keyword (required), e.g. "iPhone 15"
  3. Choose sort_type (optional)
  4. Set priceRange if needed, e.g. 100,600
  5. Click Start
  6. Download results from Dataset (JSON, CSV, Excel)

中文:

  1. 打开 Input 输入选项页
  2. 填写 keyword(必填),如「小米」
  3. 选择排序方式(可选)
  4. 需要时填写价格区间(可选),如 100,600
  5. 点击 Start 运行
  6. Dataset 下载结果

How much does it cost? 如何收费?

Pay-Per-Event pricing / 按事件计费:

Event / 计费事件Price / 价格
Search request / 搜索请求$0.01 / call
Search results / 搜索结果$1.00 / 1,000 items

Apify provides $5 free credits/month (~5,000 items free). Upgrade for higher volume.

Apify 每月提供 $5 免费额度(约 5,000 条免费)。


Input 输入参数

Parameter / 参数Required / 必填Description / 说明
keyword是/YesSearch keyword / 搜索关键词
pageNumber否/NoPage number, default 1 / 页码,默认 1
sort_type否/NoSort order (see below) / 排序方式(见下)
priceRange否/NoPrice range, e.g. 100,600 / 价格区间

Sort types / 排序方式

Value / 值EN中文
"" (empty)Default默认综合
createNew Listed新发布
modifyRecently Active最近活跃
reducePrice Drop新降价
creditCredit信用排序
down_pricePrice High→Low价格从高到低
up_pricePrice Low→High价格从低到高
publishDays:1Within 1 Day1 天内发布
publishDays:7Within 7 Days7 天内发布

Output 输出示例

{
"itemId": "1059910028276",
"title": "小米14 12+256G 在保 99新",
"price": "2999.00",
"originalPrice": "4299.00",
"sellerNick": "数码玩家小张",
"sellerCredit": "信用极好",
"location": "深圳",
"createTime": "2026-06-10 14:30:00",
"itemUrl": "https://www.goofish.com/item?id=1059910028276"
}

Export formats / 导出格式:JSON, CSV, Excel, HTML.


Tips 使用技巧

  • Proxy / 代理: This Actor uses built-in residential proxy rotation. No additional configuration needed.
  • Bulk scraping / 批量采集: Call multiple times with increasing pageNumber.
  • Scheduled monitoring / 定时监控: Set up Apify Schedules for automated price tracking.

FAQ

Q: Why do I get "被挤爆了" (too crowded) error? / 为什么返回"被挤爆了"?

A: Xianyu blocks datacenter IPs. This Actor uses residential proxies to avoid this. / 闲鱼限制数据中心 IP,本 Actor 使用住宅代理规避。

Q: Do I need a Xianyu account? / 需要闲鱼账号吗?

A: No. Uses public search API only. / 不需要,仅使用公开搜索接口。

Q: What is the rate limit? / 速率限制是多少?

A: Recommended ~5 requests/min. The proxy handles rotation automatically. / 建议每分钟约 5 次请求。

Q: Is this legal? / 是否合规?

A: Only collects publicly accessible data. No login bypass or private data extraction. Users must comply with Xianyu ToS and applicable laws. Do NOT use for shop cloning (一键搬家).

仅采集公开数据,不绕过登录、不提取私密信息。用户有责任遵守闲鱼服务条款。请勿用于一键搬家等违规用途。


Disclaimer

Our Actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.


Issues / 问题反馈:Apify Console API access / API 调用:API Tab