Monitor and Export API

P055 Create export task by query

Allows to search our global patent repository using the standard PatSnap search query and retrieve the resulting data in bulk. Query syntax can be as simple as a list of keywords or as complex as a 12,000 character boolean query. To find more information about PatSnap search syntax, refer to https://analytics.patsnap.com/search_helper. Allows to select what patent fields should be returned in response to the query and, thus, allows control over the size of the response payload to help optimize performance, fields that are allowed to be exported, the fields and field levels that are allowed to be exported (different levels of fields have different calling fees). please link the <a href="/tutorials/exportFields" target="_blank">export instructions</a>.

post/patent-search/export/V2

Request

Request body

collapse_bystring
<p>"APD" means order according to application date;</p><p>"PBD" means order according to publication date;</p><p>"AUTHORITY" means order according to authority;</p><p>"SCORE" means order according to the relevance score</p>
collapse_orderstring

When collapse_type="APNO", and collapse_by="APD" or "PBD", the collapse_order can be set as "OLDEST" or "LATEST", means keep the patent date of oldest or latest one

collapse_typestring
<p>"ALL" or Null value means no collapse;</p><p>"APNO" means collapse according to application number;</p><p>"DOCDB" means collapse according to simple family;</p><p>"INPADOC" means collapse according to inpadoc family;</p><p>"EXTEND" means collapse according to patsnap family</p>
query_textstring required

Patent search query, detailed syntax reference can be found at https://analytics.patsnap.com/search_helper

fieldsstring required

Fields that are allowed to be exported. See <a href="/devportal/data-reference/export-fields" target="_blank">export instructions</a> for details. Separate multiple export fields in English,.

export_typestring required

File formats that are allowed to be exported. You can choose json, csv, xls, pdf, full_text, xml. Only 1 can be selected.<p>For full_text export type, only the following four fields PN, ABST, CLMS, DESC are supported. The field DESC is only supported by the full_text export type. The field CLMS is only supported by the full_text/pdf export type. Result of the full_text export type is a ZIP file including some xml files named by PN.</p>

rowsinteger required

rows >= 1 , Single maximum export (csv/xls/json/xml: 100k , pdf/full_text: 1k)

apdt_fromstring

Application date start. Format: 'yyyyMMdd', or * means time is unlimited

apdt_tostring

Application date end. Format: 'yyyyMMdd', or * means time is unlimited

pbdt_fromstring

Publication date start. Format: 'yyyyMMdd', or * means time is unlimited

pbdt_tostring

Publication date end. Format: 'yyyyMMdd', or * means time is unlimited

langstring

Select the language , the default language is en, you can choose cn, en, jp, de, fr, kr.

trans_langstring

Select the translation language , the default language is en, you can choose cn, en, jp.

offsetinteger

0 <= rows + offset <= 100000, default is 0 If you want to get patents that are ranked lower than 100, you can set offset=100

stemminginteger
<p>Whether to turn on the stemming function, 1: turn on; 0: turn off. Off by default</p><p>Note: </p><p>Stemming ON will search for the original word and expand the search to consider singular, plural, and tense variations e.g. a search for "come" will expand to "comes", "came", "coming" and so on.</p><p>Stemming OFF will only search for exact matches of the keywords entered.</p><p>The use of wildcards in keywords within a search query will impact the effect of stemming.</p><p>Stemming ON only supports English words. Stemming does not apply to Assignees, Inventors, or any other person-related fields.</p>

Example request

{
  "collapse_by": "PBD",
  "collapse_order": "LATEST",
  "collapse_order_authority": [
    "CN",
    "US",
    "EP",
    "JP",
    "KR"
  ],
  "collapse_type": "DOCDB",
  "query_text": "TTL:car",
  "fields": "PN,APNO",
  "export_type": "csv",
  "rows": 100,
  "apdt_from": "20110101",
  "apdt_to": "20180619",
  "pbdt_from": "20110101",
  "pbdt_to": "20180619",
  "lang": "en",
  "trans_lang": "en"
}

Response

Successful p055 create export task by query response.

statusboolean required

Status

error_msgstring

Error Message

error_codeinteger required

Error Code

Example response

{
  "data": {
    "count": 24,
    "task_id": "b4bdae6b4a65432d91f25b5c52bdfd80"
  },
  "error_msg": "The request parameter format is incorrect!"
}

Changes

No recorded changes to this operation across all 1 revision of this API.