# 1688 Image Search: Factory Suppliers + Margin (`lavidarossi.bv/1688-image-search-margin`) Actor

1688 image search for product sourcing: give a product image from 1688, Taobao or Tmall and get matching 1688 suppliers with price in CNY and USD, sales, repurchase rate and supplier years, plus landed cost and gross margin against your sell price.

- **URL**: https://apify.com/lavidarossi.bv/1688-image-search-margin.md
- **Developed by:** [Lavida Data](https://apify.com/lavidarossi.bv) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 supplier matches

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/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: Factory Suppliers + Margin

1688 image search for product sourcing. Give one or more product images (from 1688, Taobao or Tmall) and your sell price; the Actor finds the products 1688 shows as similar and returns one row per supplier match: title, price in CNY and USD, units sold, repurchase rate, supplier name, years on 1688, ships-from city and service badges. Every row also has the landed cost per unit (product + your shipping estimate + your fees) and, when you give a sell price, the gross profit and gross margin. Turn on details for the minimum order quantity, the price tiers and the unit weight.

### What it does

- Up to 100 supplier matches per image, from 1688's own similar-products search.
- Landed cost per unit and gross margin per match, from your sell price, shipping estimate and fees.
- Shipping by weight: with details on, a USD-per-kg rate times the unit weight 1688 lists.
- Prices in CNY and USD with the exchange rate, its source and its date on every row.
- Optional details per match: minimum order quantity, price tiers by quantity and unit weight.

### Use cases

- Check the margin of a product you sell before you order: the cheapest 1688 suppliers for its photo, with landed cost and margin.
- Find the factory behind a Taobao or Tmall product and compare prices.
- Shortlist suppliers by units sold, repurchase rate and years on 1688.
- Run a list of product images every week and watch supplier prices.

### How to use it

1. Fill in the input (or keep the example).
2. Click Start.
3. Download the results from the Output tab, or connect them to your tools with the Apify API or integrations.

The prefilled input is a small test: it stops after 10 results, so the first run costs at most $0.05.

### Input

| Field | Type | Required | Default | Example | Description |
| --- | --- | --- | --- | --- | --- |
| `imageUrls` | array | yes |  | \["https://cbu01.alicdn.com/img/ibank/15418323391_18477647... | Image links of the products to source, for example a 1688, Taobao or Tmall product image (cbu01.alicdn.com, img.alicdn.com). 1688 matches images on Alibaba's image servers; images from other sites usually return no matches. |
| `sellPricesUsd` | array | no |  | \[9.99] | Your sell price per unit in USD. One number for all images, or one number per image in the same order. Leave empty for landed cost only (no margin). |
| `maxResultsPerImage` | integer | no | 20 | 20 | Supplier matches per image. 1688 returns 20 per page. |
| `shippingPerUnitUsd` | number | no | 0 | 1.2 | Your shipping estimate per unit in USD, from the supplier to your customer or warehouse. Used in the landed cost. |
| `shippingUsdPerKg` | number | no | 0 | 0 | Shipping rate per kg in USD. Used only when Shipping per unit is 0 and details are on (1688's unit weight times this rate). |
| `feesPerUnitUsd` | number | no | 0 | 0 | Fixed costs per unit in USD, for example a sourcing agent, packaging or a fulfilment fee. |
| `feesPercentOfSellPrice` | number | no | 0 | 15 | Fees that scale with the sell price, in percent, for example 15 for a marketplace referral fee. Needs a sell price. |
| `includeDetails` | boolean | no | false | false | Open each match on m.1688.com for the minimum order quantity, the price tiers and the unit weight. One extra request per match; no extra charge. |
| `proxyConfiguration` | object | no | {"useApifyProxy":true,"apifyProxyGroups":\["RESIDENTIAL"]} | {"useApifyProxy":true,"apifyProxyGroups":\["RESIDENTIAL"]} | 1688 shows a slider check to many datacenter IP addresses. Residential Apify Proxy is the default. |
| `maxResults` | integer | no | 100 | 10 | The run stops after this many results. You pay per result. |

Example input:

```json
{
  "imageUrls": [
    "https://cbu01.alicdn.com/img/ibank/15418323391_1847764777.jpg"
  ],
  "sellPricesUsd": [
    9.99
  ],
  "maxResultsPerImage": 40,
  "shippingPerUnitUsd": 1.2,
  "feesPercentOfSellPrice": 15,
  "includeDetails": true,
  "maxResults": 100
}
```

### Output

Each result is one row in the dataset. Download it as JSON, CSV, Excel or HTML, or read it through the Apify API.

| Field | Type | Description |
| --- | --- | --- |
| `offerId` | string | 1688 offer ID |
| `title` | string | Product title on 1688 |
| `offerUrl` | string | Product page on 1688 |
| `imageUrl` | string | Main image of the match |
| `priceCny` | number | Price per unit in Chinese yuan as 1688 shows it in the search |
| `priceUsd` | number | priceCny in US dollars with fxRateCnyToUsd, rounded to cents |
| `salesCount` | integer | Units sold as 1688 shows it |
| `repurchaseRatePct` | number | Share of buyers who ordered again, as 1688 shows it |
| `supplierName` | string | Public company name of the supplier on 1688 |
| `supplierYears` | integer | Years the supplier has had a 1688 TrustPass membership |
| `supplierScore` | number | 1688's composite supplier score (up to 5) |
| `shipsFrom` | string | City the product ships from, for example 浙江义乌市 |
| `services` | array | Service badges 1688 shows, for example 先采后付 (buy now, pay later) or 混批 (mixed batches) |
| `features` | array | Product feature tags 1688 shows |
| `isSuperFactory` | boolean | True when 1688 marks the supplier as a super factory |
| `isPowerfulMerchant` | boolean | True when 1688 marks the supplier as a powerful merchant (实力商家) |
| `moq` | integer | Minimum order quantity. Null when details are off |
| `priceTiers` | array | Price per unit by order quantity: minQuantity, priceCny, priceUsd. Null when details are off |
| `unitWeightKg` | number | Weight per unit 1688 lists. Null when details are off or 1688 lists none |
| `sellPriceUsd` | number | Your sell price for this image. Null when you gave none |
| `productCostUsd` | number | priceUsd: the product part of the landed cost |
| `shippingUsd` | number | Shipping per unit: your per-unit estimate, or unit weight x your per-kg rate, or 0 |
| `feesUsd` | number | Fees per unit: fixed fees + sell price x fee percent |
| `landedCostUsd` | number | productCostUsd + shippingUsd + feesUsd |
| `grossProfitUsd` | number | sellPriceUsd - landedCostUsd. Null without a sell price |
| `grossMarginPct` | number | grossProfitUsd / sellPriceUsd x 100. Null without a sell price |
| `position` | integer | Rank in 1688's similar-products list for this image (1 = most similar) |
| `sourceImageUrl` | string | The image this match was found for |
| `fxRateCnyToUsd` | number | US dollars per Chinese yuan used for the USD prices |
| `fxSource` | string | Where the exchange rate comes from |
| `fxDate` | string | Date of the exchange rate (YYYY-MM-DD) |
| `detailFetched` | boolean | True when the m.1688.com product page was read for this row |
| `scrapedAt` | string | When the row was fetched (ISO 8601) |

#### Example output

| Title | Price (USD) | Landed cost (USD) | Sell price (USD) | Gross margin (%) | Units sold |
| --- | --- | --- | --- | --- | --- |
| 狗狗磨牙洁齿咬棍橡胶带绳宠物玩具去牙垢解闷大中小型犬通用跨境 | 0.21 | 2.91 | 9.99 | 70.9 | 6329 |

Example result:

```json
{
  "offerId": "1087840334843",
  "title": "狗狗磨牙洁齿咬棍橡胶带绳宠物玩具去牙垢解闷大中小型犬通用跨境",
  "offerUrl": "https://detail.1688.com/offer/1087840334843.html",
  "imageUrl": "https://cbu01.alicdn.com/img/ibank/O1CN01LOA0uRz2IYJ1chua_!!2217947155846-0-cib.jpg",
  "priceCny": 1.4,
  "salesCount": 6329,
  "repurchaseRatePct": 25,
  "supplierName": "义乌市喵鲸宠物用品有限公司",
  "supplierYears": 3,
  "supplierScore": 4,
  "shipsFrom": "浙江义乌市",
  "services": [
    "先采后付",
    "混批",
    "假一赔四"
  ],
  "features": [
    "啃咬玩具",
    "清洁牙齿",
    "巨型犬（大于40KG）"
  ],
  "isSuperFactory": false,
  "isPowerfulMerchant": true,
  "priceUsd": 0.21,
  "moq": null,
  "priceTiers": null,
  "unitWeightKg": null,
  "sellPriceUsd": 9.99,
  "productCostUsd": 0.21,
  "shippingUsd": 1.2,
  "feesUsd": 1.5,
  "landedCostUsd": 2.91,
  "grossProfitUsd": 7.08,
  "grossMarginPct": 70.9,
  "position": 1,
  "sourceImageUrl": "https://cbu01.alicdn.com/img/ibank/15418323391_1847764777.jpg",
  "fxRateCnyToUsd": 0.150145,
  "fxSource": "European Central Bank euro reference rates (cross rate USD/CNY)",
  "fxDate": "2026-11-26",
  "detailFetched": false,
  "scrapedAt": "2026-11-27T12:00:00.000Z"
}
```

### Pricing

This Actor uses pay-per-event pricing. You pay for results, not for compute time or proxies.

| Event | When it is charged | Price | Per 1,000 |
| --- | --- | --- | --- |
| Supplier match | One 1688 match written to the dataset | $0.0035 | $3.50 |
| Margin calculation | One match with gross profit and gross margin (only when you give a sell price) | $0.0010 | $1.00 |
| Actor start | Charged by Apify once per run, plus once per GB of memory above 1 GB | $0.00005 | $0.05 |

Example: 1,000 results cost $3.50 in total for one run.
Set "Maximum cost per run" in the run options to cap spending; the Actor stops cleanly when the cap is reached.

### Use it from an AI agent or the API

**MCP (Claude, Cursor, ChatGPT and other MCP clients):** add the Apify MCP server with this Actor as a tool: `https://mcp.apify.com?tools=lavidarossi.bv/1688-image-search-margin`. The agent sees it as the tool `lavidarossi-dot-bv--1688-image-search-margin` with the input fields above. Without the parameter, agents can still find it with the `search-actors` tool.

**API:** run it and get the rows in one call (replace `<APIFY_TOKEN>` with your token):

```bash
curl -X POST "https://api.apify.com/v2/acts/lavidarossi.bv~1688-image-search-margin/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <APIFY_TOKEN>" -H "Content-Type: application/json" \
  -d '{"imageUrls":["https://cbu01.alicdn.com/img/ibank/15418323391_1847764777.jpg"],"sellPricesUsd":[9.99],"maxResultsPerImage":20,"shippingPerUnitUsd":1.2,"shippingUsdPerKg":0,"feesPerUnitUsd":0,"feesPercentOfSellPrice":15,"includeDetails":false,"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]},"maxResults":10}'
```

### FAQ

**How is the landed cost calculated?**

landedCostUsd = productCostUsd + shippingUsd + feesUsd. productCostUsd is the 1688 price in USD. shippingUsd is your Shipping per unit, or, when that is 0 and details are on, 1688's unit weight times your Shipping per kg. feesUsd is your Fees per unit plus your sell price times your fee percent. grossMarginPct = (sellPriceUsd - landedCostUsd) / sellPriceUsd x 100.

**Which images work?**

Images on Alibaba's image servers: 1688 product images (cbu01.alicdn.com) and Taobao or Tmall product images (img.alicdn.com). In our test a Tmall earbuds image found the same earbuds on 1688 at 23.66 CNY against 118 CNY on Tmall. An image from another site returned no matches, so the Actor logs a warning for those.

**Can I give an Amazon or TikTok Shop product link?**

Not yet. Both sites answered our signed-out test requests with a bot check instead of the product, and 1688's image search does not match images outside Alibaba's servers. Find the same product on Taobao or 1688 first and use its image.

**Which 1688 price is used?**

The price 1688 shows in the similar-products list (priceCny). With details on, the row also has every price tier by order quantity and the minimum order quantity, so you can redo the margin for your order size.

**Where does the data come from?**

From the similar-products list that 1688's public mobile product pages show to every visitor, and with details on, from the public m.1688.com product page. The Actor does not log in and does not solve captchas. It uses the session token 1688 hands to every anonymous visitor of those pages.

**What happens when a request fails?**

Each request is retried up to 4 times. If a request still fails, the run ends with status Failed and the RUN_SUMMARY record in the key-value store lists the failed URLs. Results saved before that stay in the dataset.

**Can I run it on a schedule?**

Yes. Create a task with your input and add a schedule in Apify Console. Each run is charged per result.

### Limits

- Matches come from 1688's similar-products list: up to 100 per image (5 pages of 20).
- Images from outside Alibaba's servers usually return no matches.
- Amazon and TikTok Shop product links are not accepted.
- The margin uses your shipping and fee inputs; import duties, VAT and currency fees are not included unless you add them to the fees.
- 1688 can show a slider check to some IP addresses. The Actor then retries the image with a new IP; it never solves the check.
- 1688 can change these pages at any time. The run then fails with a clear error and we fix it.

### Related Actors

- [Taobao Scraper](https://apify.com/lavidarossi.bv/taobao-tmall-product-scraper): Taobao and Tmall products with prices in USD.
- [TikTok Shop Scraper](https://apify.com/lavidarossi.bv/tiktok-shop-scraper): TikTok Shop products, prices and units sold.
- [Keyword Suggestions Scraper](https://apify.com/lavidarossi.bv/keyword-suggestions-scraper): autocomplete keyword ideas from Google, YouTube, Bing and Amazon.

### Data

- The Actor returns product and supplier data only: the public company name of the supplier and its 1688 badges. No owner names, login names, phone numbers, addresses, buyer names or reviews.
- Product images belong to the suppliers. Use them for sourcing research in line with 1688's terms.

# Actor input Schema

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

Image links of the products to source, for example a 1688, Taobao or Tmall product image (cbu01.alicdn.com, img.alicdn.com). 1688 matches images on Alibaba's image servers; images from other sites usually return no matches.

## `sellPricesUsd` (type: `array`):

Your sell price per unit in USD. One number for all images, or one number per image in the same order. Leave empty for landed cost only (no margin).

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

Supplier matches per image. 1688 returns 20 per page.

## `shippingPerUnitUsd` (type: `number`):

Your shipping estimate per unit in USD, from the supplier to your customer or warehouse. Used in the landed cost.

## `shippingUsdPerKg` (type: `number`):

Shipping rate per kg in USD. Used only when Shipping per unit is 0 and details are on (1688's unit weight times this rate).

## `feesPerUnitUsd` (type: `number`):

Fixed costs per unit in USD, for example a sourcing agent, packaging or a fulfilment fee.

## `feesPercentOfSellPrice` (type: `number`):

Fees that scale with the sell price, in percent, for example 15 for a marketplace referral fee. Needs a sell price.

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

Open each match on m.1688.com for the minimum order quantity, the price tiers and the unit weight. One extra request per match; no extra charge.

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

1688 shows a slider check to many datacenter IP addresses. Residential Apify Proxy is the default.

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

The run stops after this many results. You pay per result.

## Actor input object example

```json
{
  "imageUrls": [
    "https://cbu01.alicdn.com/img/ibank/15418323391_1847764777.jpg"
  ],
  "sellPricesUsd": [
    9.99
  ],
  "maxResultsPerImage": 20,
  "shippingPerUnitUsd": 1.2,
  "shippingUsdPerKg": 0,
  "feesPerUnitUsd": 0,
  "feesPercentOfSellPrice": 15,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxResults": 10
}
```

# Actor output Schema

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

One dataset item per result, with every field described in the dataset schema.

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

Counts of results, finished, failed and skipped requests, and whether the charge limit was reached.

# 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/15418323391_1847764777.jpg"
    ],
    "sellPricesUsd": [
        9.99
    ],
    "maxResultsPerImage": 20,
    "shippingPerUnitUsd": 1.2,
    "shippingUsdPerKg": 0,
    "feesPerUnitUsd": 0,
    "feesPercentOfSellPrice": 15,
    "includeDetails": false,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    },
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("lavidarossi.bv/1688-image-search-margin").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/15418323391_1847764777.jpg"],
    "sellPricesUsd": [9.99],
    "maxResultsPerImage": 20,
    "shippingPerUnitUsd": 1.2,
    "shippingUsdPerKg": 0,
    "feesPerUnitUsd": 0,
    "feesPercentOfSellPrice": 15,
    "includeDetails": False,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("lavidarossi.bv/1688-image-search-margin").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/15418323391_1847764777.jpg"
  ],
  "sellPricesUsd": [
    9.99
  ],
  "maxResultsPerImage": 20,
  "shippingPerUnitUsd": 1.2,
  "shippingUsdPerKg": 0,
  "feesPerUnitUsd": 0,
  "feesPercentOfSellPrice": 15,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxResults": 10
}' |
apify call lavidarossi.bv/1688-image-search-margin --silent --output-dataset

```

## MCP server setup

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

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/EN6bxAizds1EWUdX8/builds/12D2NBQjB1A9JMgs8/openapi.json
