# 1688 Image Search: Find Factories & Wholesale by Photo (`earlytern/1688-image-search`) Actor

Find 1688.com products similar to a photo: factories and wholesalers with prices, minimum order, sales, supplier type and location. No login.

- **URL**: https://apify.com/earlytern/1688-image-search.md
- **Developed by:** [earlytern](https://apify.com/earlytern) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 similar products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 1688 Image Search: Find Factories & Wholesale by Photo

1688 Image Search finds products similar to a picture on 1688.com, China's largest wholesale marketplace, without
logging in. Give it the web address of any product photo (from an online shop, a marketplace listing or your own
picture) and it returns the factories and wholesalers on 1688 that sell the same or a similar product: title, price
in yuan, minimum order, units sold, repeat buyer rate, and the supplier's name, type, province, city and years on 1688.

### What does 1688 Image Search do?

- **Search by photo:** the same "search by image" 1688 offers on its own site, for a list of pictures at once.
- **Most similar first:** matches come in 1688's order, with their rank (`position`), up to the number you ask for
  (1688 shows up to about 700 similar products per picture).
- **Factories or wholesalers:** each match says whether 1688 lists the supplier as a manufacturer, a wholesaler or
  an agent; keep **Manufacturers only** on to get factories only.
- **Prices and demand:** price per unit in CNY, minimum order quantity and unit, units sold, orders and repeat buyer
  rate, straight from the search results.
- **Supplier data:** company name, type, province and city, years on 1688, service score, factory inspection and
  super factory badges, shop address and service tags (free shipping, ships in 48 hours…).
- **Product pages (optional):** turn on **Open product pages** to add quantity price tiers, variants with stock,
  rating, reviews, specifications and every picture.
- **No ads by default:** sponsored results are left out unless you include them.
- **Free rows that explain:** a picture that cannot be downloaded, a photo 1688 cannot read, or a picture without
  matches gets a free row saying why.

### Why use 1688 Image Search?

- **Find the factory behind a product:** start from a photo on Amazon, Shopee, TikTok Shop or any store and see who
  makes it and at what price.
- **Dropshipping and private label:** check the source cost and minimum order before you list or brand a product.
- **Compare suppliers:** dozens of suppliers of the same product side by side, with location, years and badges.
- **No Chinese needed:** a picture works where a keyword search needs the right Chinese words.
- **AI agents:** give an AI agent a product photo and get wholesale sources back through the Apify API or MCP.
- **Low, simple price:** $0.50 per 1,000 matches, no start fee, nothing charged for empty results.

### How to use 1688 Image Search

1. Click **Try for free**.
2. Add **Image addresses**, one per line, for example
   `https://cbu01.alicdn.com/img/ibank/O1CN01u2cx3I1qMLtav5VYO_!!2219830355481-0-cib.jpg`.
3. Set **Maximum matches per image**.
4. Turn on **Manufacturers only**, **Include sponsored results** or **Open product pages** if you need them.
5. Click **Start**, then download the results as JSON, CSV or Excel, or use them through the API.

Clear photos of one product on a plain background find the closest matches. JPEG, PNG, WebP and GIF pictures work;
large pictures are made smaller before the search.

### Input

```json
{
  "imageUrls": ["https://cbu01.alicdn.com/img/ibank/O1CN01u2cx3I1qMLtav5VYO_!!2219830355481-0-cib.jpg"],
  "maxResults": 50,
  "factoriesOnly": false,
  "includeAds": false,
  "includeDetails": false
}
```

### Output

One row per similar product (shortened):

```json
{
  "type": "match",
  "queryImage": "https://cbu01.alicdn.com/img/ibank/O1CN01u2cx3I1qMLtav5VYO_!!2219830355481-0-cib.jpg",
  "position": 2,
  "offerId": "931610556637",
  "url": "https://detail.1688.com/offer/931610556637.html",
  "title": "厂家批发数码液态硅胶引磁片Magsafe无线充引手机壳配件磁环现货",
  "price": 0.75,
  "currency": "CNY",
  "minOrderQuantity": 10,
  "unit": "件",
  "salesCount": 41160,
  "orderCount": 381,
  "repeatBuyerRate": 74,
  "supplierName": "东莞阳熠科技有限公司",
  "supplierType": "Manufacturer",
  "isFactory": true,
  "supplierYears": 2,
  "supplierServiceScore": 4.5,
  "supplierProvince": "广东",
  "supplierCity": "东莞市",
  "supplierShopUrl": "https://shop565r392972700.1688.com",
  "serviceTags": ["包邮", "先采后付"],
  "imageUrl": "https://cbu01.alicdn.com/img/ibank/O1CN01u2cx3I1qMLtav5VYO_!!2219830355481-0-cib.jpg",
  "isAd": false,
  "detailsLoaded": false,
  "message": null,
  "scrapedAt": "2026-11-24T16:30:00.000Z"
}
```

With **Open product pages** on, rows also hold `priceMin`, `priceMax`, `priceTiers` (for example 10+ units at ¥0.75,
500+ at ¥0.73), `variants`, `rating`, `reviewCount`, `attributes` and all `imageUrls`. Every field is described in
the dataset schema on the **Output** tab; the **Suppliers** view lists the supplier columns side by side.

#### Row types

| `type` | Meaning | Charged |
|---|---|---|
| `match` | One 1688 product similar to your picture | Yes |
| `no_results` | 1688 found no similar products, or none passed your filters | No |
| `image_error` | The picture could not be downloaded or read, or 1688 could not find a product in it | No |
| `blocked` | 1688 asked for a security check and did not answer after several tries; try again later | No |
| `invalid` | The line is not an image address | No |
| `skipped` | Left out because the run reached your maximum cost per run | No |

### How much does 1688 Image Search cost?

You pay per saved match. There is no start fee, and explanation rows are free.

| Apify plan | Per 1,000 matches | Per 1,000 matches with product page |
|---|---|---|
| Free | $0.50 | $2.50 |
| Bronze | $0.45 | $2.30 |
| Silver | $0.40 | $2.10 |
| Gold and higher | $0.35 | $1.90 |

A match is charged once: at the second price only when **Open product pages** is on and its product page opened.
Example: 20 pictures with 50 matches each are 1,000 matches, which cost $0.50 on the Free plan. Set a **maximum cost
per run** in the run options to cap what a run can spend: when it is reached, the run stops cleanly and the matches
it could not pay for come back as free `skipped` rows instead.

### Limits

- **Logged-out view only.** The Actor never logs in, so it sees what 1688 shows to visitors. It uses only the
  anonymous session token 1688 gives every visitor, kept for one run and never stored.
- **About 700 matches per picture.** 1688 shows at most about 700 similar products for one picture.
- **Titles stay in Chinese.** Supplier names, titles, provinces and tags are as 1688 shows them.
- **Picture size.** Pictures up to 20 MB are accepted; they are resized before the search.
- **Security checks.** 1688 sometimes asks a visitor for a security check. The Actor never solves or bypasses it: it
  tries again with a new IP address. If a product page still does not open, the match keeps all the search result
  data, is charged as a plain match, and says in `message` which fields are missing.

### FAQ

**Do I need a 1688 or Alibaba account?** No. The Actor works without logging in.

**Can I use a photo from my computer?** Upload it anywhere that gives a public address (for example a cloud drive
share link that opens the picture itself, or your own website) and use that address.

**What currency are the prices in?** Chinese yuan (CNY), per selling unit, without shipping.

**Why do some matches look different from my photo?** 1688 ranks by visual similarity; the further down the list
(`position`), the looser the match. Lower **Maximum matches per image** to keep only the closest ones.

**How do I contact a supplier?** Open `supplierShopUrl` or the product `url` on 1688. The Actor does not collect
personal contact details.

**I want products by keyword instead.** Use [1688 Scraper](https://apify.com/earlytern/1688-product-scraper), which
searches 1688 by keyword and reads product pages.

### Is it legal to scrape 1688?

The Actor collects only product and company data that 1688 shows publicly to visitors who are not logged in, and no
personal data. You are responsible for how you use the results, including the site's terms and the laws that apply to
you; when in doubt, ask a lawyer.

### Questions and feedback

Open an issue on the **Issues** tab; we answer within 2 working days.

# Actor input Schema

## `imageUrls` (type: `array`):

Web addresses of product pictures, one per line, such as a photo from an online shop or your own picture uploaded anywhere public. JPEG, PNG, WebP and GIF work. Each picture is searched on its own; a clear photo of one product finds the best matches.

## `maxResults` (type: `integer`):

The run saves at most this many similar products for each picture, most similar first. 1688 shows up to about 700 similar products per picture.

## `factoriesOnly` (type: `boolean`):

Keep only suppliers that 1688 lists as manufacturers (factories) and leave out wholesalers and agents.

## `includeAds` (type: `boolean`):

Also keep products that suppliers paid to show among the matches. They are often less similar to your picture.

## `includeDetails` (type: `boolean`):

Also open each match's product page to add quantity price tiers, variants with stock, rating, reviews, specifications and all pictures. Slower, and priced higher per match.

## `proxyConfiguration` (type: `object`):

Connection used to open 1688. Residential proxy is the default because 1688 often shows a security check to other connections; each try uses a new IP address.

## Actor input object example

```json
{
  "imageUrls": [
    "https://cbu01.alicdn.com/img/ibank/O1CN01u2cx3I1qMLtav5VYO_!!2219830355481-0-cib.jpg"
  ],
  "maxResults": 10,
  "factoriesOnly": false,
  "includeAds": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "imageUrls": [
        "https://cbu01.alicdn.com/img/ibank/O1CN01u2cx3I1qMLtav5VYO_!!2219830355481-0-cib.jpg"
    ],
    "maxResults": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("earlytern/1688-image-search").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "imageUrls": ["https://cbu01.alicdn.com/img/ibank/O1CN01u2cx3I1qMLtav5VYO_!!2219830355481-0-cib.jpg"],
    "maxResults": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("earlytern/1688-image-search").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "imageUrls": [
    "https://cbu01.alicdn.com/img/ibank/O1CN01u2cx3I1qMLtav5VYO_!!2219830355481-0-cib.jpg"
  ],
  "maxResults": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call earlytern/1688-image-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,earlytern/1688-image-search"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/3XtdILBCM63XhMMO2/builds/FksFA7ylyZgmiag6q/openapi.json
