https://claw-callback.nexscope.ai/api/skill-api/v1/skills/zhihuiya-utility-patent-image-search/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/zhihuiya-utility-patent-image-search/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
url | string | required | Image URL (maximum 1,000 characters) Example: https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg |
patentType | string | required | Patent type: U for a utility model patent. Default: U Example: U |
model | integer | required | Image-search model. Design patents: 1 (smart association, recommended) or 2 (search this image). Utility model patents: 3 (match shape) or 4 (match shape, pattern, and color; recommended) Example: 4 |
country | string | optional | Patent authority codes for countries, organizations, or regions, separated by commas, for example CN,US,JP. Omit to search all patent authorities |
loc | string | optional | LOC classifications (Locarno classification numbers). Join multiple classifications with AND, OR, or NOT |
legalStatus | string | optional | Comma-separated patent legal-status codes. Values: 1 (published), 2 (substantive examination), 3 (granted), 8 (duplicate-grant avoidance), 11 (withdrawn), 12 (withdrawn-unspecified), 17 (deemed withdrawn), 18 (voluntarily withdrawn), 13 (rejected), 14 (fully revoked), 15 (expired), 16 (annual fee unpaid), 21 (rights restored), 22 (rights terminated), 23 (partially invalid), 24 (application terminated), 30 (abandoned), 19 (deemed abandoned), 20 (voluntarily abandoned), 25 (abandoned-unspecified), 222 (PCT did not enter designated state within designation period), 223 (PCT entered designated state within designation period), 224 (PCT entered designated state after designation period), and 225 (PCT did not enter designated state after designation period) |
simpleLegalStatus | string | optional | Comma-separated simplified patent legal-status codes. Values: 0 (inactive), 1 (active), 2 (pending), 220 (PCT designation period expired), 221 (within PCT designation period), and 999 (unconfirmed) |
assignees | string | optional | Applicant or patent owner (maximum 1,000 characters) |
applyStartTime | string | optional | Patent application start date in yyyyMMdd format |
applyEndTime | string | optional | Patent application end date in yyyyMMdd format |
publicStartTime | string | optional | Patent publication start date in yyyyMMdd format |
publicEndTime | string | optional | Patent publication end date in yyyyMMdd format |
limit | integer | optional | Number of patents to return, from 1 to 100. Default: 10 Example: 5 |
offset | integer | optional | Result offset, from 0 to 1,000. Default: 0 Example: 0 |
field | string | optional | Result sort field: SCORE (relevance), APD (application date), PBD (publication date), or ISD (grant date). Default: SCORE |
order | string | optional | Available when field is APD, PBD, or ISD: desc (descending) or asc (ascending). Default: desc |
lang | string | optional | Preferred title language: original (original patent title), cn (Chinese-translated title), or en (English-translated title). Default: original |
preFilter | integer | optional | Whether to enable country/LOC pre-filtering: 1 for enabled and 0 for disabled. Default: 1 Example: 1 |
stemming | integer | optional | Whether to enable stemming: 1 for enabled and 0 for disabled. Default: 0 Example: 0 |
mainField | string | optional | Primary patent fields, including title, abstract, claims, specification, publication number, application number, applicant, inventor, and IPC/UPC/LOC classifications (maximum 1,000 characters) |
includeMachineTranslation | boolean | optional | Include machine-translated data in the search Example: false |
scoreExpansion | boolean | optional | Score expansion Example: false |
isHttps | integer | optional | Whether to return images over HTTPS: 1 for HTTPS and 0 for HTTP. Default: 0 Example: 1 |
returnImgId | boolean | optional | Whether to return img_id. Default: false Example: false |
Request example
{
"offset": 0,
"stemming": 0,
"limit": 5,
"isHttps": 1,
"preFilter": 1,
"model": 4,
"patentType": "U",
"url": "https://m.media-amazon.com/images/I/719mRAn2VrL._AC_SL1500_.jpg",
"country": "US"
}Response body
Returns the documented upstream API response directly without an additional wrapper.
| Name | Type | Required | Description |
|---|---|---|---|
total | integer | optional | Number of records returned in this response Example: 1 |
allRecordsCount | integer | optional | Total number of matching records in the database Example: 1 |
data | array | optional | Matching patent records Example: [] |
columns | array | optional | Column definitions used for rendering Example: [] |
type | string | optional | Rendering style |
costToken | integer | optional | Tokens consumed Example: 1 |
data[].patentId | string | optional | Similar patent ID Example: example-id |
data[].patentPn | string | optional | Similar patent number |
data[].apno | string | optional | Application number |
data[].title | string | optional | Patent title |
data[].inventor | string | optional | Inventor |
data[].originalAssignee | string | optional | Original assignee |
data[].currentAssignee | string | optional | Current assignee |
data[].authority | string | optional | Patent authority (country code) |
data[].url | string | optional | URL of the similar patent drawing Example: https://example.com/image.jpg |
data[].score | number | optional | Similarity score; higher values indicate greater similarity. Available only when field is SCORE Example: 1 |
data[].loc | array | optional | LOC classification (Locarno classification number) Example: [] |
data[].locMatch | integer | optional | Whether a high-weight LOC class matched: 1 for matched and 0 for not matched. Available only when model=1 and field=SCORE Example: 1 |
data[].apdt | integer | optional | Application date (timestamp) Example: 1 |
data[].pbdt | integer | optional | Publication date (timestamp) Example: 1 |
data[].imgId | string | optional | Patent drawing img_id, returned only when returnImgId is true Example: example-id |
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. |
title | string | optional | Provider-specific response title. |
sourceType | string | optional | Provider-specific source platform type. |
sourceTool | string | optional | Provider-specific source tool name. |
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. |
totalPage | integer | optional | Total page count 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.
{
"total": 1,
"allRecordsCount": 1,
"data": [
{
"patentId": "example-id",
"url": "https://example.com/image.jpg",
"score": 1,
"loc": [],
"locMatch": 1,
"apdt": 1,
"pbdt": 1,
"imgId": "example-id"
}
],
"columns": [],
"costToken": 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.