1688 Search By Image API

REST API and MCP service documentation generated from server-side API definitions. Responses shown here are the direct payload returned by each API execution.

API selector
1688 Sourcing

API overview

Find visually similar 1688 supplier products from an image URL, including price, minimum order quantity, sales, supplier, and trade data.

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/1688-search-by-image/run
MCP method
nexscope_1688_search_by_image

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 .
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/1688-search-by-image/run

Run an API

Request parameters documented by ecommerce.1688-search-by-image.

Slug1688-search-by-image
HeadersAuthorization: Bearer nk_...
Content-Type: application/json
Request bodyAPI-specific JSON object.
Response bodyDirect API response payload. No data/result wrapper is added.

Status codes

CodeDescription
200API executed successfully. Body is the direct response payload.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

Example request

curl -X POST https://api.nexscope.ai/api/skill-api/v1/skills/1688-search-by-image/run \
  -H "Authorization: Bearer nk_xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "pageSize": 10,   "imageUrl": "https://m.media-amazon.com/images/I/61v6nYvQ7+L._AC_SL1500_.jpg",   "page": 1 }'
All categories/ 1688 Sourcing
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/1688-search-by-image/run

Run this API

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

Open tester

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/api/skill-api/v1/skills/1688-search-by-image/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
imageUrlstringoptional
Valid, publicly accessible image URL (maximum 1,000 characters). Supported formats: PNG, JPG, and JPEG; WEBP and GIF are not supported. Provide exactly one of imageUrl, imageBase64, or imageId
Example: https://m.media-amazon.com/images/I/61v6nYvQ7+L._AC_SL1500_.jpg
imageBase64stringoptional
Raw Base64-encoded image content without a data:image/jpeg;base64, prefix. Supported formats: PNG, JPG, and JPEG.
imageIdstringoptional
1688 image ID. Image-search results also return this value; include it when page is greater than 1 to improve response time
pageintegeroptional
Page number starting from 1
Example: 1
pageSizeintegeroptional
Number of products per page, maximum 50
Example: 10
priceStartstringoptional
Minimum price in CNY, for example 10
priceEndstringoptional
Maximum price in CNY, for example 100
filterstringoptional
Comma-separated filter conditions. Use the supported filter values documented for this endpoint
sortstringoptional
Sort condition as JSON in the form {field: direction}. Fields: price, rePurchaseRate, or monthSold. Directions: asc or desc
keywordstringoptional
Keyword used to search within the results
Example: phone case
productCollectionIdstringoptional
Single product-collection ID. Use a supported collection ID documented for this endpoint
Example: example-id

Request example

{
  "pageSize": 10,
  "imageUrl": "https://m.media-amazon.com/images/I/61v6nYvQ7+L._AC_SL1500_.jpg",
  "page": 1
}

Response body

Returns the documented upstream API response directly without an additional wrapper.

NameTypeRequiredDescription
imageIdstringoptional
Uploaded image ID; send it with paginated requests to improve response time
Example: example-id
totalintegeroptional
Number of products on this page
Example: 1
totalPageintegeroptional
Total number of pages
Example: 1
sourceTypestringoptional
Source type; fixed value "1688"
typestringoptional
Rendering style; fixed value "productWorkbenches"
columnsarrayoptional
Column definitions used for rendering
Example: []
costTokenintegeroptional
Tokens consumed
Example: 1
productsarrayoptional
Product list; see the product fields below
Example: []
offerIdstringoptional
Product ID
Example: example-id
asinstringoptional
Product identifier, same as offerId
Example: B072MQ5BRX
imageUrlstringoptional
Product image URL
Example: https://example.com/image.jpg
titlestringoptional
Product title
pricenumberoptional
Wholesale price in CNY
Example: 1
consignPricenumberoptional
Single-item dropshipping price in CNY
Example: 1
salesQuantityintegeroptional
Monthly units sold
Example: 1
estimatedSalesAmountnumberoptional
Estimated sales revenue
Example: 1
asinUrlstringoptional
Product URL
Example: B072MQ5BRX
products[].isOnePsalestringoptional
Whether single-item dropshipping is available
products[].isJxhystringoptional
Whether the product is a selected supply source
products[].sellerIdentitiesstringoptional
Seller identities, such as Super Factory, Verified Supplier, or TrustPass member
products[].offerIdentitiesstringoptional
Product badge, such as Strict Selection
products[].repurchaseRatestringoptional
Repurchase rate
products[].tradeScorestringoptional
Product transaction score
products[].compositeServiceScorestringoptional
Composite service-experience score
products[].sendGoodsAddressTextstringoptional
Dispatch location
products[].deliveryTimestringoptional
Dispatch time, such as 24 or 48 hours
quantityBeginintegeroptional
Minimum order quantity
Example: 1
products[].hasPromotionstringoptional
Whether a promotion is active
products[].promotionTypestringoptional
Promotion type
products[].isPatentProductstringoptional
Whether the product is patented
products[].isSelectstringoptional
Cross-border Select collection indicator
products[].currencystringoptional
Currency; fixed value "¥"
sourceToolstringoptional
Source tool; fixed value identifying 1688 image search
products[].dataTypestringoptional
Data type; fixed value "monthlyData"
errcodeintegeroptional
Upstream status code returned by the provider.
errmsgstringoptional
Upstream status message returned by the provider.
codestringoptional
Provider-specific status code.
msgstringoptional
Provider-specific status message.
messagestringoptional
Provider-specific message.
costTimeintegeroptional
Execution time reported by the upstream provider.
pageintegeroptional
Current page returned by the upstream provider.
pageSizeintegeroptional
Page size returned by the upstream provider.
pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.

Response example

Direct response payload. No extra wrapper is added.

{
  "imageId": "example-id",
  "total": 1,
  "totalPage": 1,
  "columns": [],
  "costToken": 1,
  "products": [],
  "offerId": "example-id",
  "asin": "B072MQ5BRX",
  "imageUrl": "https://example.com/image.jpg",
  "price": 1,
  "consignPrice": 1,
  "salesQuantity": 1,
  "estimatedSalesAmount": 1,
  "asinUrl": "B072MQ5BRX",
  "quantityBegin": 1
}

Responses

CodeDescription
200API executed successfully. Body is the direct response payload.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

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.

Related APIs

MCP

Use the MCP endpoint when an agent needs to discover and call API tools with JSON-RPC.

GET /api/skill-api/v1/mcp
POST /api/skill-api/v1/mcp
Authorization: Bearer nk_xxxxxxxxxxxxxxxxx
Content-Type: application/json

Call a tool

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

Online test

Execute the current API with your API key and JSON payload.

Try it

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

Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/1688-search-by-image/run
MCP method
nexscope_1688_search_by_image
cURL
curl -X POST \
  https://api.nexscope.ai/api/skill-api/v1/skills/1688-search-by-image/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "pageSize": 10, "imageUrl": "https://m.media-amazon.com/images/I/61v6nYvQ7+L._AC_SL1500_.jpg", "page": 1 }'
Response
No response yet. Run the request to see the response here.