PatentsView-compatible
Patents
Query granted patents with PatentsView's PatentSearch syntax. Same parameters, operators and field names as search.patentsview.org, so existing code keeps working.
Send q, f, s and o as one JSON body with POST, or as JSON-encoded query parameters with GET.
132 of 133 PatentsView fields are served; inventors.inventor_gender_code is not, because PatentsView infers gender from first names. Entity IDs such as inventor_id are our own. All differences
{
"error": false,
"count": 2,
"total_hits": 99,
"patents": [
{
"patent_id": "12756010",
"patent_title": "Method for manufacturing polymer solid electrolyte",
"patent_date": "2026-10-06"
},
{
"patent_id": "12756009",
"patent_title": "Electrolyte material including oxygen-containing neutral electrophilic…",
"patent_date": "2026-10-06"
}
]
}Request body
The query. A field and value matches exactly; combine clauses with _and, _or and _not. Dates use YYYY-MM-DD.
Fields to return. Name a group such as assignees to get all of its fields, or one field such as assignees.assignee_organization.
Sort order, for example [{"patent_date": "desc"}]. Only sortable fields are allowed; end with a unique field to keep paging stable.
sizeRows per page. Default 100, up to 1,000. 0 returns only the count.afterCursor: the last row's sort values, in sort order.offsetSkip rows. Don't combine with after.curl https://api.patentgrep.com/api/v1/patent/ \
-H "X-Api-Key: $PATENTGREP_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": {
"_and": [
{"_text_all": {"patent_title": "solid electrolyte"}},
{"_gte": {"patent_date": "2026-01-01"}}
]
},
"f": ["patent_id", "patent_title", "patent_date"],
"s": [{"patent_date": "desc"}, {"patent_id": "desc"}],
"o": {"size": 2}
}'{
"error": false,
"count": 0,
"total_hits": 602,
"patents": []
}Operators
| Operator | Matches | Fields |
|---|---|---|
_eq _neq | Equal or not equal. A bare value means _eq. | All |
_gt _gte _lt _lte | Greater or less than | Dates, numbers |
_begins | Words starting with the value | Text, names, keywords |
_contains | Words containing the value | Text, names, keywords |
_text_all | Every word, any order | Text, names |
_text_any | At least one word | Text, names |
_text_phrase | The exact phrase | Text, names |
_and _or _not | Combine or negate clauses |
A list of values matches any of them: {"patent_type": ["utility", "design"]}.
{"q": {"_and": [
{"cpc_current.cpc_subclass_id": "H01M"},
{"_text_phrase":
{"patent_abstract": "solid electrolyte"}},
{"_not": {"patent_type": "design"}},
{"_gte": {"patent_date": "2020-01-01"}}
]}}/api/v1/patent/
Rows come back in patents. Without f you get patent_id, patent_title, patent_date. One record by id: GET /api/v1/patent/{patent_id}/.
| Field | Type | Sort | Description |
|---|---|---|---|
patent_id | string | Yes | Patent number. |
patent_title | string | No | Title of patent. |
patent_abstract | string | No | The abstract text of the patent. |
patent_date | date | Yes | Date when patent was granted. |
patent_year | integer | Yes | Year when patent was granted. |
patent_type | string | No | Category of patent. e.g. "utility", "design", etc. |
wipo_kind | string | No | WIPO document kind codes (http://www.uspto.gov/learning-and-resources/support-centers/electronic-business-center/kind-codes-included-uspto-patent). |
withdrawn | boolean | No | Whether a patent has been withdrawn or not. |
gov_interest_statement | string | No | Text of declaration of government interest. |
patent_detail_desc_length | integer | Yes | The Length of the description text in characters. |
patent_earliest_application_date | date | Yes | The earliest filing date among all applications from which the patent claims priority. |
patent_num_us_patents_cited | integer | Yes | Number of U.S. patents referenced (cited) by this patent. |
patent_num_us_applications_cited | integer | Yes | Number of U.S. patent applications referenced (cited) by this patent. |
patent_num_foreign_documents_cited | integer | Yes | Count of foreign patent documents cited by this patent. |
patent_num_total_documents_cited | integer | Yes | Total number of documents cited by the patent, including U.S. and foreign patent references and possibly non-patent literature. |
patent_num_times_cited_by_us_patents | integer | Yes | Number of times subsequent U.S. patents have cited this patent. |
patent_processing_days | integer | Yes | Total days of prosecution from earliest application filing date to the official date of grant. |
patent_term_extension | integer | Yes | An extension to the grant term period in days. |
patent_cpc_current_group_average_patent_processing_days | integer | Yes | Average number of days (from earliest application filing to grant) for patents that share the same current CPC group. |
patent_uspc_current_mainclass_average_patent_processing_days | integer | Yes | Average number of days (from earliest application filing to grant) for patents that share the same current USPC main class. |
application.application_id | string | No | Application id assigned by USPTO. |
application.application_type | string | No | Type or category of the application (e.g., utility, design). |
application.filing_date | date | No | Date the patent application was filed with the USPTO. ISO format: YYYY-MM-DD. |
application.filing_type | string | No | Patent application series code: 01-17 = utility application; 29 = design application; 35 = international design applications; 60-62 = provisional application; 90 = ex parte reexamination request; 95 = inter partes reexamination request; 96 = supplemental examination |
application.rule_47_flag | boolean | No | Flag for inventor who was unable to be contacted at filing of patent. |
application.series_code | string | No | Code representing a group of application serial numbers; "D" for some designs; (http://www.uspto.gov/web/offices/ac/ido/oeip/taf/filingyr.htm). |
applicants.applicant_organization | string | No | Organization name if applicant is an organization. |
applicants.applicant_name_first | string | No | First name, if applicant is an individual. |
applicants.applicant_name_last | string | No | Last name, if applicant is an individual. |
applicants.applicant_type | string | No | Type of applicant (applicant or applicant-inventor). |
applicants.applicant_designation | string | No | Designation of the applicant. |
applicants.applicant_sequence | integer | No | Order of the applicants on the patent application, beginning with zero; values for this field begin at 1. |
applicants.location_id | string | No | Unique location ID. |
assignees.assignee_id | string | No | Unique identifier for the assignee. |
assignees.assignee_organization | string | No | Organization name if assignee is an organization. |
assignees.assignee_individual_name_first | string | No | First name, if assignee is an individual. |
assignees.assignee_individual_name_last | string | No | Last name, if assignee is an individual. |
assignees.assignee_city | string | No | City where the assignee is located. |
assignees.assignee_state | string | No | State where the assignee is located. |
assignees.assignee_country | string | No | Country where the assignee is located. |
assignees.assignee_type | string | No | Classification of assignee (1 - Unassigned, 2 - US Company or Corporation, 3 - Foreign Company or Corporation, 4 - US Individual, 5 - Foreign Individual, 6 - US Federal Government, 7 - Foreign Government, 8 - US County Government, 9 - US State Government. Note: A "1" appearing before any of these codes signifies part interest. |
assignees.assignee_sequence | integer | No | Order in which assignee appears in patent file; values for this field begin at 0. |
inventors.inventor_id | string | No | Unique identifier for the inventor in the database. |
inventors.inventor_name_first | string | No | Inventor’s given (first) name, if an individual. |
inventors.inventor_name_last | string | No | Inventor’s given (last) name, if an individual. |
inventors.inventor_city | string | No | City where the inventor resides or is located. |
inventors.inventor_state | string | No | State where the inventor resides or is located. |
inventors.inventor_country | string | No | Country where the inventor resides or is located. |
inventors.inventor_location_id | string | No | Identifier referencing the inventor’s location record. |
inventors.inventor_sequence | integer | No | Order in which inventor appears in patent file; values for this field begin at 0. |
attorneys.attorney_id | string | No | Unique identifier for the attorney. |
attorneys.attorney_organization | string | No | Name of the organization if the attorney is part of a law firm or company. |
attorneys.attorney_name_first | string | No | First name of the attorney. |
attorneys.attorney_name_last | string | No | Last name of the attorney. |
attorneys.attorney_sequence | integer | No | Order in which the attorney appears in the patent file; the values for this field begin at 0. |
examiners.examiner_id | string | No | Identifier for the examiner. |
examiners.examiner_first_name | string | No | First name of the examiner. |
examiners.examiner_last_name | string | No | Last name of the examiner. |
examiners.examiner_role | string | No | Role of the examiner. |
examiners.art_group | string | No | Art unit, tech center, industry sector, or other grouping of US patent examiners. |
botanic.latin_name | string | No | Latin name of the botanical variety. |
botanic.variety | string | No | Specific variety of the botanical specimen. |
figures.num_figures | integer | No | Number of figures included with patent. |
figures.num_sheets | integer | No | Number of drawing sheets included with patent. |
us_term_of_grant.term_extension | string | No | An extension to the grant term period in days. |
us_term_of_grant.term_grant | string | No | The length of time during which a patent is in force (i.e. the inventor(s) or assignee(s) have exclusive rights to the invention) in years. |
us_term_of_grant.term_disclaimer | string | No | Disclaimer if the patent is subject to a terminal disclaimer. |
us_term_of_grant.disclaimer_date | date | No | Date of the terminal disclaimer. |
cpc_at_issue.cpc_section | string | No | High-level CPC section code. |
cpc_at_issue.cpc_class | string | No | CPC classification code. |
cpc_at_issue.cpc_class_id | string | No | ID for the CPC class. |
cpc_at_issue.cpc_subclass | string | No | CPC “subclass” symbol. |
cpc_at_issue.cpc_subclass_id | string | No | ID for the CPC subclass. |
cpc_at_issue.cpc_group | string | No | CPC “group” symbol for further subdivision. |
cpc_at_issue.cpc_group_id | string | No | ID for the CPC group. |
cpc_at_issue.cpc_sequence | integer | No | Order in which cpc class appears in patent file; values for this field begin at 0. |
cpc_at_issue.cpc_type | string | No | CPC category (inventional or additional). |
cpc_current.cpc_section | string | No | High-level CPC section code. |
cpc_current.cpc_class | string | No | CPC “class” symbol. |
cpc_current.cpc_class_id | string | No | ID for the CPC class. |
cpc_current.cpc_subclass | string | No | CPC “subclass” symbol. |
cpc_current.cpc_subclass_id | string | No | ID for the CPC subclass. |
cpc_current.cpc_group | string | No | ID for the CPC group. |
cpc_current.cpc_group_id | string | No | ID for the CPC group. |
cpc_current.cpc_sequence | integer | No | Order in which cpc class appears in patent file; values for this field begin at 0. |
cpc_current.cpc_type | string | No | CPC category (inventional or additional). |
ipcr.ipc_id | string | No | PatentsView-internal ID for the IPC entry. |
ipcr.ipc_section | string | No | Top-level IPC section (A–H). |
ipcr.ipc_class | string | No | Class portion of the International Patent Classification. |
ipcr.ipc_subclass | string | No | Specific subclass symbol within the section (e.g., G06). |
ipcr.ipc_main_group | string | No | Main group code in the IPC subclass level (e.g., G06F 3/00). |
ipcr.ipc_subgroup | string | No | Detailed subgroup code (e.g., 3/06). |
ipcr.ipc_symbol_position | string | No | Indicates whether the classification is the primary (invention) or secondary (additional). |
ipcr.ipc_classification_value | string | No | Additional classification value or level of detail. |
ipcr.ipc_classification_data_source | string | No | Source of the IPC classification data. |
ipcr.ipc_action_date | date | No | Date associated with the IPC classification event. |
ipcr.ipc_sequence | integer | No | Order in which ipc class appears in patent file; values for this field begin at 0. |
uspc_at_issue.uspc_mainclass | string | No | An API request URL for additional details of this mainclass. |
uspc_at_issue.uspc_mainclass_id | string | No | The code for the main U.S. Patent Classification at issue. |
uspc_at_issue.uspc_subclass | string | No | An API request URL for additional details of this subclass. |
uspc_at_issue.uspc_subclass_id | string | No | The subclass portion of the U.S. classification. |
uspc_at_issue.uspc_sequence | integer | No | Order in which uspc class appears in patent file; values for this field begin at 0. |
wipo.wipo_field | string | No | An API request URL for additional details of this WIPO technology field. |
wipo.wipo_field_id | string | No | The code identifying the WIPO technology field. |
wipo.wipo_sequence | integer | No | Order in which WIPO technology field appears on patent; values for this field begin at 0. |
foreign_priority.priority_claim_sequence | integer | No | Order in which priority claims appear in patent file; values for this field begin at 0. |
foreign_priority.priority_claim_kind | string | No | Type of priority claim (international, national, regional). |
foreign_priority.foreign_application_id | string | No | Foreign patent application number. |
foreign_priority.filing_date | date | No | Filing date of the foreign priority application. |
foreign_priority.foreign_country_filed | string | No | Country code for the country in which patent was originally filed. (ISO 3166-1 alpha-2 codes) |
pct_data.pct_doc_type | string | No | Whether the document has been published or just filed. |
pct_data.pct_doc_number | string | No | ID of pct patent. |
pct_data.application_kind | string | No | Kind of application (numerical for filed, alphabetical for published). |
pct_data.published_filed_date | date | No | Date the PCT application was published. |
pct_data.pct_371_date | date | No | Date of entering the national stage under 35 U.S.C. 371. |
pct_data.pct_102_date | date | No | Effective date for 35 U.S.C. 102(e) prior art under the PCT process. |
us_related_documents.related_doc_sequence | integer | No | Order in which the related document appears in patent file; values for this field begin at 0. |
us_related_documents.related_doc_type | string | No | Defines the type of documentation. |
us_related_documents.related_doc_kind | string | No | Kind of document. |
us_related_documents.related_doc_number | string | No | Related document number. |
us_related_documents.published_country | string | No | Country where related document was published. |
us_related_documents.related_doc_published_date | date | No | Publication date of the related document. |
us_related_documents.related_doc_status | string | No | Status of related document. |
us_related_documents.wipo_kind | string | No | WIPO document kind codes (http://www.uspto.gov/learning-and-resources/support-centers/electronic-business-center/kind-codes-included-uspto-patent) . |
gov_interest_organizations.fedagency_name | string | No | Name of Federal department, agency, bureau, etc. |
gov_interest_organizations.level_one | string | No | The position of the focal agency in a hierarchical set of relationships with the parent agency (e.g., DHHS) at level_one and child agencies at lower levels (e.g., NIH at level_two and NIDA at level_three). Government_organization.name is equal to one and only one of the values in level_one, level_two, and level_three. |
gov_interest_organizations.level_two | string | No | The position of the focal agency in a hierarchical set of relationships with the parent agency (e.g., DHHS) at level_one and child agencies at lower levels (e.g., NIH at level_two and NIDA at level_three). Government_organization.name is equal to one and only one of the values in level_one, level_two, and level_three. |
gov_interest_organizations.level_three | string | No | The position of the focal agency in a hierarchical set of relationships with the parent agency (e.g., DHHS) at level_one and child agencies at lower levels (e.g., NIH at level_two and NIDA at level_three). Government_organization.name is equal to one and only one of the values in level_one, level_two, and level_three. |
gov_interest_contract_award_numbers.award_number | string | No | Federal contract award number. |
granted_pregrant_crosswalk.application_number | string | No | The ID for the patent application corresponding to this patent. |
granted_pregrant_crosswalk.document_number | string | No | The numeric ID for the pre-grant publication of the application corresponding to this patent. |
inventors.inventor_gender_code | string | No | A code representing the most likely gender of the inventor, based on the individual's name and country of residence. (F = female, M = male, U = no gender attributed) |
curl https://api.patentgrep.com/api/v1/patent/ \
-H "X-Api-Key: $PATENTGREP_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": {"patent_id": "10000000"},
"f": ["patent_id", "patent_title", "patent_date"],
"s": [{"patent_id": "asc"}],
"o": {"size": 25}
}'Paging with a cursor
Cursors stay fast however deep you page, and don't skip or repeat rows.
- Sort by the fields you want, ending with
patent_idso ties are broken. - Take the last row's values for those fields, in sort order.
- Send the same
qandswith those values ino.after. - Stop when a page has fewer rows than
o.size.
{
"q": {"_gte": {"patent_date": "2026-01-01"}},
"s": [{"patent_date": "desc"}, {"patent_id": "desc"}],
"o": {"size": 2, "after": ["2026-10-06", "12756009"]}
}