Data Update: 2/5/2025
The PatentSearch API is updated to contain data through 12/31/2024.
Default sorting behavior reverted and pad_patent_id option added
This update reverses the change to default sorting behavior that was introduced in v2.2.0, based on user feedback that this change created difficulty and opacity with the intended function of the pagination features.
The v2.2.0 update included an adjustment to the way results sorted on the field "patent_id" were ordered. Patents with IDs shorter than 8 characters were front-padded with zeroes during sorting so that numerically smaller IDs would always be sorted before numerically larger IDs. The copy of patent_id displayed in the query results was left unpadded for consistency with other PatentsView and USPTO data products. However, this mismatch between the padded sorting version and the unpadded display version of patent_id, along with insufficient communication about this change, created unnecessary complication with using the "after" option for pagination.
In this new update, all instances of patent_id will be unpadded by default, and a new optional "options" parameter "pad_patent_id"
is provided to users on endpoints that include patent_id as a field. This option is treated as false
by default, and users may set this option to true
to obtain the more intiutive numeric sorting behavior and simultaneously set the query interpreter and results formatter to use the padded form of the patent_id to facilitate pagination.
For more details, please see our updated Options documentation
Withdrawn patents now hidden by default in the patents endpoint
Data for withdrawn patents can be shown by setting the new optional "options" parameter "exclude_withdrawn"
to false
.
For more details, please see our updated Options documentation
Fields added/updated:
Added:
- {patent/publication}.inventors.inventor_location_id
- {patent/publication}.inventors.inventor_gender_code
- {patent/publication}.assignees.assignee_location_id
- patent.withdrawn
Updated:
- {patent/publication}.inventors.inventor_id
- {patent/publication}.assignees.assignee_id
Previously, requesting these fields would only return the URL to retrieve the corresponding record from the inventors/assignees endpoint under the label "inventor" or "assignee". Now, in addition to this value, the unmodified ID will be returned under the label "inventor_id"/"assignee_id"
Bug fixes
- a bug where the "options" parameter was ignored when the "fields" or "sort" parameter was omitted in POST requests has been fixed.
- a bug where the IPC endpoint would fail when receiving a POST request from certain sources including the Python Requests package has been fixed.
- a bug where the nested fields
inventors.inventor_years
and assignees.assignee_years
were incorrectly flagged as non-nested fields has been fixed.
- certain fields which were inconsistently formatted across mutliple endpoints in which they appeared have been standardized
Documentation Updates
- added documentation of new fields
- added documentation of new options
"exclude_withdrawn"
and "pad_patent_id"