Nexscope

Ruiguan Trademark Graphic Detection API

REST API and MCP service documentation generated from server-side API definitions. Responses use the shared code, msg, and data envelope.

API selector
Patent & IP Risk

API overview

Detect graphic trademarks in product images across 15 major trademark offices using object detection and visual similarity.

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/ruiguan-trademark-graphic-detection/run
MCP method
nexscope_ruiguan_trademark_graphic_detection

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/ruiguan-trademark-graphic-detection/run

Run an API

Request parameters documented by ecommerce.ruiguan-trademark-graphic-detection.

Slugruiguan-trademark-graphic-detection
HeadersAuthorization: Bearer nk-...
Content-Type: application/json
Request bodyAPI-specific JSON object.
Response bodyPlatform envelope: code, msg, data, ts, time, cost, traceId. Inspect data.status for asynchronous completion.

Status codes

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
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/ruiguan-trademark-graphic-detection/run \
  -H "Authorization: Bearer nk-xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "enableRadar": false,   "regions": "US",   "imageUrl": "https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg",   "topNumber": 10,   "enableLocalizing": false }'
All categories/ Patent & IP Risk
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/ruiguan-trademark-graphic-detection/run

Run this API

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

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/api/skill-api/v1/skills/ruiguan-trademark-graphic-detection/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
imageUrlstringrequired
Product image URL or Base64-encoded image data (maximum 1,000 characters)
Example: https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg
topNumberintegerrequired
Maximum number of YOLO bounding boxes to return (default 5, maximum 100). The actual result count may be lower
Example: 1
productTitlestringoptional
Product title used for context-aware detection (maximum 1,000 characters)
trademarkNamestringoptional
Possible graphic-logo name used to narrow the search (maximum 1,000 characters)
regionsstringoptional
Comma-separated country or region codes to inspect. Defaults to all regions.
Available options
  • US (United States)
  • WO (WIPO)
  • ES (Spain)
  • GB (United Kingdom)
  • DE (Germany)
  • IT (Italy)
  • CA (Canada)
  • MX (Mexico)
  • EM (European Union)
  • AU (Australia)
  • FR (France)
  • JP (Japan)
  • TR (Turkey)
  • BX (Benelux)
  • CN (China)
Example: US
enableLocalizingbooleanoptional
Whether to enable image cropping (default false)
Example: false
enableRadarbooleanoptional
Whether to enable radar monitoring (default true)
Example: false

Request example

{
  "enableRadar": false,
  "regions": "US",
  "imageUrl": "https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg",
  "topNumber": 10,
  "enableLocalizing": false
}

Response body

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

Any of option 1

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.boundingBoxCountintegeroptional
Number of detection results
Example: 1
data.data[].radarResultstringoptional
Radar detection result
Example: null
data.totalintegeroptional
Number of records
Example: 1
data.dataarrayoptional
Detection results; see the fields below
Example: []
data.detectIdstringoptional
Detection ID
Example: example-id
data.columnsarrayoptional
Column definitions used for rendering
Example: []
data.costTokenintegeroptional
Tokens consumed
Example: 1
data.typestringoptional
Rendering style
Example: null
data.data[].imagestringoptional
URL of the matched trademark image
Example: https://example.com/image.jpg
data.data[].boundingBoxstringoptional
Comma-separated YOLO coordinates
Example: null
data.data[].subRadarResultstringoptional
Sub-radar detection result
Example: null
data.data[].applicationNumberstringoptional
Application number
Example: null
data.data[].niceClassNamestringoptional
Comma-separated Nice Classification names
Example: null
data.data[].applicantNamestringoptional
Comma-separated rights-holder names
Example: null
data.data[].tradeMarkStatusstringoptional
Trademark status. Values: "DEL", "ended", "registered", "act", "pend", "filed", or an empty string
Example: null
data.data[].niceClassarrayoptional
Nice Classification details
Example: []
data.data[].similaritynumberoptional
Similarity score from 0 to 1; higher values indicate greater similarity
Example: 1
data.data[].registrationNumberstringoptional
Registration number
Example: null
data.data[].registrationOfficeCodestringoptional
Trademark registration office
Example: null
data.data[].registrationDatestringoptional
Registration date
Example: 2026-01-01
data.data[].bidstringoptional
Logo identifier
Example: example-id
data.data[].trademarkNamestringoptional
Text trademark name found in the image
Example: null
data.data[].applicationDatestringoptional
Application date
Example: 2026-01-01
data.titlestringoptional
Provider-specific response title.
Example: null
data.sourceTypestringoptional
Provider-specific source platform type.
Example: null
data.sourceToolstringoptional
Provider-specific source tool name.
Example: null
data.costTimeintegeroptional
Execution time reported by the upstream provider.
Example: null
data.pageintegeroptional
Current page returned by the upstream provider.
Example: null
data.pageSizeintegeroptional
Page size returned by the upstream provider.
Example: null
data.pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
Example: null
data.totalPageintegeroptional
Total page count returned by the upstream provider.
Example: null
data.dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Response example

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

{
  "data": {
    "boundingBoxCount": 1,
    "total": 1,
    "data": [
      {
        "image": "https://example.com/image.jpg",
        "niceClass": [],
        "similarity": 1,
        "registrationDate": "2026-01-01",
        "bid": "example-id",
        "applicationDate": "2026-01-01"
      }
    ],
    "detectId": "example-id",
    "columns": [],
    "costToken": 1
  },
  "code": 0,
  "msg": null,
  "ts": "0",
  "time": "2026-01-01 00:00:00",
  "cost": "-1",
  "traceId": null
}

Responses

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
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_ruiguan_trademark_graphic_detection",
    "arguments": {
      "enableRadar": false,
      "regions": "US",
      "imageUrl": "https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg",
      "topNumber": 10,
      "enableLocalizing": false
    }
  }
}

Online test

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

120 credits / callAPI usage records

Try it

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

Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/ruiguan-trademark-graphic-detection/run
MCP method
nexscope_ruiguan_trademark_graphic_detection
cURL
curl -X POST \
  https://api.nexscope.ai/api/skill-api/v1/skills/ruiguan-trademark-graphic-detection/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "enableRadar": false, "regions": "US", "imageUrl": "https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg", "topNumber": 10, "enableLocalizing": false }'
Response
No response yet. Run the request to see the response here.