Nexscope

Product Image Similarity Groups API

Group products from a prior query by main-image similarity and review each group with its reason and ASINs through Nexscope.

CostAt least 10 credits / call
Try online
POST · https://api.nexscope.ai/multimodal/analyzeProductSimilarityMCP · nexscope_data_product_image_similarity

What this API does

Group products from a prior query by main-image similarity and review each group with its reason and ASINs through Nexscope. The request accepts similarityThreshold, includeSingleBrandGroups, refResultData, userInput. Its documented result includes analysisInfo, groups.

Product Image Similarity Groups API API use cases

Inspect a candidate product

To inspect a candidate product, a marketplace analyst submits similarityThreshold and includeSingleBrandGroups to Product Image Similarity Groups API. The returned analysisInfo, groups help inspect the documented attributes of the candidate product.

Compare listing details

A marketplace analyst uses Product Image Similarity Groups API with similarityThreshold and includeSingleBrandGroups to compare listing details. The returned analysisInfo, groups help compare product details with another shortlisted listing.

Prepare product evidence for a sourcing review

For this workflow, a marketplace analyst calls Product Image Similarity Groups API with similarityThreshold and includeSingleBrandGroups to prepare product evidence for a sourcing review. The result helps record product facts before a sourcing discussion.

Product Image Similarity Groups API API FAQ

What does the Product Image Similarity Groups API API return?

Group products from a prior query by main-image similarity and review each group with its reason and ASINs through Nexscope. The documented output includes analysisInfo, groups. It corresponds to the supplied similarityThreshold, includeSingleBrandGroups, refResultData, userInput. 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 Product Image Similarity Groups API API cost?

The current documented cost is At least 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 Product Image Similarity Groups API API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/multimodal/analyzeProductSimilarity 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_data_product_image_similarity. 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/multimodal/analyzeProductSimilarity
MCP method
nexscope_data_product_image_similarity

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/multimodal/analyzeProductSimilarity

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/multimodal/analyzeProductSimilarity' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "includeSingleBrandGroups": true,
  "refResultData": "[{\"role\":\"tool\",\"responses\":[{\"responseData\":{\"products\":[{\"asin\":\"B000000001\",\"imageUrl\":\"https://example.com/one.jpg\",\"brand\":\"Brand A\"},{\"asin\":\"B000000002\",\"imageUrl\":\"https://example.com/two.jpg\",\"brand\":\"Brand B\"}]}}]}]",
  "similarityThreshold": 60,
  "userInput": "Group products by main-image similarity"
}'

Code example

{
  "includeSingleBrandGroups": true,
  "refResultData": "[{\"role\":\"tool\",\"responses\":[{\"responseData\":{\"products\":[{\"asin\":\"B000000001\",\"imageUrl\":\"https://example.com/one.jpg\",\"brand\":\"Brand A\"},{\"asin\":\"B000000002\",\"imageUrl\":\"https://example.com/two.jpg\",\"brand\":\"Brand B\"}]}}]}]",
  "similarityThreshold": 60,
  "userInput": "Group products by main-image similarity"
}

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 or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), 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/ Amazon Public Marketplace Data
POSThttps://api.nexscope.ai/multimodal/analyzeProductSimilarity

Run this API

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

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/multimodal/analyzeProductSimilarity
AuthBearer API key
Content-Typeapplication/json

Request parameters

NameTypeRequiredDescription
similarityThresholdintegeroptional
Similarity threshold from 0 to 100; default 60.
Example: 60
includeSingleBrandGroupsbooleanoptional
Include groups containing only one brand; default true.
Example: true
refResultDatastringrequired
JSON string containing a root array with a role=tool message, responses[], and responseData.products[] or responseData.tables[].data[]. At least one product needs a nonblank imageUrl (or image_url when imageUrl is absent); asin and brand are optional. Maximum 2024000 characters.
Example: [{"role":"tool","responses":[{"responseData":{"products":[{"asin":"B000000001","imageUrl":"https://example.com/one.jpg"}]}}]}]
userInputstringoptional
Original analysis request; maximum 10000000 characters.
Example: Group products by main-image similarity

Response example

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

{
  "code": 0,
  "cost": "-1",
  "data": {
    "analysisInfo": {
      "analysisTimestamp": "2026-11-12T00:00:00Z",
      "similarityThreshold": 0.6,
      "totalGroupsFound": 1,
      "totalProductsAnalyzed": 2
    },
    "costToken": 100,
    "groups": [
      {
        "asins": [
          {
            "asin": "B000000001",
            "brand": "Brand A"
          },
          {
            "asin": "B000000002",
            "brand": "Brand B"
          }
        ],
        "brandCount": 2,
        "groupNumber": 1,
        "reason": "Similar main images"
      }
    ]
  },
  "msg": null,
  "time": "2026-01-01 00:00:00",
  "traceId": null,
  "ts": "0"
}

Response fields

NameTypeRequiredDescription
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
dataanyrequired
Data value used by this API operation.
msgstring | nullrequired
Msg value used by this API operation.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds.

Any of option 1

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.analysisInfoanyoptional
Analysis info value used by this API operation.
data.costTokenanyoptional
Cost token value used by this API operation.
data.groupsanyoptional
Groups value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.analysisInfoobjectoptional
Analysis info value used by this API operation.

Any of option 2

NameTypeRequiredDescription
data.analysisInfonulloptional
Analysis info value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.costTokenintegeroptional
Cost token value used by this API operation.

Any of option 2

NameTypeRequiredDescription
data.costTokennulloptional
Cost token value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.groupsarrayoptional
Groups value used by this API operation.

Any of option 2

NameTypeRequiredDescription
data.groupsnulloptional
Groups value used by this API operation.

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

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 or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), 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_data_product_image_similarity",
    "arguments": {
      "includeSingleBrandGroups": true,
      "refResultData": "[{\"role\":\"tool\",\"responses\":[{\"responseData\":{\"products\":[{\"asin\":\"B000000001\",\"imageUrl\":\"https://example.com/one.jpg\",\"brand\":\"Brand A\"},{\"asin\":\"B000000002\",\"imageUrl\":\"https://example.com/two.jpg\",\"brand\":\"Brand B\"}]}}]}]",
      "similarityThreshold": 60,
      "userInput": "Group products by main-image similarity"
    }
  }
}