https://claw-callback.nexscope.ai/api/skill-api/v1/skills/1688-search-by-image/runRun this API
Send a JSON request to execute this API and receive the direct response payload.
Endpoint
| Method | POST |
| Path | https://claw-callback.nexscope.ai/api/skill-api/v1/skills/1688-search-by-image/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
imageUrl | string | optional | 图片URL地址,请确保图片URL有效且可公开访问。最大长度:1000。仅支持 png/jpg/jpeg 格式,不支持 webp/gif 等。imageUrl/imageBase64/imageId 三选一必填 Example: https://m.media-amazon.com/images/I/61v6nYvQ7+L._AC_SL1500_.jpg |
imageBase64 | string | optional | 图片 Base64 编码字符串,为纯编码内容,不包含 data:image/jpeg;base64, 前缀。仅支持 png/jpg/jpeg 格式(imageUrl为空时使用) |
imageId | string | optional | 图片ID(1688图片ID),以图搜图查询结果中也会返回,建议当分页 page>1 查询时带 imageId,加快响应速度 |
page | integer | optional | 页码,从1开始 Example: 1 |
pageSize | integer | optional | 每页返回的商品数量,最大不超过50 Example: 10 |
priceStart | string | optional | 价格筛选起始值(人民币),如 10 |
priceEnd | string | optional | 价格筛选结束值(人民币),如 100 |
filter | string | optional | 过滤条件,多个条件用逗号分隔。有效值见下方「支持的过滤条件」 |
sort | string | optional | 排序条件,JSON格式 {排序字段: 排序方式}。有效字段:price、rePurchaseRate、monthSold;方式:asc/desc |
keyword | string | optional | 关键词,在结果中搜索 Example: phone case |
productCollectionId | string | optional | 货盘ID,单选。有效值见下方「支持的货盘ID」 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.
| Name | Type | Required | Description |
|---|---|---|---|
imageId | string | optional | 上传后的图片ID(分页查询时回传可加速) Example: example-id |
total | integer | optional | 本页商品数量 Example: 1 |
totalPage | integer | optional | 总页数 Example: 1 |
sourceType | string | optional | 来源类型(固定值 "1688") |
type | string | optional | 渲染样式(固定值 "productWorkbenches") |
columns | array | optional | 渲染列定义 Example: [] |
costToken | integer | optional | 消耗 token Example: 1 |
products | array | optional | 商品列表(详见下方商品字段) Example: [] |
offerId | string | optional | 商品ID Example: example-id |
asin | string | optional | 商品编号(同 offerId) Example: B072MQ5BRX |
imageUrl | string | optional | 商品图片 Example: https://example.com/image.jpg |
title | string | optional | 商品标题 |
price | number | optional | 批发价(元) Example: 1 |
consignPrice | number | optional | 一件代发价(元) Example: 1 |
salesQuantity | integer | optional | 月销售件数 Example: 1 |
estimatedSalesAmount | number | optional | 预估销售额 Example: 1 |
asinUrl | string | optional | 商品链接 Example: B072MQ5BRX |
products[].isOnePsale | string | optional | 是否一件代发(是/否) |
products[].isJxhy | string | optional | 是否精选货源(是/否) |
products[].sellerIdentities | string | optional | 商家身份(超级工厂/实力商家/诚信通会员) |
products[].offerIdentities | string | optional | 商品标(严选) |
products[].repurchaseRate | string | optional | 复购率 |
products[].tradeScore | string | optional | 商品交易评分 |
products[].compositeServiceScore | string | optional | 综合服务体验分 |
products[].sendGoodsAddressText | string | optional | 发货地 |
products[].deliveryTime | string | optional | 发货时间(24/48小时) |
quantityBegin | integer | optional | 起批量 Example: 1 |
products[].hasPromotion | string | optional | 是否有营销活动(是/否) |
products[].promotionType | string | optional | 营销类型 |
products[].isPatentProduct | string | optional | 是否专利商品(是/否) |
products[].isSelect | string | optional | 跨境select货盘标识 |
products[].currency | string | optional | 币种(固定值 "¥") |
sourceTool | string | optional | 来源工具(固定值 "1688以图搜图") |
products[].dataType | string | optional | 数据类型(固定值 "monthlyData") |
errcode | integer | optional | Upstream status code returned by the provider. |
errmsg | string | optional | Upstream status message returned by the provider. |
code | string | optional | Provider-specific status code. |
msg | string | optional | Provider-specific status message. |
message | string | optional | Provider-specific message. |
costTime | integer | optional | Execution time reported by the upstream provider. |
page | integer | optional | Current page returned by the upstream provider. |
pageSize | integer | optional | Page size returned by the upstream provider. |
pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. |
dataSnapshotMonth | string | optional | 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
| Code | Description |
|---|---|
| 200 | API executed successfully. Body is the direct response payload. |
| 400 | Request JSON or required API parameters are invalid. |
| 401 | API key is missing, invalid, or cannot be matched to a user. |
| 5xx | API 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.