Xianyu (Goofish) Listings Scraper
Pricing
from $2.00 / 1,000 product listings
Xianyu (Goofish) Listings Scraper
Xianyu (Goofish) Listings Scraper extracts second-hand product listings from Alibaba's goofish.com — titles, prices, cities, seller info, images, and want counts. Supports anonymous home-feed scraping and authenticated keyword search with optional detail-page enrichment.
Pricing
from $2.00 / 1,000 product listings
Rating
0.0
(0)
Developer
FalconScrape
Maintained by CommunityActor stats
6
Bookmarked
202
Total users
6
Monthly active users
2 days ago
Last modified
Categories
Share
🐟 Xianyu (Goofish) Scraper: Second-Hand Listings from China's Biggest Resale Marketplace
Export listings from Xianyu (闲鱼), also known as Goofish or Idlefish, Alibaba's second-hand marketplace and the largest China second-hand market. The Xianyu / Goofish Listings Scraper returns each listing's title, price in CNY, seller city, seller name, photos, "want" count, free-shipping and bargaining flags and category ID. With item details switched on, you also get the full description, view count, seller rating, number of items the seller has sold, and every photo. It needs no account for the home feed, and works as a practical Xianyu API (闲鱼 api) alternative for resale research, price monitoring (闲鱼 监控) and dataset building.
🎯 Use Cases
- Second-hand market research in China: see what is being resold on Xianyu right now, at what prices, and in which cities.
- Xianyu price monitoring (闲鱼 监控): run the scraper on a schedule and keep a dated history of the prices and "want" counts that sellers post.
- Demand signals: the
wantCountfield (人想要) and the view count show which second-hand items attract buyers. - Seller and reseller research: seller rating, items sold and how long the seller has been on Xianyu, for spotting professional resellers and shops.
- Training and analytics datasets: thousands of real Chinese marketplace listings with titles, descriptions, categories and photos, as JSON, CSV or Excel.
- Keyword search with your own account: if you have a logged-in Xianyu session, you can run Goofish search for specific keywords (see the FAQ).
✨ Features
- No login for the home feed: listings from the public Goofish home feed, with no account, key or cookie.
- Prices as numbers:
priceis a plain number in CNY (currencyis alwaysCNY). - Buyer interest:
wantCountis the number of users who tapped "I want" on the listing, when Xianyu shows it. - Optional item details: switch on Fetch Item Details to add the description, views, seller rating, seller's sold count, seller tenure and the full photo gallery.
- Fair billing: if an item page can't be loaded after several retries, you keep the listing row at the cheaper listing price instead of paying the detail price for missing data.
- Clear run status: every run ends with "Saved N listings." and notes if it stopped at your max charge or before the run timeout.
🛠️ How It Works
- Pick a mode: Home Feed (no login) works for everyone. Keyword Search needs your own logged-in session.
- Set Max Items (default 100) and decide whether you need Fetch Item Details.
- Run the scraper and download the dataset as JSON, CSV or Excel, or read it through the Apify API.
⚙️ Input
| Field | What it does |
|---|---|
| Scrape Mode | feed (default) scrapes the public home feed with no login. search scrapes keyword results and needs a session. |
| Search Keywords | Keywords for search mode, one per line. Ignored in feed mode. |
| Max Items | How many listings to save: the total in feed mode, per keyword in search mode. Default 100, up to 10,000. |
| Fetch Item Details | Opens each item page to add the description, views, seller rating, sold count, seller tenure and all photos. Slower and priced per detail. Default off. |
| Session State (base64) | Your logged-in Xianyu session, needed only for search mode. |
{"mode": "feed","maxItems": 200,"fetchDetails": false}
💰 Pricing
Pay only for the listings you get. No monthly rental.
| Event | Price | What you get |
|---|---|---|
| Product listing | $0.002 per listing ($2.00 per 1,000) | One listing from the home feed or keyword search, without item details. |
| Item detail | $0.006 per listing ($6.00 per 1,000) | One listing with the item-detail fields (description, views, seller rating and so on). |
| Actor start | $0.00005 per run | Charged once when the run starts. |
Examples:
- 100 home-feed listings = $0.20.
- 1,000 home-feed listings = $2.00.
- 50 listings with item details = $0.30.
With Fetch Item Details on, each listing is billed either as an item detail or, if its item page couldn't be loaded, as a product listing. It is never billed as both. You can cap any run's cost with the Max total charge setting. When the cap is reached, the run stops cleanly and tells you so.
📊 Sample Output Data
A home-feed listing:
{"itemId": "1045939487073","url": "https://www.goofish.com/item?id=1045939487073","title": "【热熔焊接冲锋舟】橡皮艇路亚船皮划艇钓鱼船铝合金底板 V型 龙骨 4个气室 结实耐用…","price": 1380,"currency": "CNY","city": "连云港","seller": "冲锋舟橡皮艇直销","mainImage": "http://img.alicdn.com/bao/uploaded/i4/2219434608876/O1CN01ACWTQc2FRGcIuA0vJ_!!4611686018427381996-53-xy_item.heic","images": ["http://img.alicdn.com/bao/uploaded/i4/2219434608876/O1CN01ACWTQc2FRGcIuA0vJ_!!4611686018427381996-53-xy_item.heic"],"wantCount": 9,"freeShipping": true,"acceptsBargain": true,"categoryId": "50025445","scrapedAt": "2026-10-08T06:07:59.125Z"}
With Fetch Item Details on, the same row gains these fields (example from another listing):
{"itemId": "930872863086","title": "RemyMartin人头马 CLUB特优香槟干邑白兰地70 0ml带盒,顺丰包邮…","price": 130,"seller": "天利人和酒业","images": ["https://img.alicdn.com/bao/uploaded/i3/O1CN01UjaALK20nVXNzl7N1_!!4611686018427384302-0-fleamarket.jpg_Q90.jpg_.webp", "…"],"description": "RemyMartin人头马 CLUB特优香槟干邑白兰地700ml带盒,顺丰包邮高品质口感!走量批发,一手货源…","views": 400,"sellerRating": "95%","sellerSoldCount": 2238,"sellerSince": "来闲鱼1年","escrowTransaction": true}
wantCount is Xianyu's "人想要" counter: how many users marked the item as wanted. It is missing when the listing shows no counter. acceptsBargain means the seller accepts price offers. sellerSince is the text Xianyu shows on the seller card, such as "来闲鱼1年" ("on Xianyu for 1 year"). escrowTransaction is true when the item is sold through Xianyu's guaranteed payment.
🔁 Schedule and Integrate Xianyu Data
The home feed changes all day, so for market monitoring run the scraper every few hours or once a day and keep each run's dataset as a dated snapshot. Set this up in Apify Schedules. To send new listings to Google Sheets, Zapier, Make, n8n or a webhook, use Apify integrations. That way, Xianyu data lands in the tools your team already uses.
🤖 Use with AI Agents (MCP)
This Actor works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (https://mcp.apify.com). An agent can call it with:
{ "mode": "feed", "maxItems": 20 }
❓ FAQ
Does Xianyu (Goofish) have an official API? No. Xianyu doesn't offer a public API for reading listings. This Actor is the practical alternative: it returns the listings shown on the Goofish website as structured data, with no API key, approval or developer account. You pay per listing and get JSON, CSV or Excel.
Do I need a Xianyu or Taobao account? Not for the home feed. Keyword search on Goofish only works for logged-in users, so search mode needs a session from your own Xianyu account. Registering one requires a Chinese phone number. Paste the session into Session State (base64), or save it under the XIANYU_SESSION key in the run's key-value store. Sessions expire after a few days. If a search run ends with "Goofish refused the keyword search", paste a fresh session. Without a session, a search run stops right away, charges nothing, and tells you to use the home feed.
Can I search Xianyu by keyword without logging in? No. Xianyu search (闲鱼 搜索) is reserved for logged-in users on the website, so this Actor can't search anonymously. The home feed is the public part of the site, and that's what feed mode collects.
Why are some fields missing? wantCount is missing when the listing shows no "want" counter. The item-detail fields only appear when Fetch Item Details is on and the item page loaded. If an item page couldn't be loaded after several retries, the listing is still saved without those fields and billed as a plain listing.
How many listings can I get? Max Items goes up to 10,000. A 600-listing home-feed run takes about 3 minutes. Runs with item details are much slower because every listing opens its own page, so keep those to a few hundred listings per run. The run stops by itself before its timeout and says so in the status.
How do I track second-hand prices in China? Schedule this Actor daily or every few hours. Keep each run's dataset, or append it to a Google Sheet, and compare prices and wantCount over time for the categories you follow.
🔗 Related Scrapers
- 1688 Listings Scraper: wholesale prices from China's 1688 marketplace, for comparing resale and factory prices.
- Poizon Listings Scraper: Chinese resale prices for sneakers and fashion on Poizon (Dewu).
- Mercari Listings Scraper: second-hand listings from Japan's biggest flea-market app.
- Bunjang Listings Scraper: South Korea's second-hand marketplace, for cross-Asia resale comparisons.
- Carousell Listings Scraper: second-hand classifieds across Southeast Asia, Hong Kong and Taiwan.