|
and Register
Home
Contact Us

Patent Basic Data [P021]Abstract Image

[P021]Abstract ImagePublicV1
Receive patent abstract image data (the image from front page) by patent_id or patent_number. Patent abstract data includes abstract image number and abstract image URL path.
Note: The API supports batch requests with a maximum of 100 patents, and more patent id or patent number are separated with English comma. Batch requests are deducted from traffic/costs, and will be deducted multiple times based on the number of successful results returned. The path is valid for 9 hour and will be emptied after expiration.

Basic Information

Resource URL: /basic-patent-data/abstract-image

Request Mode: get

Return Format: application/json

The API can only be called after logging in, click to log in

API Description Document Download

Request Parameters

query
ParameterTypeRequiredDescriptionSample
patent_idstringfalse
patent_id
077f4978-092c-4522-bc98-e8257a5c99f9,6e5c550d-28d6-4cf1-a265-b5488996b641,52ee4f52-3edc-4e41-854e-c76dd8b7d14f
patent_numberstringfalse
patent_number
CN3307359D,CN303649457S,CN104169186A

Request Sample

  • Curl
  • NodeJs
  • Python
  • Java
curl -X GET "https://connect.patsnap.com/basic-patent-data/abstract-image?patent_id=077f4978-092c-4522-bc98-e8257a5c99f9%2C6e5c550d-28d6-4cf1-a265-b5488996b641%2C52ee4f52-3edc-4e41-854e-c76dd8b7d14f&patent_number=CN3307359D%2CCN303649457S%2CCN104169186A&apikey="
-H "Content-Type:application/json"
-H "authorization:Bearer {token}"
const axios = require('axios');
const options = {
    url: "https://connect.patsnap.com/basic-patent-data/abstract-image",
    method: "GET",
    headers: {
        'Content-Type': 'application/json',
        'authorization': 'Bearer {token}',
    },
    params: {
        'patent_id': '077f4978-092c-4522-bc98-e8257a5c99f9,6e5c550d-28d6-4cf1-a265-b5488996b641,52ee4f52-3edc-4e41-854e-c76dd8b7d14f',
        'patent_number': 'CN3307359D,CN303649457S,CN104169186A',
        'apikey': '',
    },
};
axios(options).then(res => {
    console.log(res.data)
}).catch(err => {
    console.log(err)
})
import requests
url = "https://connect.patsnap.com/basic-patent-data/abstract-image"

params = {
    "patent_id": "077f4978-092c-4522-bc98-e8257a5c99f9,6e5c550d-28d6-4cf1-a265-b5488996b641,52ee4f52-3edc-4e41-854e-c76dd8b7d14f",
    "patent_number": "CN3307359D,CN303649457S,CN104169186A",
    "apikey": ""
}

payload = None

headers = {
    "Content-Type": "application/json",
    "authorization": "Bearer {token}"
}

response = requests.request("GET", url, params=params, data=payload, headers=headers)

print(response.text)
public static void main(String[] args) {
    String host = "https://connect.patsnap.com";
    String path = "/basic-patent-data/abstract-image";

    Map headers = new HashMap();
    headers.put("Content-Type", "application/json");
    headers.put("authorization", "Bearer {token}");

    Map querys = new HashMap();
    querys.put("patent_id", "077f4978-092c-4522-bc98-e8257a5c99f9,6e5c550d-28d6-4cf1-a265-b5488996b641,52ee4f52-3edc-4e41-854e-c76dd8b7d14f");
    querys.put("patent_number", "CN3307359D,CN303649457S,CN104169186A");
    querys.put("apikey", "");
    try {
        /**
        * Important Tips:
        * Please Download HttpUtils From
        * https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/src/main/java/com/aliyun/api/gateway/demo/util/HttpUtils.java
        *
        * Please refer to the corresponding dependence:
        * https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/pom.xml
        */
        HttpResponse response = HttpUtils.doGet(host, path, null, headers, querys);
        System.out.println(EntityUtils.toString(response.getEntity()));
    } catch (Exception e) {
        e.printStackTrace();
    }
}
Copy

Response Parameters

CommonResponse
ParameterTypeRequiredDescriptionSample
data
arrayfalse
response data
no sample
status
booleantrue
Status
false
error_msg
stringfalse
Error Message
The request parameter format is incorrect!
error_code
integertrue
Error Code
0
PatentAbstractImageResponse
ParameterTypeRequiredDescriptionSample
pn
stringfalse
patent number
US11205304B2
patent_id
stringfalse
patent id
718ead9c-4f3c-4674-8f5a-24e126827269
abstract_drawing
objectfalse
abstract drawing
Please check the form: AbstractDrawing
AbstractDrawing
ParameterTypeRequiredDescriptionSample
num
stringfalse
abstract drawing sequence
0001
path
stringfalse
abstract drawing path
https://patsnap-image.cdn.zhihuiya.com/CN/D/33/07/35/9/00000001_0001.png?response-content-disposition=attachment%3Bfilename%2A%3DUTF-8%27%2700000001_0001.png&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20210929T071822Z&X-Amz-SignedHeaders=host&X-Amz-Expires=10800&X-Amz-Credential=AKIAOCKXBMBTRQNHGHMQ%2F20210929%2Fcn-northwest-1%2Fs3%2Faws4_request&X-Amz-Signature=320aeb0eec505670317e998e0635ff01dbca3ea434aa97c7fa744cbb050e24f3

Response Error Details

error_codeDescription
0Success
401Unauthorized
403Forbidden
404Not Found
68300004Invalid parameter!
68300005Search api failure!
68300006Analytic basic access error!
68300007Bad request!
68300008Service error, please try again later!
68300010The file does not comply with upload specifications!
67200001API call exceeds the total limit set by the platform!
67200002Quota exceeds the limit!
67200003Access token expired or authentication error!
67200004No permission or API package quota has exceeded the limit!
67200005Insufficient balance, call failed!
67200006This client has expired and call failed!
67200007Exceeded the call limit, call failed!

Response Body

  • json
{
    "data": [
        {
            "pn": "US11205304B2",
            "patent_id": "718ead9c-4f3c-4674-8f5a-24e126827269",
            "abstract_drawing": {
                "num": "0001",
                "path": "https://patsnap-image.cdn.zhihuiya.com/CN/D/33/07/35/9/00000001_0001.png?response-content-disposition=attachment%3Bfilename%2A%3DUTF-8%27%2700000001_0001.png&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20210929T071822Z&X-Amz-SignedHeaders=host&X-Amz-Expires=10800&X-Amz-Credential=AKIAOCKXBMBTRQNHGHMQ%2F20210929%2Fcn-northwest-1%2Fs3%2Faws4_request&X-Amz-Signature=320aeb0eec505670317e998e0635ff01dbca3ea434aa97c7fa744cbb050e24f3"
            }
        }
    ],
    "status": true,
    "error_code": 0
}
Copy
[P020]PDF
[P041]Simple Legal Status