# 1688 In-platform product image search API (alibaba1688.image_search)

- Canonical page: https://everyinfra.com/en/alibaba1688-api/image_search
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "alibaba1688", "action": "image_search", "params": {...}}
- Price: $0.005556 per call ($5.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 5, max 5 per call
- Mode: sync; add "mode": "async" for slow tasks

1688 product image search looks for similar products on 1688 from one product image and returns each match's title, price, minimum order quantity, order count, supplier name, image and match position. Use it to answer whether a product is on 1688, who sells it and at what price: tracing a finished product or a competitor's photo back to its source, comparing prices across marketplaces, or finding alternative suppliers.

Pass `image_url` as one publicly reachable HTTPS link to an image; each call searches a single image. Results are similar-looking candidates, not guaranteed to be the same item, so check the details before you order. `rank` is only the position in this match list, not a sales ranking. For full variants, stock and supplier information, pass a result's `url` to 1688 Product details.

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=alibaba1688&action=image_search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| image_url | not declared | yes | not declared | For image_search, provide one public HTTPS product-image URL. The action submits one image, returns at most five matching 1688 offers, and does not include detail or SKU enrichment. |
| limit | integer (1–5) | no | 5 | The most rows to return in this call, an integer from 1 to 5. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| title | Title. null when the platform has no titles (for example text-only posts). |
| price | Price as a number without a currency symbol; see currency. |
| currency | Currency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency. |
| min_order_quantity | Minimum order quantity (MOQ). **The first threshold in 1688 wholesale buying: check it before anything else.** |
| order_count | Order count. |
| supplier_name | Supplier name. |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| rank | Position of the offer in this image's match list; only the order of this result, not a sales ranking. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "alibaba1688",
  "action": "image_search",
  "params": {
    "image_url": "https://cbu01.alicdn.com/img/ibank/15418323391_1847764777.jpg"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "alibaba1688",
        "action": "image_search",
        "params": {
            "image_url": "https://cbu01.alicdn.com/img/ibank/15418323391_1847764777.jpg",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-10-13T04:57:06Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 5. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "alibaba1688",
  "action": "image_search",
  "results": [
    {
      "id": "•••",
      "url": "https://detail.1688.com/offer/1087685101407.html",
      "title": "pet toy Five pointed star toy TPR Star Relief Molar ring",
      "price": 1.5,
      "currency": "CNY",
      "min_order_quantity": 50,
      "order_count": 0,
      "supplier_name": "徐州经济技术开发区俊飒宠物用品经营部",
      "image_url": "https://cbu01.alicdn.com/img/ibank/O1CN01YZTAXwRx8CF1chua_!!2223051725283-0-cib.jpg",
      "rank": 1,
      "platform": "1688"
    },
    {
      "id": "•••",
      "url": "https://detail.1688.com/offer/1006441717931.html",
      "title": "狗狗玩具宠物发声玩具耐咬小狗幼犬狗狗磨牙洁齿训练搪胶玩具批发",
      "price": 1.5,
      "currency": "CNY",
      "min_order_quantity": 2,
      "order_count": 6771,
      "supplier_name": "东阳市嘉瑞宝宠物用品有限公司",
      "image_url": "https://cbu01.alicdn.com/O1CN01ltOurZ202KnOTWxaR_!!2216996446791-0-cib.jpg",
      "rank": 2,
      "platform": "1688"
    }
  ],
  "count": 5,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### What kind of image works?

One publicly reachable HTTPS link that points at the product image itself; each call searches a single image. Images behind a login, web page addresses and local files do not work. A clear product shot on a plain background usually matches more closely.

### Is `rank` a sales ranking?

No. `rank` only reflects the order of matches returned for this image; it is not a sales chart and does not guarantee the first result is the same item. Use `order_count` to judge how well a product sells.

### How do I get supplier details for a match?

Image search results leave out full variants, stock and supplier details. Pass a result's `url` to 1688 Product details to get tiered prices, the minimum order, variant details and the supplier's profile.

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=alibaba1688
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
