Cross-border sourcing teams spend hours every week tab-switching between 1688.com (China factory wholesale), Goofish / Xianyu (闲鱼) (China's largest secondhand & arbitrage marketplace), AliExpress, and Lazada (6 SEA markets) just to verify real supplier margins.
Automating those platforms directly is notoriously brittle: login walls, captcha loops, mobile-only pricing, and region locks break homegrown Playwright scripts almost immediately.
We built both sub-second Cloudflare Edge REST APIs (with free tiers on RapidAPI) and a zero-dependency bilingual (EN / 中文) SDK (pip install china-sourcing-sdk / npm i china-sourcing-sdk) plus ready-to-import n8n workflows.
Full disclosure: The MIT-licensed SDKs and n8n templates live under **JiStudio* at github.com/jistudio-dev, connecting to our hosted RapidAPI Edge APIs and Apify Store Actors (
jistudio).*
1. Live Edge REST APIs (Zero Cookie · Sub-500ms · Free Tier)
You can call 1688, Goofish, and 6-country Lazada directly via standard HTTP without running any browser or proxy pool:
- 1688 China Wholesale API (9 endpoints) — EN/CN search, 30-field SKU & tiered MOQ pricing, 40-image factory descriptions, live MOQ landed-cost calculator (
/price-calculator), and 10-offer concurrent batching: Interactive Playground - Goofish (Xianyu / 闲鱼) API (10 endpoints) — keyword search with price/sort filters, Zhima seller credit intelligence, 8-listing batching, and automated resale arbitrage price analytics (
/similar): Interactive Playground - Lazada 6-Country SEA API (13 endpoints) —
VN, ID, TH, MY, PH, SGproduct detail by ID/URL/shortlink, LazMall bestsellers, unified storefront profiles, Q&A, LazLive, and official shortlink generator: Interactive Playground
import requests # Calculate live 1688 tiered MOQ & landed USD cost for 100 units res = requests.get( "https://1688-china-wholesale-api.p.rapidapi.com/api/v1/1688/price-calculator", params={"offer_id": "769071810576", "quantity": 100, "shipping_per_unit_usd": 1.25}, headers={ "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY", "X-RapidAPI-Host": "1688-china-wholesale-api.p.rapidapi.com", }, timeout=15, ).json() print("Unit CNY:", res["breakdown"]["unit_price_cny"], "| Landed USD:", res["breakdown"]["landed_unit_cost_usd"]) 2. Bulk Multi-Platform SDK in Python (pip install china-sourcing-sdk)
pip install china-sourcing-sdk from china_sourcing_sdk import ChinaSourcingClient client = ChinaSourcingClient() # reads APIFY_TOKEN env var # 1. Pull factory wholesale offers & MOQ from 1688 (English or 中文) factories = client.search_1688("wireless earbuds", max_items=5) # 2. Check global retail comps on AliExpress retail = client.search_aliexpress("wireless earbuds", max_items=5, country="US", currency="USD") # 3. Check China secondhand / arbitrage floor price on Goofish (闲鱼) resale = client.search_goofish("AirPods Pro", max_items=5) # 4. Check Southeast Asia retail comps on Lazada (vn, th, id, my, ph, sg) sea = client.search_lazada("wireless earbuds", country="vn", max_items=5) print(f"1688: {len(factories)} | AliExpress: {len(retail)} | Goofish: {len(resale)} | Lazada: {len(sea)}") 3. Node.js 18+ ESM Client (npm i china-sourcing-sdk)
import { ChinaSourcingClient } from "china-sourcing-sdk"; const client = new ChinaSourcingClient(process.env.APIFY_TOKEN); const [wholesale, goofish] = await Promise.all([ client.search1688({ keyword: "机械键盘", maxItems: 5 }), client.searchGoofish({ keyword: "Sony A7C", maxItems: 5 }), ]); console.log("1688 factories:", wholesale.length, "| Goofish comps:", goofish.length); 4. Automated Sourcing Alerts in n8n (Free Templates)
If your sourcing or e-commerce ops team runs n8n, import these pre-built templates directly:
- 1688 Factory Wholesale Monitor:
05-1688-vs-aliexpress-margin-finder.json - Goofish (闲鱼) Secondhand Price Watch:
06-goofish-xianyu-resale-price-watch.json
Resources
- Documentation Hub: jistudio-dev.github.io
- Bilingual SDK Repo (EN / 中文): github.com/jistudio-dev/china-ecommerce-sourcing-sdk
- 9 Free n8n Templates: github.com/jistudio-dev/free-n8n-ecommerce-workflows
- Hosted REST APIs (Free Tier): 1688 Wholesale · Goofish / Xianyu · Lazada 6-Country SEA
- Bulk Cloud Scrapers (Apify): 1688 · Goofish · AliExpress · Lazada