https://api.nexscope.ai/rg/gunPartsSearchRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/rg/gunPartsSearch |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
imageUrl | string | required | Product image URL to be detected, maximum length 1000 characters |
Code example
{
"imageUrl": "https://example.com/product-image.jpg"
}Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}Response fields
Response field reference (10 fields)
| Name | Type | Required | Description |
|---|---|---|---|
total | integer | optional | Number of records |
data | array | optional | List of detected policy violating products (see element fields below for details) |
detectId | string | optional | Test record ID |
columns | array | optional | Rendered columns |
costToken | integer | optional | Consume token |
type | string | optional | Rendering style |
pdImgOssUrl | string | optional | Matched offending product image URL |
cosine | number | optional | Detect similarity between products and illegal products |
pdTitle | string | optional | Matched offending product titles |
pdTitleCHNCensored | string | optional | Matched Chinese title of the illegal product |
Responses
| Code | Description |
|---|---|
| 200 | HTTP request completed. Check JSON code; only 0 indicates business success or acceptance. |
| 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.