https://api.nexscope.ai/api/skill-api/v1/skills/reverse-product-image-search/runRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/api/skill-api/v1/skills/reverse-product-image-search/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
imageUrl | string | required | Publicly accessible product image URL. Example: https://m.media-amazon.com/images/I/31SkgVLWSuL._SL75_.jpg |
amazonDomain | string | required | Amazon marketplace domain. Example: amazon.com |
topN | integer | optional | Maximum number of ranked matches to return after enrichment. Example: 20 |
sort | string | optional | Optional provider sort mode. Example: rating-desc-rank |
Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {
"caveats": [],
"matches": [
{
"asin": "B072MQ5BRX",
"estimatedMonthlySales": 1200,
"imageUrl": "https://example.com/image.jpg",
"price": 29.99,
"rank": 1,
"rating": 4.5,
"title": "Example product"
}
],
"query": {}
},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}Response fields
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
data | any | required | Data value used by this API operation. |
msg | string | null | required | Msg value used by this API operation. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
traceId | string | null | required | Trace id value used by this API operation. |
ts | string | required | Epoch milliseconds. |
Any of option 1 — requires query, matches
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.caveats | array | optional | Limits on image similarity and provider estimates. Example: [] |
data.costTime | integer | optional | Execution time reported by the upstream provider. Example: null |
data.costToken | integer | optional | Token cost reported by the upstream provider. Example: null |
data.dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. Example: null |
data.matches | array | required | Visually similar Amazon products, optionally enriched with marketplace metrics. Example: [] |
data.matches[] | object | required | Item in data matches. |
data.matches[].asin | string | optional | Amazon product ASIN. Example: B072MQ5BRX |
data.matches[].estimatedMonthlySales | integer | optional | Provider-estimated monthly sales when available. Example: 1200 |
data.matches[].imageUrl | string | optional | Matched product image URL. Example: https://example.com/image.jpg |
data.matches[].price | number | optional | Current marketplace price. Example: 29.99 |
data.matches[].rank | integer | optional | Backend-normalized result rank. Example: 1 |
data.matches[].rating | number | optional | Amazon rating. Example: 4.5 |
data.matches[].title | string | optional | Product title. Example: Example product |
data.page | integer | optional | Current page returned by the upstream provider. Example: null |
data.pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. Example: null |
data.pageSize | integer | optional | Page size returned by the upstream provider. Example: null |
data.query | object | required | Normalized image-search query. Example: {} |
data.sourceTool | string | optional | Provider-specific source tool name. Example: null |
data.sourceType | string | optional | Provider-specific source platform type. Example: null |
data.title | string | optional | Provider-specific response title. Example: null |
data.totalPage | integer | optional | Total page count returned by the upstream provider. Example: null |
data.type | string | optional | Provider-specific render or payload type. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
Responses
| Code | Description |
|---|---|
| 200 | Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result. |
| 429 | Execution admission rate limit; honor Retry-After when present. |
| 503 | Execution admission is temporarily unavailable; honor Retry-After when present. |
| Opt-in | X-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.