For AI

Answers

How do I export every product from a 1688 supplier's shop, sorted by sales?

Short answer

Pass a 1688 supplier's member ID (starting b2b-) to okdata's 1688 supplier products and you get about 20 products a page with title, wholesale price, units sold and link, sortable by sales, price or listing date, for $0.022 a page and no 1688 login. A 200-product shop is 10 pages, $0.22.

1688 is Alibaba's domestic wholesale marketplace, where Chinese factories sell to resellers, and the place many Amazon, Shopify and TikTok Shop sellers source from before an agent ever gets involved. Once you find a promising factory, you want its whole catalogue in a sheet: what it really specialises in, which items sell, and the price range. The site is Chinese-only, wants a login for much of it, and has no export.

The member ID

The endpoint takes the supplier's member ID, like b2b-2222843280068b7e78. Get it from shop.id in 1688 product search results, or from 1688 product details if you already have a product link.

What comes back

Call 1688 supplier products with id. sort takes default, sales, price_asc, price_desc, newest or oldest. Each product has:

  • id and url (the detail.1688.com page)
  • title, in Chinese
  • price: wholesale price in CNY
  • sold: units sold

Pass page.next_cursor for the next page.

A real run

On 29 November 2026 we pulled the first sales-sorted page for a glassware factory in Xuzhou (member ID b2b-2222843280068b7e78): 20 products for $0.022. The best seller was a ¥3.40 glass oil dispenser with an auto-opening lid, 1,286 sold; second a ¥22.50 USB-rechargeable pepper grinder, 492; third a ¥1.88 stainless grinder bottle, 390. Thirteen of the 20 were grinders or oil bottles, priced from ¥0.98 to ¥23, so the factory's niche is obvious at a glance. The sales order is 1688's own and occasionally swaps neighbours (195 listed above 197), so re-sort in your sheet if it matters.

Comparing suppliers

Loop over the cursor and write title, price, units sold and link to a CSV; an LLM can translate the titles to English in the same pass. To compare factories, search a product keyword first, collect the shop.ids, then pull each shop's first sales page: five suppliers cost $0.11. For finding suppliers from outside China in the first place, see searching 1688 suppliers from abroad. New accounts get free credit.

Sources

Where people asked this (read 2026-11-29)

Updated

Connect once, then just ask.

Every new key comes with $0.20 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp