# 1688 Image Search Scraper (`piotrv1001/1688-image-search-scraper`) Actor

The 1688 Image Search Scraper finds 1688.com offers that look like your product photo, capturing factory prices in CNY, order and sales counts, repurchase rates, similarity scores, supplier names, shop scores and locations — ideal for product sourcing and supplier discovery.

- **URL**: https://apify.com/piotrv1001/1688-image-search-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** E-commerce, AI, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 images

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Scraper

Find the factory behind any product photo. The **1688 Image Search Scraper** takes a product image and returns the visually similar offers on 1688.com — China's largest domestic wholesale marketplace — with factory prices, sales signals and supplier details. Built for product sourcing, supplier discovery, dropshipping research and price benchmarking.

### ✨ Features

- 📸 **Search by photo**: paste any public image URL (a marketplace listing photo, a screenshot, your own product shot) — no keywords or Chinese needed.
- 📚 **Deep results**: up to 60 matches per page and typically **600–700 matches per photo**, most similar first. Ask for as many as you need.
- 💴 **Sourcing data on every match**: price in CNY, number of orders, quantity sold, buyer repurchase rate and a visual similarity score.
- 🏭 **Supplier details**: company name, years on 1688, shop URL and score, province and city, factory-inspection and super-factory flags.
- 🏷️ **Sponsored flag**: 1688 mixes paid placements into image results. Every row says whether it is sponsored, and one switch removes them.
- 🖼️ **Any common format**: JPEG, PNG, WebP, GIF or AVIF up to 10 MB; base64 `data:` URLs work too.
- 🔓 **No 1688 account, login or cookies.**

### 🛠️ How It Works

1. **Add image URLs** – one or many; each image is searched separately.
2. **Choose how many matches** you want per image, and whether to drop sponsored offers.
3. **Run** – get one row per matching offer, ranked by similarity, ready to export as JSON, CSV or Excel or to pull through the API.

### ⚙️ Input

| Field                | Description                                                 | Default     |
| -------------------- | ----------------------------------------------------------- | ----------- |
| `imageUrls`          | Public image URLs (or base64 `data:` URLs)                  | —           |
| `maxResultsPerImage` | Matches to return per image                                 | `60`        |
| `excludeSponsored`   | Keep organic matches only                                   | `false`     |
| `proxyConfiguration` | Proxy settings; Hong Kong residential makes uploads fastest | Apify Proxy |

```json
{
    "imageUrls": ["https://m.media-amazon.com/images/I/61Cev2aFG5L._AC_SX695_.jpg"],
    "maxResultsPerImage": 180,
    "excludeSponsored": true
}
```

### 📊 Sample Output Data

```json
[
    {
        "queryImage": "https://cbu01.alicdn.com/img/ibank/O1CN01ImHZo51sn2AJ4qBDw_!!2009745810-0-cib.jpg",
        "rank": 2,
        "offerId": "947521574275",
        "url": "https://detail.1688.com/offer/947521574275.html",
        "title": "跨境爆款狗狗玩具泰迪比熊狗狗玩具咬不烂耐咬磨牙棉绳结宠物用品",
        "price": 1.4,
        "currency": "CNY",
        "imageUrl": "https://cbu01.alicdn.com/img/ibank/O1CN01SHnCeo28zQmeyTrHq_!!2216529888003-0-cib.jpg",
        "similarityScore": 0.43,
        "ordersCount": 1356,
        "soldQuantity": 33569,
        "repurchaseRatePercent": 58,
        "companyName": "永康市勃斯工贸有限公司",
        "yearsOnPlatform": 3,
        "sellerLoginId": "永康市勃斯工贸有限公司",
        "sellerMemberId": "b2b-221652988800311dab",
        "shopUrl": "https://shop23yy707310911.1688.com",
        "shopScore": 4.5,
        "province": "浙江",
        "city": "金华市",
        "isSponsored": false,
        "factoryInspection": false,
        "businessInspection": false,
        "superFactory": false,
        "tags": ["回头率58%"],
        "totalMatches": 700,
        "scrapedAt": "2026-09-20T12:14:49.360Z"
    }
]
```

Images that cannot be downloaded or decoded produce an `image_error` row, and photos without matches a `no_matches` row — both free.

### 💰 Pricing

Pay per search, not per row — no monthly rental.

| Event                   | Price                                                            |
| ----------------------- | ---------------------------------------------------------------- |
| Image search            | **$0.02** per image with matches — includes the first 60 matches |
| Additional results page | **$0.01** per extra page of up to 60 matches                     |

60 matches for one photo cost $0.02; 300 matches cost $0.06. Failed images and images without matches are free.

### ℹ️ Good to Know

- Titles, company names and locations are returned as 1688 shows them — in Chinese. Prices are in CNY.
- Minimum order quantities and quantity price ladders are not part of image-search results. Feed the `offerId` values into the [1688 Listings Scraper](https://apify.com/piotrv1001/1688-listings-scraper) to get them.
- Large photos are resized before the search to keep uploads fast.
- Searching AliExpress by photo instead? See the [AliExpress Image Search Scraper](https://apify.com/piotrv1001/aliexpress-image-search-scraper).

Source smarter with the **1688 Image Search Scraper** today! 🚀

# Actor input Schema

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

Public URLs of product photos (JPEG, PNG, WebP, GIF or AVIF, up to 10 MB each). A base64 data: URL also works. Each image is searched separately.

## `maxResultsPerImage` (type: `integer`):

How many visually similar 1688 offers to return for each image, most similar first. 1688 serves them 60 at a time, typically up to about 600–700 per photo.

## `excludeSponsored` (type: `boolean`):

1688 mixes paid placements into image-search results. Turn this on to keep organic matches only; otherwise every row carries an isSponsored flag.

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

Apify Proxy (automatic) works out of the box. Residential proxies in Hong Kong make photo uploads noticeably faster.

## Actor input object example

```json
{
  "imageUrls": [
    "https://cbu01.alicdn.com/img/ibank/O1CN01ImHZo51sn2AJ4qBDw_!!2009745810-0-cib.jpg"
  ],
  "maxResultsPerImage": 60,
  "excludeSponsored": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `matches` (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/O1CN01ImHZo51sn2AJ4qBDw_!!2009745810-0-cib.jpg"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/1688-image-search-scraper").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/O1CN01ImHZo51sn2AJ4qBDw_!!2009745810-0-cib.jpg"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/1688-image-search-scraper").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/O1CN01ImHZo51sn2AJ4qBDw_!!2009745810-0-cib.jpg"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call piotrv1001/1688-image-search-scraper --silent --output-dataset

```

## MCP server setup

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

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/fpowbBIKhXoP8P58f/builds/zmiHK2vXQm5GSmxDB/openapi.json
