# AliExpress Reverse Image Search - Similar Products & Prices (`tenfoldfleet/aliexpress-reverse-image-search`) Actor

Find similar products on AliExpress from a photo: search by image with any product image URL and get matching listings with price, discount, sold count, rating, store, shipping and product link. $15 per 1,000 image searches (60 results each), extra pages $8 per 1,000; failed images are free.

- **URL**: https://apify.com/tenfoldfleet/aliexpress-reverse-image-search.md
- **Developed by:** [Tenfold Fleet](https://apify.com/tenfoldfleet) (community)
- **Categories:** E-commerce, Agents, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 image searches

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

### What does AliExpress Reverse Image Search do?

**AliExpress Reverse Image Search** takes a **product photo URL** and returns the **AliExpress listings that look like it**: title, **sale price, list price, discount, units sold, star rating, ship-from country, Choice badge, store name** and the product link. It runs the same **search by image** that the camera icon on AliExpress uses, so you can call it as an **API**, in bulk, with no AliExpress account.

Paste an image from **Amazon, Shopify, Temu, TikTok Shop, a supplier catalog or your own CDN**. Each photo is resized, uploaded to AliExpress image search, and you get up to **120 similar products per image**, best match first. One image search with 60 results costs **$0.015**; images that fail or match nothing are free.

Not affiliated with, endorsed or sponsored by AliExpress or Alibaba Group.

### Why use a reverse image search on AliExpress?

- 🔎 **Find the cheapest seller of a product**: you saw a gadget in an ad or on Amazon; see who sells the same item on AliExpress and for how much.
- 📦 **Dropshipping research**: check sold counts, ratings and Choice status of every lookalike listing before you pick a supplier.
- 💰 **Margin and price checks**: put your retail price next to the AliExpress price of the same product, for a whole catalog at once.
- 🕵️ **Spot copies and resellers**: find listings that reuse your product photos.
- 🤖 **AI agents and pipelines**: an agent that holds a product image can call this Actor through the Apify API or MCP server and get clean JSON back.

Sourcing from factories instead of retail sellers? [Alibaba Image Search](https://apify.com/tenfoldfleet/alibaba-image-search) does the same for Alibaba.com wholesale suppliers, with MOQ and supplier details.

### What data can it extract?

| Field | Example |
|---|---|
| `inputImageUrl`, `matchRank` | your image URL, `1` (1 = closest match) |
| `productId`, `title`, `url` | `1005008803047370`, `Stainless Steel Sports Water Bottle ...`, product page URL |
| `imageUrl`, `images` | main image of the match |
| `salePrice`, `originalPrice`, `discountPercent`, `currency` | `1.09`, `18.69`, `94`, `USD` |
| `isNewShopperPrice` | `true` when the shown price is a first-order deal |
| `soldCount`, `soldText` | `684`, `684 sold` |
| `rating` | `4.7` |
| `freeShipping`, `shipFrom`, `isChoice` | `true`, `CN`, `true` |
| `storeName` | seller store, when AliExpress shows it on the card |
| `isAd`, `listedDate`, `categoryId` | sponsored flag, listing date, AliExpress category ID |
| `page`, `scrapedAt` | results page (1 or 2) and timestamp |

### How to search AliExpress by image

1. Open the Actor and paste one or more **product image URLs** into **Product image URLs** (one per line).
2. Set **Max results per image**: 60 (one page) or up to 120 (two pages).
3. Optionally change the **ship-to country** and **currency** for local prices.
4. Click **Start** and download the similar products as JSON, CSV or Excel, or read them through the API.

### How much does it cost?

Pay per event, no monthly fee:

| Event | Price | Per 1,000 |
|---|---|---|
| Image search (first 60 similar products) | $0.015 | $15 |
| Extra page (results 61-120) | $0.008 | $8 |
| Failed image, bad URL, no matches | free | free |

Ten photos with 60 results each cost $0.15. On the **Apify free plan**, the $5 monthly credit covers about **330 image searches** of 60 results.

### Input

```json
{
    "imageUrls": [
        "https://upload.wikimedia.org/wikipedia/commons/f/f4/Stainless_steel_water_bottle.jpg",
        "https://upload.wikimedia.org/wikipedia/commons/7/71/Concise_bamboo_eye_protection_LED_desk_lamp.jpg"
    ],
    "maxResultsPerImage": 60,
    "shipToCountry": "US",
    "currency": "USD"
}
```

### Output

One row per similar product. Download the dataset as **JSON, CSV, Excel, XML or HTML**.

```json
{
    "inputImageUrl": "https://upload.wikimedia.org/wikipedia/commons/f/f4/Stainless_steel_water_bottle.jpg",
    "matchRank": 1,
    "productId": "1005008803047370",
    "title": "Multi-Color Stainless Steel Single-Layer Sports Shaking Cup Leakproof Design",
    "url": "https://www.aliexpress.com/item/1005008803047370.html",
    "imageUrl": "https://ae-pic-a1.aliexpress-media.com/kf/Sc6cffd980fc1437793af3a71132693d86.jpg",
    "salePrice": 1.09,
    "originalPrice": 18.69,
    "discountPercent": 94,
    "currency": "USD",
    "isNewShopperPrice": true,
    "soldCount": 684,
    "soldText": "684 sold",
    "rating": 4.7,
    "freeShipping": true,
    "shipFrom": "CN",
    "storeName": "Dongguan Enxiang Trading Store",
    "isChoice": true,
    "isAd": false,
    "listedDate": "2025-04-10",
    "categoryId": "100003293",
    "page": 1,
    "scrapedAt": "2026-11-07T03:54:34.273Z"
}
```

An image that fails gives one free row with `inputImageUrl` and an `error` that says why (for example "Could not download the image (HTTP 404)").

### Tips

- Use a **clear photo of the product alone** on a plain background. Lifestyle shots with several objects match less well.
- Any public JPG, PNG, WebP or GIF link up to 10 MB works. Large photos are shrunk before upload, so you do not need to resize them.
- AliExpress thumbnail links (`..._220x220.jpg_.avif`) are switched to the full-size image automatically.
- Many low prices are **new-shopper deals**: filter on `isNewShopperPrice` to compare regular prices.
- Image search returns about 120 distinct products per photo; later pages repeat what was already shown, so the Actor stops at 120.

### FAQ

#### Do I need an AliExpress account or API key?

No. The Actor uses the public image search that anyone can open on the AliExpress website.

#### Can I upload a file from my computer?

Put the file somewhere with a public link (your store CDN, a cloud bucket or an Apify key-value store) and paste that URL.

#### Why did an image return no results?

AliExpress found nothing it considered similar, or the link did not return an image. Those rows are free. Try a sharper photo of the product alone.

#### Can I use it from an AI agent?

Yes. The Actor works through the Apify API, the Apify MCP server and the Apify integrations (Make, Zapier, n8n and others).

#### Is this legal?

The Actor reads public product listings only and collects no personal data. You are responsible for how you use the data and for following the AliExpress terms that apply to you. Not affiliated with AliExpress.

# Actor input Schema

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

Public links to product photos (JPG, PNG, WebP or GIF, up to 10 MB each), one per line: Amazon, Shopify, Temu, Alibaba, AliExpress or any other site. Each photo is resized and run through AliExpress search by image. Use clear photos of the product alone; do not submit photos of people. Images that fail or match nothing are free.

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

How many similar products to return for each image, best match first: up to 120 (AliExpress image search has 2 pages of 60). The first 60 are one image search ($0.015); results 61-120 are one extra page ($0.008). On the Apify free plan, the $5 monthly credit covers about 330 image searches of 60 results.

## `shipToCountry` (type: `string`):

Two-letter country code AliExpress prices and ships for (US, GB, DE, FR, AU, CA ...).

## `currency` (type: `string`):

Three-letter currency code for prices (USD, EUR, GBP, AUD ...).

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

Proxy for the requests to AliExpress. The default Apify datacenter proxy works; change it only if you see blocked requests.

## Actor input object example

```json
{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/f/f4/Stainless_steel_water_bottle.jpg",
    "https://ae-pic-a1.aliexpress-media.com/kf/Sc6cffd980fc1437793af3a71132693d86.jpg"
  ],
  "maxResultsPerImage": 60,
  "shipToCountry": "US",
  "currency": "USD",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (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://upload.wikimedia.org/wikipedia/commons/f/f4/Stainless_steel_water_bottle.jpg",
        "https://ae-pic-a1.aliexpress-media.com/kf/Sc6cffd980fc1437793af3a71132693d86.jpg"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenfoldfleet/aliexpress-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 = { "imageUrls": [
        "https://upload.wikimedia.org/wikipedia/commons/f/f4/Stainless_steel_water_bottle.jpg",
        "https://ae-pic-a1.aliexpress-media.com/kf/Sc6cffd980fc1437793af3a71132693d86.jpg",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tenfoldfleet/aliexpress-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 '{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/f/f4/Stainless_steel_water_bottle.jpg",
    "https://ae-pic-a1.aliexpress-media.com/kf/Sc6cffd980fc1437793af3a71132693d86.jpg"
  ]
}' |
apify call tenfoldfleet/aliexpress-reverse-image-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tenfoldfleet/aliexpress-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/EiiMaJNIKfYB5wnRG/builds/IsI5B7fkp2KzPCnxt/openapi.json
