https://api.nexscope.ai/zy/patentImageSearchRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/zy/patentImageSearch |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | required | Image URL, maximum 1,000 characters. |
patentType | string | required | Patent type: `D` (appearance patent) or `U` (utility model patent); the utility model API uses `U` permanently. |
model | integer | required | Appearance patents: `1` (intelligent Lenovo, recommended), `2` (search this picture); utility models: `3` (matching shape), `4` (matching shape/pattern/color, recommended). |
country | string | optional | The country/organization/region code of the patent acceptance office. Multiple ones are separated by English commas; if not passed, it means all the acceptance offices. |
loc | string | optional | LOC classification, multiple classification numbers can be connected using `AND`/`OR`/`NOT`. |
legalStatus | string | optional | Detailed legal status codes, multiple separated by English commas: `1` public, `2` substantive review, `3` authorized, `8` avoid repeated authorization, `11` withdrawn, `12` withdrawn-unspecified type, `17` Withdrawal - deemed withdrawal, `18` withdrawal - active withdrawal, `13` rejection, `14` all withdrawal, `15` expiration of term, `16` unpaid annual fee, `21` rights restoration, `22` rights termination, `23` Partially invalid, `24` application terminated, `30` abandoned, `19` abandoned - deemed abandoned, `20` abandoned - voluntary abandoned, `25` abandoned - unspecified type, `222` PCT did not enter the designated country - within the designated period, `223` PCT Entering the designated country - within the designation period, `224` PCT entering the designated country - the designation period expires, `225` PCT not entering the designated country - the designation period expires. |
simpleLegalStatus | string | optional | Simple legal status: `0` expired, `1` valid, `2` under review, `220` PCT designated expiration, `221` PCT designated period, `999` unconfirmed. |
assignees | string | optional | Applicant (patent rights), maximum 1,000 characters. |
applyStartTime | string | optional | Application start date, format `yyyyMMdd`. |
applyEndTime | string | optional | Application deadline, format `yyyyMMdd`. |
publicStartTime | string | optional | Publication start date, format `yyyyMMdd`. |
publicEndTime | string | optional | Public deadline, format `yyyyMMdd`. |
limit | integer | optional | Returns the number of patents, 1–100. Example: 10 |
offset | integer | optional | Offset, 0–1000. Example: 0 |
field | string | optional | Sorting fields: `SCORE` (relevance), `APD` (application date), `PBD` (publication date), `ISD` (authorization date). Example: SCORE |
order | string | optional | Valid when `field` is a date field: `desc` or `asc`. Example: desc |
lang | string | optional | Title language: `original` (original text), `cn` (Chinese translation), `en` (English translation). Example: original |
preFilter | integer | optional | Whether to enable prefix country/LOC filtering: `1` is on, `0` is off. Example: 1 |
stemming | integer | optional | Whether to turn on truncation: `1` is on, `0` is off. Example: 0 |
mainField | string | optional | Main patent fields, including title, abstract, claims, specification, publication number, application number, applicant, inventor, and IPC/UPC/LOC classification number, maximum 1,000 characters. |
includeMachineTranslation | boolean | optional | Whether the search includes machine translation data. |
scoreExpansion | boolean | optional | Whether to perform score expansion. |
isHttps | integer | optional | Image domain name protocol: `1` returns HTTPS, `0` returns HTTP. Example: 0 |
returnImgId | boolean | optional | Whether to return `imgId`. Example: false |
Code example
{
"country": "CN,US",
"lang": "cn",
"limit": 20,
"model": 1,
"patentType": "D",
"url": "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 (21 fields)
| Name | Type | Required | Description |
|---|---|---|---|
total | integer | optional | The number of records returned this time. |
allRecordsCount | integer | optional | The total number of matching records in the database. |
data | array | optional | List of matching patent records. |
columns | array | optional | Rendered column definitions. |
type | string | optional | Rendering style. |
costToken | integer | optional | Consume token. |
patentId | string | optional | Similar patent ID. |
patentPn | string | optional | Similar patent numbers. |
apno | string | optional | Application number. |
title | string | optional | Patent name. |
inventor | string | optional | Inventor. |
originalAssignee | string | optional | original applicant. |
currentAssignee | string | optional | Current applicants. |
authority | string | optional | Receiving Office country code. |
url | string | optional | Similar patent drawing URL. |
score | number | optional | Similarity score; the higher the score, the more similar it is, only valid when `field=SCORE`. |
loc | array | optional | LOC classification. |
locMatch | integer | optional | Whether to hit high weight LOC: `1` hits, `0` misses; only valid when `model=1` and `field=SCORE`. |
apdt | integer | optional | Application date (timestamp). |
pbdt | integer | optional | Publication date (timestamp). |
imgId | string | optional | Patent drawing `img_id`; returned only if `returnImgId=true`. |
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.