1688 Image Search API - Find Wholesale Suppliers by Photo
Pricing
from $0.20 / 1,000 image matches
1688 Image Search API - Find Wholesale Suppliers by Photo
Search 1688.com by photo in one HTTP request: send an image URL or base64 and get the matching wholesale offers back with price, MOQ, units sold, repeat-buyer rate, similarity and supplier. Optional SKUs, stock, specs, weight. For code, n8n, Make and AI agents (MCP).
Pricing
from $0.20 / 1,000 image matches
Rating
0.0
(0)
Developer
Top Api
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
6 days ago
Last modified
Categories
Features
Share
1688 Image Search API searches 1688.com (Alibaba's Chinese wholesale market) by photo in one HTTP request and returns the matching wholesale offers in the response: no run to start, no dataset to fetch. Send a product photo link from anywhere (Amazon, Shopify, AliExpress, TikTok Shop, 1688), the photo's bytes as base64, or a 1688 offer to find look-alikes of. It is an Apify Server Actor, so it also works as a tool for AI agents (MCP) and as one HTTP Request step in n8n, Make or Zapier.
Each match carries 1688's rank and similarity score, the title in Chinese and English, the price in CNY and USD, the minimum order, units sold, repeat-buyer rate, ad flag, attributes and category, and the supplier: company, years on 1688, province and city, business type (manufacturer or wholesaler), factory badges and composite score. Filter by price, province, verified factories, dropshipping, free shipping, supplier type, years, MOQ, similarity, ads and one offer per supplier, and add the offer-page details (price tiers, SKUs with stock, specs, weight, shipping, rating, dropship stats, landed cost) when you need them. You pay per match returned; a photo with no matches costs nothing.
✨ What you get
- 🔎 The match: rank in 1688's order,
similarityScore, 1688's total match count for the photo - 🏷️ The offer: id, offer URL (desktop and mobile), title (Chinese) +
titleEn, photo, price in CNY +priceUsd(today's rate), MOQ and unit, units sold, orders, repeat-buyer rate, ad flag, tags, attributes (+ English), ranking badges, category path, the "same design" search link - 🏭 The supplier: member id, login id, company name, shop URL, years on 1688, business type (Chinese + English), province, city, factory inspection / business inspection / super factory flags, composite score, inspection report
- 📋 Details add-on (
includeDetails): every photo, video, price tiers, SKU matrix with price and stock, specs (+ English), stock, total sold, weight and package size, shipping origin and fee, services, rating, dropship stats, supplier followers / fulfillment / review rates,estLandedCostUsdfor US, EU, UK, AU or global, the seller's description (includeDescription) - 🧭 Filters: price range, provinces, verified factories, dropshipping, free shipping (applied by 1688), supplier type, inspected factories, minimum years, maximum MOQ, minimum similarity, no ads, one per supplier
- 📄 Paging:
meta.nextOffsetreads the next matches of the same photo (1688 orders up to ~700 per photo) - 🔑 No 1688 account, no login, no API key of yours (only your Apify token)
🚀 How to call it
Every request needs your Apify API token in the Authorization header.
GET
curl "https://topapi--image-search-1688-api.apify.actor/search?image=https%3A%2F%2Fcbu01.alicdn.com%2Fimg%2Fibank%2FO1CN01Xpr968aWheJ3thOC_%21%212212762542575-0-cib.jpg&maxResults=20" \-H "Authorization: Bearer <YOUR_APIFY_TOKEN>"
URL-encode the photo link when it goes in a query string.
POST
curl -X POST "https://topapi--image-search-1688-api.apify.actor/search" \-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" \-d '{"image": "https://m.media-amazon.com/images/I/61Cev2aFG5L._AC_SX695_.jpg", "maxResults": 30, "priceMax": 20, "verifiedFactoryOnly": true, "onePerSupplier": true}'
POST a photo file (base64)
curl -X POST "https://topapi--image-search-1688-api.apify.actor/search" \-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" \-d "{\"imageBase64\": \"$(base64 -w0 product.jpg)\", \"maxResults\": 20}"
The whole request body is limited to 1,000,000 bytes (a photo of about 700 KB). Shrink a bigger photo first (1688 searches a 360 px copy anyway) or send its link.
Python
import requestsURL = "https://topapi--image-search-1688-api.apify.actor/search"HEADERS = {"Authorization": "Bearer <YOUR_APIFY_TOKEN>"}params = {"image": "https://m.media-amazon.com/images/I/61Cev2aFG5L._AC_SX695_.jpg", "maxResults": 50, "excludeAds": True}matches, seen = [], set()for _ in range(3): # three requests = up to 150 matchesr = requests.get(URL, params=params, headers=HEADERS, timeout=180)data = r.json()if r.status_code != 200:print(r.status_code, data["error"]["type"]); breakmatches += [m for m in data["items"] if m["offerId"] not in seen]seen.update(m["offerId"] for m in data["items"])if data["meta"]["nextOffset"] is None:breakparams["offset"] = data["meta"]["nextOffset"]print(len(matches), "matches")
JavaScript
const res = await fetch('https://topapi--image-search-1688-api.apify.actor/search', {method: 'POST',headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}`, 'Content-Type': 'application/json' },body: JSON.stringify({ offer: '944759232751', maxResults: 10, supplierType: 'manufacturer' }),});const { items, meta } = await res.json();console.log(items.length, items[0]?.titleEn, items[0]?.price, items[0]?.supplier.companyName, meta.nextOffset);
n8n, Make, Zapier
One HTTP Request step: method GET, URL https://topapi--image-search-1688-api.apify.actor/search, query
parameters image and maxResults, header Authorization = Bearer <YOUR_APIFY_TOKEN>. The matches are items.
To send a file from an earlier step, use POST with a JSON body {"imageBase64": "<the file as base64>"}.
AI agents (MCP)
MCP server URL: https://topapi--image-search-1688-api.apify.actor/mcp (Streamable HTTP, header
Authorization: Bearer <YOUR_APIFY_TOKEN>). Tool: search_by_image, same parameters as the HTTP endpoint. Use
compact: true to give the model only the core fields.
⚙️ Parameters
Give exactly one of image, imageBase64 or offer.
| Parameter | Type | Default | What it does |
|---|---|---|---|
image | string | A product photo URL from anywhere (JPG, PNG, WebP, GIF), a 1688 image-search link (with imageId or imageAddress) or a 1688 offer link. Also imageUrl, url, photo, photoUrl, img. | |
imageBase64 | string | The photo bytes as base64 or a data URI (data:image/jpeg;base64,...). POST it. Also base64, imageData. | |
offer | string | A 1688 offer id or link: its main photo is searched, to find look-alikes. Also offerId, offerUrl. | |
maxResults | integer | 20 | Matches to return, 1-50. Also limit, maxItems, maxMatches, count, num. |
offset | integer | 0 | Start after this many matches of 1688's answer (0-719): pass the previous meta.nextOffset. Also start, skip. |
sortBy | string | relevance | relevance (1688's best match), bestSelling, priceAsc, priceDesc. |
priceMin, priceMax | number | Price range in yuan (CNY). | |
provinces | list | Supplier provinces in English or Chinese (Guangdong,Zhejiang or 广东). | |
verifiedFactoryOnly | boolean | false | Only suppliers 1688 certifies as real factories (真实工厂认证). |
dropshippingOnly | boolean | false | Only offers that ship one piece to your customer (一件代发). |
freeShippingOnly | boolean | false | Only offers with free shipping inside China (包邮). |
supplierType | string | any | manufacturer (生产加工) or wholesaler (经销批发). |
inspectedFactoryOnly | boolean | false | Only suppliers with an on-site factory inspection (深度验厂). |
minSupplierYears | integer | Only suppliers on 1688 for at least this many years. | |
maxMoq | integer | Only offers whose minimum order is at most this many units. | |
minSimilarity | number | Only matches with at least this 1688 similarity score (relative per photo; 0.02-0.48 measured). | |
excludeAds | boolean | false | Drop sponsored placements. |
onePerSupplier | boolean | false | Keep only each supplier's best-ranked offer. |
includeDetails | boolean | false | Read each match's offer page (the details add-on). Also details, enrichDetails, fetchDetails. |
includeSkuDetails | boolean | true | With details: the SKU matrix (attributes, price, stock, image). |
includeDescription | boolean | false | With details: the seller's description text and images (turns details on). |
includeDescriptionHtml | boolean | false | Also the description's raw HTML. |
translateTitles | boolean | true | titleEn, attributesEn, specsEn (machine translation, free). |
targetMarket | string | none | With details: estLandedCostUsd for US, EU, UK, AU or global (unit price + weight x air freight). |
usdPerCny | number | today's rate | Exchange rate for priceUsd. |
shippingUsdPerKg | number | 9-11 | Your freight rate for the landed cost. |
compact | boolean | false | Core fields only, for AI agents and spreadsheets. |
GET / lists the endpoints; the Server tab in Console shows the OpenAPI description.
📦 Response
A real answer for the phone-case photo in the GET example (Apify, 2026-11-18, maxResults=3), trimmed to the first
match and its main fields (a full row carries every field listed under "What you get"; details fields are empty
without includeDetails):
{"ok": true,"count": 3,"items": [{"queryImage": "https://cbu01.alicdn.com/img/ibank/O1CN01Xpr968aWheJ3thOC_!!2212762542575-0-cib.jpg","rank": 1,"similarityScore": 0.3453,"totalMatches": 698,"offerId": "927875250705","title": "跨境适用苹果18promax手机壳磁吸16防摔磨砂iphone17pm保护壳批发","titleEn": "Cross-border applicable Apple 18promax mobile phone case magnetic 16 anti-fall matte iphone17pm protective case wholesale","detailUrl": "https://detail.1688.com/offer/927875250705.html","image": "https://cbu01.alicdn.com/img/ibank/O1CN016Epuj21nbybANupYM_!!2850655109-0-cib.jpg","price": 7.5,"priceUsd": 1.1228,"currency": "CNY","minOrderQuantity": 50,"unit": "件","soldCount": 442022,"bookedCount": 3271,"offerRepurchaseRate": 72,"isAd": true,"attributesEn": [{ "name": "Material", "value": "High quality TPU" }, { "name": "Craftsmanship", "value": "Frosted" }],"categoryPath": ["1042207", "50911", "7"],"supplier": {"memberId": "b2b-2850655109d72ea","companyName": "佛山市南海区三丰手机配件有限公司","shopUrl": "https://shop1460393846166.1688.com","yearsOnPlatform": 11,"bizTypeEn": "manufacturer","province": "广东","city": "佛山市","factoryInspection": true,"compositeScore": 4.5},"detailsStatus": null}],"meta": {"searchedBy": "address", "totalMatches": 698, "sortBy": "relevance", "offset": 0, "pages": 1, "examined": 3,"filtered": {}, "withDetails": 0, "stopReason": "maxResults", "nextOffset": 3, "usdPerCny": 0.149705,"charged": { "match": 3 }, "ms": 4323}}
With includeDetails=true&targetMarket=US the same offer also carried (same day, trimmed):
"detailsStatus": "ok", "quantityPrices": [{"quantityRange": "50~499个", "price": 7.5}, {"quantityRange": "500~2999个", "price": 7.32}, {"quantityRange": "≥3000个", "price": 7.04}],
"stock": 5680570, "totalSold": 98389, "packageDimensions": {"lengthCm": 17, "widthCm": 7, "heightCm": 1, "weightG": 40},
"shipping": {"location": "广东省佛山市", "freeShipping": true}, "rating": {"goodRatePct": 99.9, "reviewCount": 7964},
"dropshipScore": 60, "estLandedCostUsd": 1.48, 19 photo URLs, a video URL, specs + specsEn, and skuDetails
with 339 SKUs ({"specAttrs": "墨绿色 / iPhone13Pro Max", "price": 7.04, "stock": 16888}, ...). A SKU matrix can be
large (this one was ~100 KB): includeSkuDetails=false drops it.
| Field | Filled |
|---|---|
offerId, title, detailUrl, image, price, similarityScore, minOrderQuantity, soldCount, bookedCount, offerRepurchaseRate, categoryPath, supplier.companyName, supplier.memberId, supplier.yearsOnPlatform, supplier.compositeScore | 100% (360 matches from 6 live 1688 answers, 2026-11-18) |
titleEn, priceUsd | 100% (100 matches from two 50-match requests on Apify) |
attributesEn | 80% of those 100 (matches whose card lists attributes) |
supplier.province | 87-89% (1688 prints no province on the rest) |
supplier.bizType / bizTypeEn | 68-81% |
With details (offer pages read): images, skuDetails, specs, specsEn, stock, shipping, services, rating, dropship | 100% of the pages read (27 of 30 pages read in a live test; 3 answered a check page and were not charged) |
With details: quantityPrices | offers with a quantity ladder (a SKU-priced offer has none: see priceMin / priceMax) |
With details: unitWeightKg / estLandedCostUsd | 48% / 94% of read pages (the landed cost also uses the package weight) |
🧾 Status codes (and what is charged)
| HTTP | error.type | Meaning | Charged |
|---|---|---|---|
200 | Matches returned | match per match, product-details per match whose offer page was read | |
400 | invalid-input | No photo or several, a bad parameter, priceMax below priceMin, bad base64 | No |
400 | private-address | The photo link points to a private or local network address (directly, through DNS or through a redirect) or a port other than 80 / 443 | No |
400 | image-not-reachable, not-an-image, image-too-large | The photo link answered an error, is not a photo, or is over 10 MB / 40 megapixels | No |
404 | no-matches | 1688 found nothing, or nothing passed your filters (error.meta shows what was read and removed) | No |
404 | offer-not-found, forbidden-image | The 1688 offer does not exist, or 1688 refuses to search the photo | No |
413 | payload-too-large | Request body over 1,000,000 bytes | No |
429 | too-many-requests | More than 4 of your requests in flight at once | No |
503 | blocked, timeout, search-failed | 1688 or the photo's host refused or did not answer; retry | No |
💰 Pricing
| Event | Price |
|---|---|
Match returned (match) | $0.0002 ($0.20 per 1,000) |
Offer-page details add-on (product-details) | $0.0027 per match whose offer page was read |
No start fee, nothing per photo. 20 matches cost $0.004, 50 matches $0.01; with details add $0.0027 per match that
gets them. Nothing is charged for 4xx or 503 answers, and a match whose offer page could not be read comes back
without details and without the add-on charge.
🗃️ Batch runs (input interface)
You can also start the actor as a normal run with many photos at once (image URLs, an uploaded file, base64, 1688 offers), up to 720 matches per photo across 1688's sort orders, monitor mode (only offers not delivered before), and one dataset row per match. Use the HTTP endpoint for one photo at a time.
⏱️ Speed (measured on Apify, 2026-11-18)
Server at 256 MB; client-side times, one request after another unless noted:
- 5 or 20 matches for a photo on Alibaba's CDN: 1.2-1.4 s; 50 matches: 1.8-2.3 s
- 20 matches for an Amazon photo (downloaded, shrunk and uploaded to 1688): 1.8-1.9 s
- First request after a quiet spell (a server run starts): 5.4-8.8 s (once 16.6 s)
- 10 matches with offer-page details: 12-20 s, once 47 s when 1688's offer pages answered slowly
- Look-alikes of a 1688 offer (
offer=...): 14.6 s (its offer page is read first) - 4 requests at once (two of them 10 matches with details): matches in 6.5-6.8 s, details in 40-42 s
⚠️ Limits
- Similarity is 1688's.
similarityScoreis 1688's own relative score (0.02-0.48 measured), not a 0-1 identity test. The first matches are usually the same product from many suppliers; sponsored offers (isAd) are mixed in. - 1688's order is live. Between two paged requests 1688 can move an offer across the page boundary, so a few
offers may repeat (1 in 20 seen in a test): de-duplicate by
offerId. 1688 pages one order about 700 deep. - Filters on our side read 4 pages at most (240 offers) per request. When strict filters leave fewer matches than
asked, the response says so and
meta.nextOffsetcontinues from there. - Details are a separate read per match (the offer page, through residential exits in China): slower, and a few pages per 100 answer with a check page; those matches come back without details and are not charged for them.
- Photos: JPG, PNG, WebP, GIF; up to 10 MB and 40 megapixels by link, about 700 KB as base64 in a POST body. Photos on Alibaba's own CDN (alicdn.com, aliexpress-media.com) are fetched by 1688 itself; other photos are downloaded, shrunk to 360 px and uploaded to 1688's image search. Only public links on ports 80 / 443 are fetched.
- The supplier flags
isTp,powerMerchantandfactoryDealerare filled only with details (1688's search card prints false for every supplier, so they are null without the offer page).
❓ FAQ
Do I need a 1688 or Alibaba account?
No. The actor uses 1688's image search the way a signed-out visitor does. You only need your Apify token.
What does a search cost?
$0.0002 per match returned: 20 matches = $0.004, 50 matches = $0.01. With includeDetails, add $0.0027 per match
whose offer page was read. A photo with no matches is free.
Which photos work?
Any product photo link: Amazon, Shopify, AliExpress, TikTok Shop, eBay, your own site, 1688 itself. White-background
product shots match best. A 1688 image-search link (s.1688.com/youyuan/...imageId=...) and a 1688 offer link work
too.
Can I send a photo file instead of a link?
Yes: POST imageBase64 with the file as base64 or a data URI, up to about 700 KB. For bigger files send a link or
shrink the photo first.
How do I get more than 50 matches?
Repeat the request with offset set to the previous meta.nextOffset (same photo, sortBy and 1688-side filters).
1688 orders up to about 700 matches per photo; a batch run walks other sort orders for more.
How do I find factories, not resellers?
supplierType=manufacturer, verifiedFactoryOnly=true or inspectedFactoryOnly=true, plus onePerSupplier=true
for a shortlist of distinct suppliers.
Can I get the price in dollars?
Every match has priceUsd at today's published CNY rate (or your usdPerCny). With details and targetMarket, also
estLandedCostUsd (unit price + the offer's weight x air freight).
How do I find look-alikes of a 1688 offer?
Send offer=<offer id or link>: the offer's main photo is read from its page and searched.
How do I use it from an AI agent?
Point an MCP client at https://topapi--image-search-1688-api.apify.actor/mcp with your Apify token, or add it
through mcp.apify.com. The tool is search_by_image; compact: true keeps answers short.
What if 1688 refuses a request?
You get a 503 and pay nothing. A retry a moment later usually works.
Your feedback
Open an issue on the actor page with the request you sent and the response you got.