Kongfz (孔夫子旧书网) Used Books Scraper
Pricing
from $3.00 / 1,000 results
Kongfz (孔夫子旧书网) Used Books Scraper
Scrape kongfz.com - China's largest used/antiquarian book marketplace. Search books by keyword, browse categories, fetch a listing by URL, or list a seller's inventory. Returns title, author, publisher, price, condition, seller, images, and URL.
Pricing
from $3.00 / 1,000 results
Rating
0.0
(0)
Developer
Crawler Bros
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Scrapes kongfz.com — China's largest used/antiquarian book marketplace — for listings, categories, sellers and book detail pages.
Data Source
- Search / category / seller lists: the public
pc-gw/search-webJSON API onsearch.kongfz.com(verified accessible without auth). The API soft-blocks CJK keyword queries from non-Chinese IPs unless theuserAreageo parameter is present, so the actor always sends the site's defaultuserArea=1006000000(Beijing district) on keyword/seller queries. - Listing detail:
book.kongfz.com/{shopId}/{itemId}/HTML pages
Modes
| Mode | Inputs | Source |
|---|---|---|
search (default) | searchQuery | .../product/keyword/list?keyword=... |
byCategory | categoryId (current site taxonomy: 1 文学, 3 历史, 8 线装古籍, 43 小说, 31 计算机与互联网…) | .../product/category/list?catId=... |
byBookUrl | bookUrls | book.kongfz.com/{shop}/{item}/ (canonical) |
bySeller | shopName and/or sellerShopId | keyword list filtered by shopName |
Output fields
book records: itemId, title, author, publisher, publishDate, isbn,
price, condition (品相: 全新/九五品/…), conditionScore, binding (装帧),
seller, shopId, shopNickname, shopArea, sellerReputation,
shippingTime, listDate, remark, postage, isSoldOut, officialStore,
images (verified kfzimg.com URLs), url, shopUrl, shopkeeperUrl.
Detail records add originalPrice, discount (折), shipping.
Every record carries recordType, sourceUrl and scrapedAt.
Filters
minPrice/maxPrice— price range (client-side)condition— 品相 enum, e.g.brandNew(全新) …five(五品), client-side
Reliability
- Exponential-backoff retries on 429/5xx and the intermittent DNS/TLS failures this Chinese CDN produces.
- On 403/429 the actor lazily engages the free Apify
AUTOdatacenter proxy group. - Invalid URLs / unparseable pages produce typed
recordType: "error"records. Every record — including errors — carriessourceUrl: fetch/parse errors point at the failing URL, validation errors at the mode's canonical source page (https://search.kongfz.com/,https://book.kongfz.com/,https://shop.kongfz.com/).
Limitations
bySellerfilters server-side by shop name only: the search gateway ignoresshopId(returns 0 rows). When onlysellerShopIdis provided the actor resolves it to the shop name viashop.kongfz.com/{id}(falling back to them.kongfz.com/shop/{id}mobile page when the desktop host is TCP-blocked from datacenter IPs); if resolution fails a typedSHOP_RESOLVE_FAILEDerror is emitted — provideshopNameinstead.item.kongfz.com/book/{id}.htmlis a client-side SPA with no server-rendered data; such URLs produce a typedSPA_SHELL_URLerror — use the canonicalbook.kongfz.com/{shop}/{item}/form (returned by the search API).- The search API caps
totalat 10,000 rows.