Nexscope

1688 Search By Image

Find visually similar 1688 supplier products from an image URL. Call the 1688 Search By Image API via REST or MCP from 10 credits per call.

CostRecent 10 credits / call
Try online
POST · https://api.nexscope.ai/alibaba1688/imageSearchMCP · nexscope_1688_search_by_image

What this API does

Find visually similar 1688 supplier products from an image URL. The request accepts imageUrl, imageBase64, imageId, page, pageSize. Its documented result includes imageId, totalPage, sourceType, products, offerId, asin, imageUrl, title.

1688 Search By Image API use cases

Find products matching a sourcing brief

To find products matching a sourcing brief, a marketplace analyst submits imageUrl and imageBase64 to 1688 Search By Image. The returned imageId, totalPage, sourceType help identify products matching the requested search criteria.

Compare a product search shortlist

A marketplace analyst uses 1688 Search By Image with imageUrl and imageBase64 to compare a product search shortlist. The returned imageId, totalPage, sourceType help compare candidates before requesting individual product details.

Collect candidates for a market review

For this workflow, a marketplace analyst calls 1688 Search By Image with imageUrl and imageBase64 to collect candidates for a market review. The result helps choose products for a supplier or competitor review.

1688 Search By Image API FAQ

What does the 1688 Search By Image API return?

Find visually similar 1688 supplier products from an image URL. The documented output includes imageId, totalPage, sourceType, products, offerId, asin, imageUrl, title. It corresponds to the supplied imageUrl, imageBase64, imageId, page, pageSize. Optional fields can be absent; a missing value should not be interpreted as a measured zero. Example values illustrate the response shape, rather than live account results.

How many credits does the 1688 Search By Image API cost?

The current documented cost is Recent 10 credits / call. This is the same cost shown at the top of this page. If a range or estimate is displayed, the final charge depends on the request. Review your available credits and the pricing page before calling the API, and check API usage records for the actual charge.

How do I call the 1688 Search By Image API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/alibaba1688/imageSearch with your API key as a Bearer token and the JSON inputs shown in API integration. In a compatible MCP client such as Claude or Cursor, connect Nexscope and call nexscope_1688_search_by_image. Use the MCP arguments shown in the MCP guide, or switch Online test to MCP to review its request before adding it to your app.

View plans and creditsConnect this API with MCP

Try this API
Endpoint
https://api.nexscope.ai/alibaba1688/imageSearch
MCP method
nexscope_1688_search_by_image

Step 1 of 3 · Authenticate

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .

Step 2 of 3 · Send a request

POSThttps://api.nexscope.ai/alibaba1688/imageSearch

Run an API

Send a JSON request body using the parameters described below.

Example request

Replace YOUR_API_KEY, then run this command in your terminal.

curl -X POST 'https://api.nexscope.ai/alibaba1688/imageSearch' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "filter": "1688Selection,totalEpScoreLv1,qrr0",
  "imageUrl": "https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg",
  "page": 1,
  "pageSize": 20,
  "sort": "{\"price\":\"desc\"}"
}'

Code example

{
  "filter": "1688Selection,totalEpScoreLv1,qrr0",
  "imageUrl": "https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg",
  "page": 1,
  "pageSize": 20,
  "sort": "{\"price\":\"desc\"}"
}

Step 3 of 3 · Inspect the result

Check the response

Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.

HTTP status codes

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing API key (code 11209), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.
All categories/ 1688 Sourcing
POSThttps://api.nexscope.ai/alibaba1688/imageSearch

Run this API

Send a JSON request to execute this API and receive the documented response payload.

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/alibaba1688/imageSearch
AuthBearer API key
Content-Typeapplication/json

Request parameters

NameTypeRequiredDescription
imageUrlstringoptional
Image URL, maximum length 1000; only supports png/jpg/jpeg; choose one of `imageBase64`, `imageId`
imageBase64stringoptional
Pure Base64 encoding, does not contain `data:image/jpeg;base64,` prefix; only supports png/jpg/jpeg; choose one of `imageUrl` and `imageId`
imageIdstringoptional
1688 picture ID; it is recommended to carry `page>1` when paging, which can speed up the response; choose one of three `imageUrl` and `imageBase64`
pageintegeroptional
Page number, starting from 1
Example: 1
pageSizeintegeroptional
The number of products per page cannot exceed 50
Example: 20
priceStartstringoptional
Price filter starting value (RMB), such as `10`
priceEndstringoptional
Price filter end value (RMB), such as `100`
filterstringoptional
Filter conditions, multiple conditions separated by commas; see the table below for valid values
sortstringoptional
JSON format `{sort field: sorting method}`; valid fields are `price`, `monthSold`, `rePurchaseRate`
Example: { "monthSold": "desc" }
keywordstringoptional
Keywords to further search in the results
productCollectionIdstringoptional
Pallet ID, single choice; see the table below for valid values

Response example

Platform response envelope. code 0 indicates success or acceptance; data contains the business result.

No response example is published for this API. Refer to the response fields below.

Response fields

Response field reference (34 fields)

NameTypeRequiredDescription
imageIdstringoptional
The image ID after uploading; returning it during paging query can speed up the process
totalintegeroptional
Quantity of products on this page
totalPageintegeroptional
Total pages
sourceTypestringoptional
Source type, fixed to `1688`
typestringoptional
Rendering style, fixed to `productWorkbenches`
columnsarrayoptional
Render column definition
costTokenintegeroptional
Consume token
productsarrayoptional
Product list, see table below
offerIdstringoptional
Product ID
asinstringoptional
Item number, same as `offerId`
imageUrlstringoptional
Product pictures
titlestringoptional
Product title
pricenumberoptional
Wholesale price (yuan)
consignPricenumberoptional
Price for one piece (yuan)
salesQuantityintegeroptional
Number of pieces sold per month
estimatedSalesAmountnumberoptional
Estimated sales
asinUrlstringoptional
Product link
isOnePsalestringoptional
Whether to ship on behalf of one piece (yes/no)
isJxhystringoptional
Whether to select supply sources (yes/no)
sellerIdentitiesstringoptional
Merchant identity (super factory/powerful merchant/integrity member)
offerIdentitiesstringoptional
Product label (carefully selected)
repurchaseRatestringoptional
Repurchase rate
tradeScorestringoptional
Product Transaction Rating
compositeServiceScorestringoptional
Comprehensive service experience points
sendGoodsAddressTextstringoptional
Place of shipment
deliveryTimestringoptional
Shipping time (24/48 hours)
quantityBeginintegeroptional
Minimum batch size
hasPromotionstringoptional
Is there a marketing campaign (yes/no)
promotionTypestringoptional
marketing type
isPatentProductstringoptional
Is it a patented product (yes/no)
isSelectstringoptional
Cross-Border Select Pallet Identification
currencystringoptional
Currency, fixed to `¥`
sourceTypestringoptional
Source type, fixed to `1688`
dataTypestringoptional
Data type, fixed to `monthlyData`

Responses

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing API key (code 11209), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.

Data source, freshness, and limitations

Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.

Step 1 of 2 · Connect your MCP client

MCP

V2 recommended

Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.

POST https://api.nexscope.ai/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Step 2 of 2 · Call the tool

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_1688_search_by_image",
    "arguments": {
      "imageUrl": "https://m.media-amazon.com/images/I/61v6nYvQ7+L._AC_SL1500_.jpg",
      "page": 1,
      "pageSize": 20
    }
  }
}

Legacy MCP v1

Existing API-key clients can continue using the compatibility endpoint. New integrations should use MCP v2.

GET / POST /mcp/legacy

Data Example

Request parameters

{
  "imageUrl": "https://m.media-amazon.com/images/I/91Vj7W6vdwL.jpg",
  "page": 1,
  "pageSize": 20
}

Response

{
  "code": 0,
  "msg": null,
  "data": {
    "imageId": "1266008871479826766",
    "sourceType": "1688",
    "totalPage": 0,
    "columns": [
      {
        "filterable": true,
        "cellType": "text",
        "field": "dataType",
        "sortable": true,
        "title": "数据类型"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "offerId",
        "sortable": true,
        "title": "商品ID"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "productCode",
        "sortable": true,
        "title": "商品编号(1688 商品 offerId)"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "shopId",
        "sortable": true,
        "title": "店铺ID"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "imageUrl",
        "sortable": true,
        "title": "图片URL"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "availableDate",
        "sortable": true,
        "title": "商品上架时间(格式 yyyy-MM-dd HH:mm:ss,时区 Asia/Shanghai)"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "quantityPrices",
        "sortable": true,
        "title": "价格区间(单位:人民币元,字符串格式,可能为单价或价格区间,按 1688 原始返回)"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "title",
        "sortable": true,
        "title": "商品标题"
      },
      {
        "filterable": true,
        "cellType": "number",
        "field": "price",
        "sortable": true,
        "title": "批发价(单位:元,人民币)"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "deliveryTime",
        "sortable": true,
        "title": "发货时间"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "company",
        "sortable": true,
        "title": "店铺名称"
      },
      {
        "filterable": true,
        "cellType": "number",
        "field": "salesQuantity",
        "sortable": true,
        "title": "销售件数"
      },
      {
        "filterable": true,
        "cellType": "number",
        "field": "salesOrderCount",
        "sortable": true,
        "title": "销售笔数"
      },
      {
        "filterable": true,
        "cellType": "number",
        "field": "estimatedSalesAmount",
        "sortable": true,
        "title": "预估销售额(单位:元,人民币)"
      },
      {
        "filterable": true,
        "cellType": "number",
        "field": "consignPrice",
        "sortable": true,
        "title": "一件代发价(单位:元,人民币)"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "unit",
        "sortable": true,
        "title": "单位"
      },
      {
        "filterable": true,
        "cellType": "number",
        "field": "quantityBegin",
        "sortable": true,
        "title": "起批量"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "levelName",
        "sortable": true,
        "title": "类目层级名称"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "shopUrl",
        "sortable": true,
        "title": "店铺链接地址"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "productUrl",
        "sortable": true,
        "title": "商品链接地址"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "sourceType",
        "sortable": true,
        "title": "数据来源类型"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "currency",
        "sortable": true,
        "title": "币种"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "sourceTool",
        "sortable": true,
        "title": "来源工具"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "isJxhy",
        "sortable": true,
        "title": "是否精选货源"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "repurchaseRate",
        "sortable": true,
        "title": "复购率"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "isOnePsale",
        "sortable": true,
        "title": "是否一件代发"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "sellerIdentities",
        "sortable": true,
        "title": "商家身份标识"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "offerIdentities",
        "sortable": true,
        "title": "商品标"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "tradeScore",
        "sortable": true,
        "title": "商品交易评分"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "isPatentProduct",
        "sortable": true,
        "title": "是否为专利商品"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "modifyDate",
        "sortable": true,
        "title": "商品修改时间(格式 yyyy-MM-dd HH:mm:ss,时区 Asia/Shanghai)"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "isSelect",
        "sortable": true,
        "title": "跨境select货盘标识"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "jxhyPrice",
        "sortable": true,
        "title": "代发精选货源价(单位:人民币元,字符串格式,可能为单价或价格区间,按 1688 原始返回)"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "pfJxhyPrice",
        "sortable": true,
        "title": "批发精选货源价(单位:人民币元,字符串格式,可能为单价或价格区间,按 1688 原始返回)"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "promotionPrice",
        "sortable": true,
        "title": "营销价(单位:人民币元,字符串格式,可能为单价或价格区间,按 1688 原始返回)"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "tradeMedalLevel",
        "sortable": true,
        "title": "卖家交易勋章等级"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "compositeServiceScore",
        "sortable": true,
        "title": "综合服务体验分"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "logisticsExperienceScore",
        "sortable": true,
        "title": "物流体验分"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "disputeComplaintScore",
        "sortable": true,
        "title": "纠纷投诉处理分"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "offerExperienceScore",
        "sortable": true,
        "title": "商品体验分"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "afterSalesExperienceScore",
        "sortable": true,
        "title": "售后体验分"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "consultingExperienceScore",
        "sortable": true,
        "title": "咨询体验分"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "repeatPurchasePercent",
        "sortable": true,
        "title": "重复购买率"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "hasPromotion",
        "sortable": true,
        "title": "是否有营销活动"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "promotionType",
        "sortable": true,
        "title": "营销类型"
      },
      {
        "filterable": true,
        "cellType": "text",
        "field": "sendGoodsAddressText",
        "sortable": true,
        "title": "发货地"
      }
    ],
    "pageItemCount": 0,
    "type": "productWorkbenches",
    "products": []
  }
}

Online test

Execute the current API with your API key and JSON payload. Online tests use this site's configured API environment; the Endpoint and copyable examples use the public integration address.

Recent 10 credits / callAPI usage records

Try it

Send a real request with the same contract shown in the reference.

Endpoint
/alibaba1688/imageSearch
MCP method
nexscope_1688_search_by_image
cURL
curl -X POST \
  https://api.nexscope.ai/alibaba1688/imageSearch \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "filter": "1688Selection,totalEpScoreLv1,qrr0", "imageUrl": "https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg", "page": 1, "pageSize": 20, "sort": "{\"price\":\"desc\"}" }'
Response
No response yet. Run the request to see the response here.

Related APIs