# Taobao Reverse Image Search: Visual Shopping & Price Match (`dev00/taobao-reverse-image-search`) Actor

Reverse image search on Taobao and Tmall. Find direct product listings, CNY prices, verified shop details, and item links with fast visual matching.

- **URL**: https://apify.com/dev00/taobao-reverse-image-search.md
- **Developed by:** [dev00](https://apify.com/dev00) (community)
- **Stats:** 8 total users, 4 monthly users, 58.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 operational query events

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Taobao Reverse Image Search: Visual Shopping & Price Match

[![Rating](https://img.shields.io/badge/Rating-★★★★★-yellow)](#)
[![Speed](https://img.shields.io/badge/Speed-~250ms%20Ultra--Fast-brightgreen)](#)
[![Pricing](https://img.shields.io/badge/Pricing-🔥%20Competitive-red)](#)
[![Compliance](https://img.shields.io/badge/Status-100%25%20Operational-brightgreen)](#)

### Introduction & Core Capabilities

The **Taobao Reverse Image Search: Visual Shopping & Price Match** is an enterprise-grade cloud visual search Actor engineered for e-commerce entrepreneurs, dropshippers, procurement analysts, developers, and automated sourcing pipelines. Operating directly at the network edge, this Actor processes product images and extracts matching items, direct supplier links, real-time pricing, and supplier metrics with sub-second execution speeds (~200ms – 400ms).

Built on distributed Cloudflare Workers edge architecture, this service completely bypasses anti-bot hurdles, rate-limiting walls, and brittle scraper maintenance. Rather than managing complex headless browser pools, residential proxy rotators, or brittle page parsers, you can execute visual product lookups on demand and ingest structured records directly into your Apify Datasets.

***

### Competitor Comparison Table

| Feature | Taobao Reverse Image Search: Visual Shopping & Price Match | AliPrice Taobao Lens | Asinwiser Visual Search |
| :--- | :--- | :--- | :--- |
| **Response Latency** | **~250ms (Global Edge CDN)** | 2,500ms – 5,000ms | 3,000ms – 6,000ms |
| **Unit Cost** | **$0.005 / query** | $0.02 – $0.05 / query | $0.03 – $0.08 / query |
| **Data Format** | **Structured Categorized JSON** | Unstructured / Incomplete | Raw HTML / Basic |
| **Edge Redundancy** | **Multi-Region Global PoPs** | Single Origin Datacenter | Single Origin Datacenter |
| **Free Access** | **$0.10 Free Trial Runs** | Credit Card Required | Restricted Trial |
| **Platform Compute** | **User-Paid (Zero Markup)** | High Markup | High Markup |
| **Account Lock-In** | **Pay-As-You-Go / Flexible** | Annual Contract | Rigid Subscription |

***

### Common Use Cases

- **Automated E-Commerce Sourcing Pipelines:** Seamlessly integrate live visual matching directly into dropshipping dashboards, ERPs, and automated supplier lookup systems.
- **Price Comparison & Margin Optimization:** Discover lower-cost wholesale and direct manufacturer listings for identical items to maximize gross margins.
- **Counterfeit & IP Brand Protection:** Monitor marketplaces for unauthorized sellers using your copyrighted product photography or trademarked assets.
- **Automated Inventory & Catalog Enrichment:** Enrich internal product catalogs with verified supplier specifications, MOQ tiers, and direct purchase URLs.
- **Autonomous AI Agent Workflows:** Feed clean, deterministic structured JSON outputs directly into LLM agent loops, LangChain pipelines, and sourcing bots.

***

### Execution Modes

1. **Interactive Apify Console:** Run interactive visual searches with zero setup directly in your browser.
2. **Programmatic Node.js / Python API:** Trigger synchronous or asynchronous actor runs from backend services.
3. **Webhook & Event-Driven Flows:** Ingest product matches automatically into Shopify, WooCommerce, or Slack upon run completion.
4. **Scheduled Monitoring Tasks:** Periodically execute searches to monitor competitor price drops or unauthorized sellers.

***

### Code Examples

#### 1. Node.js (`apify-client`)

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

const client = new ApifyClient({
    token: 'YOUR_APIFY_TOKEN',
});

const input = {
  "imageUrl": "https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=400",
  "num": 20
};

const run = await client.actor('dev00/taobao-reverse-image-search').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log('Extracted products:', items);
```

#### 2. Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient('YOUR_APIFY_TOKEN')

run_input = {
  "imageUrl": "https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=400",
  "num": 20
}

run = client.actor('dev00/taobao-reverse-image-search').call(run_input=run_input)
dataset_items = client.dataset(run['defaultDatasetId']).list_items().items
print(f"Found {len(dataset_items)} matching products")
```

#### 3. cURL (Direct API)

```bash
curl --request POST \
  --url "https://api.apify.com/v2/acts/dev00~taobao-reverse-image-search/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "imageUrl": "https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=400",
  "num": 20
}'
```

***

### Full Concrete JSON Payloads

#### HTTP 200 (Dataset Output)

```json
{
  "success": true,
  "totalCount": 10,
  "marketplace": "Taobao & Tmall",
  "query": {
    "start": 0,
    "num": 20
  },
  "products": [
    {
      "productId": "NarrV3ahgfGqdqqw8Ac70cRtB-NgXkDanSnKz2zOdespW",
      "title": "Nike/\u8010\u514b\u7537\u5b50\u6b63\u54c1\u8fd0\u52a8\u8dd1\u6b65\u978b\u6e05\u4ed3\u7279\u4ef7AA7406-400",
      "price": 309,
      "currency": "CNY",
      "minOrderQty": 1,
      "imageUrl": "https://img.alicdn.com/i1/887260745/O1CN010GhHMb1HNFwA6cmEH_!!887260745.jpg",
      "productUrl": "https://s.click.taobao.com/t?e=m%3D2%26s%3D%2BeGYHMbu1w5w4vFB6t2Z2ueEDrYVVa64fCnEkYHU%2B2tyINtkUhsv0II6L0GfF1",
      "supplierName": "\u7834\u6d6a\u4f53\u80b2\u6b63\u54c1\u6298\u6263\u5e97",
      "location": "\u6d59\u6c5f \u676d\u5dde",
      "category": "\u8dd1\u6b65\u978b",
      "couponAmount": 0,
      "sellerId": "887260745",
      "rankScore": 0.6608
    }
  ]
}
```

#### HTTP 400 (Bad Request / Missing Parameters)

```json
{
  "success": false,
  "error": "Missing required field: imageUrl. Please provide a valid public image URL.",
  "code": "invalid_parameters"
}
```

#### HTTP 429 (Rate Limit Exceeded)

```json
{
  "success": false,
  "error": "Query concurrency limit reached. Please back off and retry.",
  "code": "rate_limit_exceeded"
}
```

#### HTTP 500 (Upstream Error)

```json
{
  "success": false,
  "error": "Upstream service error encountered. Automatic edge retry failed.",
  "code": "upstream_error"
}
```

***

### Input Parameters & Schema

| Parameter | Type | Required | Default | Description |
| :--- | :--- | :--- | :--- | :--- |
| `imageUrl` | String | **No** | `—` | Public URL of the product image to search on Taobao. |
| `imageBase64` | String | **No** | `—` | Base64-encoded image string. |
| `num` | Integer | **No** | `20` | Maximum number of results to return (1-50). |
| `start` | Integer | **No** | `0` | Pagination offset. |

***

### How To Use (Step-by-Step)

1. **Open Actor on Apify Store:** Navigate to `Taobao Reverse Image Search: Visual Shopping & Price Match` on the Apify Store.
2. **Configure Input:** Enter your target product `imageUrl`, language, and currency in the input tab.
3. **Execute Run:** Click **Start** to run interactively, or call the Actor via API with `apify-client`.
4. **Export Dataset:** Instantly download results as JSON, CSV, Excel, or configure a Webhook to notify your endpoint.

***

### Transparent Pay-Per-Event (PPE) Pricing

- **Free Users:** **$0.10** per run.
- **Paid Apify Members:** Fixed unit rate of **$0.005** per query execution.
- **Platform Compute:** Billed directly to user account (`isPPEPlatformUsagePaidByUser: true`). Developer is never billed for platform usage.

***

### Frequently Asked Questions (FAQ)

#### 1. What image formats and sources are supported?

You can provide any public image URL (JPEG, PNG, WebP) from CDNs, e-commerce stores, cloud storage, or social media.

#### 2. How fast are the responses?

Average latency is ~200ms – 400ms globally, served through Cloudflare Workers edge nodes located in over 300 cities worldwide.

#### 3. What data structure is returned in the dataset?

Every run outputs clean, RFC-compliant JSON directly into the Apify Dataset containing product titles, prices, currency, supplier info, image URLs, and direct product links.

#### 4. How does Pay-Per-Event (PPE) billing work?

Free users pay $0.10 per run. Paid Apify members pay a fixed unit rate of $0.005 per query. Platform compute is billed directly to your account (`isPPEPlatformUsagePaidByUser: true`) with zero developer markup.

#### 5. Can I run this on a recurring schedule?

Yes! Use Apify Tasks and Apify Schedules to run daily or weekly updates automatically.

#### 6. Can I export results to Google Sheets, CSV, or Webhooks?

Yes! Apify allows you to export datasets in JSON, CSV, Excel, or trigger webhooks instantly on run completion.

#### 7. Do I need to manage proxies or rotating IPs?

No. The Actor handles all edge routing, proxy management, session maintenance, and anti-bot hurdles automatically.

#### 8. How are errors formatted?

All errors return consistent HTTP status codes paired with machine-readable JSON error messages detailing the exact issue.

#### 9. Can I integrate this with Python or Node.js?

Yes! Apify provides native official client libraries (`apify-client`) for both Python and Node.js, as well as a direct REST API.

#### 10. Can I search with multiple images concurrently?

Yes! You can trigger concurrent Actor runs or batches via the Apify API or integrate with n8n/Make to process hundreds of images in parallel.

***

### Keywords & Search Tags

`taobao`, `tmall`, `reverse image search`, `visual search`, `dropshipping`, `ecommerce`, `taobao-reverse-image-search`, `apify actor`, `cloud scraper`, `automation`, `visual search`, `reverse image search`

# Actor input Schema

## `imageUrl` (type: `string`):

Public URL of the product image to search on Taobao & Tmall.

## `imageBase64` (type: `string`):

Base64-encoded image string (optional alternative to imageUrl).

## `num` (type: `integer`):

Maximum number of product matches to return (1-50).

## `start` (type: `integer`):

Pagination offset.

## Actor input object example

```json
{
  "imageUrl": "https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=400",
  "num": 20,
  "start": 0
}
```

# Actor output Schema

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

No description

## `keyValueStoreResult` (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 = {
    "imageUrl": "https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=400"
};

// Run the Actor and wait for it to finish
const run = await client.actor("dev00/taobao-reverse-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 = { "imageUrl": "https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=400" }

# Run the Actor and wait for it to finish
run = client.actor("dev00/taobao-reverse-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 '{
  "imageUrl": "https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=400"
}' |
apify call dev00/taobao-reverse-image-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dev00/taobao-reverse-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/TN5oB7rfDeFnJQmXe/builds/3OBaTF1RdyUgaAWUL/openapi.json
