# 1688 (阿里巴巴) Image Search - Find Suppliers by Photo, MOQ (`om_kh/1688-reverse-image-product-finder`) Actor

1688 supplier finder by product photo: upload an image, get matching 1688 listings with SKU, variant price, MOQ and supplier shop. Each match comes with its source URL. One bad photo never kills the batch, and zero matches are never billed.

- **URL**: https://apify.com/om_kh/1688-reverse-image-product-finder.md
- **Developed by:** [Khandji Omar](https://apify.com/om_kh) (community)
- **Categories:** E-commerce, AI, MCP servers
- **Stats:** 3 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.60 / 1,000 visual matches

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 Suppliers by Photo, MOQ

> **Upload a product photo, get matching 1688 suppliers back — price
> range, MOQ, and a factory link** — with the source URL behind every
> match.

### Chosen on reliability, not the obvious name

The niche's best-known competitor measures 87.2% success — below our own
90% bar. This Actor chains onto a different, measured-live engine (99.7%
success over 3,162 recent runs) instead.

### 5 advantages

1. **One bad image never kills your batch.** A dead link or unmatched image
   errors out alone; every other image still delivers.
2. **Never billed on zero matches.** An image with no match costs nothing.
3. **Real supplier data**, not just a link: shop name, years as a gold
   supplier, price range, MOQ.
4. **Honest about what's not available.** The source provides no numeric
   confidence score for any provider — documented plainly, not hidden.
5. **Hard cost cap you control.** Set `maxTotalChargeUsd`.

### Output

```json
{
  "input_image_url": "https://example.com/product.jpg",
  "matches": [
    {
      "title": "示例商品标题",
      "product_url": "https://detail.1688.com/offer/123456789.html",
      "price_range": {"price_min": 12.5, "price_max": 18.0, "currency": "CNY", "moq": 2},
      "supplier": {"name": "示例厂家", "years_active": 5, "url": "https://..."},
      "match_basis": "visually_similar"
    }
  ],
  "status": "ok"
}
```

### Pricing

Pay per event, base FREE-tier prices: **$0.012** per match returned, **$0.002** per image processed, **$0.001** per supplier enrichment.
Paid Store plans pay less on every event — the largest plans reach $0.00055 on the cheapest event; the Pricing tab on this Actor's Store page is
always the authority. **No event is ever charged on an item that returns an `error`** —
a batch of 200 with one bad input bills 199.

### Use it from an AI agent (MCP and x402)

Connect Claude Desktop, Cursor, VS Code or any MCP client to Apify's MCP server
at `https://mcp.apify.com` and add this Actor, `om_kh/1688-reverse-image-product-finder`, as a tool — the
agent passes the same JSON as the run input and gets the dataset back.

AI agents that pay with **x402** can run it too, without an Apify account: the
Actor charges only per result delivered, so an agent pays exactly for what it gets.

### Related Actors

- [AliExpress Image Search - Find Products by Photo, Price](https://apify.com/om_kh/visual-product-matcher) — same reverse-image approach, sourcing from AliExpress instead of 1688

### How to use it in 3 steps

1. Click **Try for free** and fill in **Image URLs** (`imageUrls`).
2. Optional: adjust the other fields; every one has a description and a sensible default.
3. Click **Start** and download the results as JSON, CSV or Excel, or read them from the API.

### Use it from code (API)

Every Apify Actor is an API. Start a run and read the results with one call.

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("om_kh/1688-reverse-image-product-finder").call(run_input={"imageUrls": ["https://ae-pic-a1.aliexpress-media.com/kf/S5533347f600b47ff9ae5abbd74255026M.jpg_220x220q75.jpg_.avif"], "maxMatchesPerImage": 10, "includeSupplier": True, "includeVariants": True})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('om_kh/1688-reverse-image-product-finder').call({
    "imageUrls": [
        "https://ae-pic-a1.aliexpress-media.com/kf/S5533347f600b47ff9ae5abbd74255026M.jpg_220x220q75.jpg_.avif"
    ],
    
    "maxMatchesPerImage": 10,
    "includeSupplier": true,
    "includeVariants": true
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**One HTTP call (cURL)** — runs the Actor and returns the dataset in the same response:

```bash
curl -X POST "https://api.apify.com/v2/acts/om_kh~1688-reverse-image-product-finder/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"imageUrls": ["https://ae-pic-a1.aliexpress-media.com/kf/S5533347f600b47ff9ae5abbd74255026M.jpg_220x220q75.jpg_.avif"], "maxMatchesPerImage": 10, "includeSupplier": true, "includeVariants": true}'
```

### Integrations: n8n, Make, Zapier, Google Sheets

- **n8n** — the official *Apify* node, operation *Run Actor and get dataset*, Actor `om_kh/1688-reverse-image-product-finder`.
- **Make** — *Apify › Run an Actor*, then *Apify › Get Dataset Items*.
- **Zapier** — *Apify › Run Actor*; map the dataset items into your next step.
- **Google Sheets, webhooks, Slack** — add an integration from the *Integrations* tab of this Actor.
- **Schedules** — run it every hour or day from *Schedules* in Apify Console.

### FAQ

**Is it legal to scrape 1688 Image?**
This Actor collects only publicly available 1688 Image data and never logs in. You are responsible for how you use it; check 1688 Image's terms and your local law (GDPR, CCPA) if you store personal data, and ask a lawyer if unsure.

**Do I need an account, cookies or an API key?**
No. You only need an Apify account to run it.

**What data do I get?**
Matching 1688 products with price tiers, MOQ and supplier details. Download it as JSON, CSV, Excel, HTML or XML, or read it from the API.

**Am I charged when something fails?**
No. An input that fails is listed with its reason in the run summary and is never charged.

**Can I run it on a schedule?**
Yes. Create a schedule in Apify Console (hourly, daily, weekly) and connect webhooks, Google Sheets, Slack, n8n, Make or Zapier.

**Can I use it from Python, JavaScript or an AI agent?**
Yes: see the code samples above, or connect AI agents through MCP with the `reverse_image_1688` tool.

### Your feedback

Did this Actor save you time? A short review on the **Reviews** tab helps other people find it, and every review is read. Something missing or broken? Open an issue on the **Issues** tab: it is answered and fixed fast.

### More Actors from the same author

- [Amazon Search Results Scraper - Price, Rating, Listing](https://apify.com/om_kh/amazon-product-search-scraper)
- [eBay Sold Listings Scraper - Sold Price, Date, Title](https://apify.com/om_kh/ebay-sold-listings-scraper)
- [Trustpilot Reviews Scraper - Ratings, Text, Reviewer Name](https://apify.com/om_kh/trustpilot-reviews-scraper)
- [Amazon Best Sellers Scraper - Rank, Price, Category](https://apify.com/om_kh/amazon-best-sellers-scraper)

### Support

Found a bug or have a feature request? Use the **Issues** tab on this
Actor's Apify Store page, or message the author (`om_kh`) directly.

# Actor input Schema

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

Public product photo URLs to search on 1688.

## `maxMatchesPerImage` (type: `integer`):

Stop after this many matches per image.

## `includeSupplier` (type: `boolean`):

Include shop name, years as gold supplier, and rating.

## `includeVariants` (type: `boolean`):

Include min/max variant price and MOQ.

## `monitorEnabled` (type: `boolean`):

On later runs with the same Monitor ID, deliver only images not seen before.

## `monitorId` (type: `string`):

Groups runs into one monitored target. Leave blank for a one-off run.

## `maxTotalChargeUsd` (type: `number`):

Hard ceiling on what this run can bill you.

## Actor input object example

```json
{
  "imageUrls": [
    "https://ae-pic-a1.aliexpress-media.com/kf/S5533347f600b47ff9ae5abbd74255026M.jpg_220x220q75.jpg_.avif"
  ],
  "maxMatchesPerImage": 10,
  "includeSupplier": true,
  "includeVariants": true,
  "monitorEnabled": false
}
```

# Actor output Schema

## `report` (type: `string`):

A visual summary of delivery, charges, and source issues.

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

Matches in a sortable table. No JSON knowledge required.

## `csv` (type: `string`):

Results ready for spreadsheets, CRMs, and analytics tools.

## `excel` (type: `string`):

Results as an Excel workbook for non-technical teams.

## `runSummary` (type: `string`):

Machine-readable delivery, billing, and source diagnostics.

# 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://ae-pic-a1.aliexpress-media.com/kf/S5533347f600b47ff9ae5abbd74255026M.jpg_220x220q75.jpg_.avif"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("om_kh/1688-reverse-image-product-finder").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://ae-pic-a1.aliexpress-media.com/kf/S5533347f600b47ff9ae5abbd74255026M.jpg_220x220q75.jpg_.avif"] }

# Run the Actor and wait for it to finish
run = client.actor("om_kh/1688-reverse-image-product-finder").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://ae-pic-a1.aliexpress-media.com/kf/S5533347f600b47ff9ae5abbd74255026M.jpg_220x220q75.jpg_.avif"
  ]
}' |
apify call om_kh/1688-reverse-image-product-finder --silent --output-dataset

```

## MCP server setup

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

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/cPFY01kVNiNm2c0x0/builds/XXqHB9v2U7MfkGucW/openapi.json
