Google Patents API Documentation
The Google Patents API allows to access patent information. It provides details such as patent titles, inventors, assignees, publication dates, priority dates, and more. The API can be used to search for patents based on various criteria, including keywords, patent numbers, and classification codes.
API Parameters
Search Query
-
- Name
-
q - Required
- Required
- Description
-
This parameter is used for the terms you want to search on Google Patents. Queries can include operators and advanced filters like "artificial intelligence",
AND, orOR. For example(ChatGPT OR GPT-4). For multiple queries, split them with semicolon;. For example:ChatGPT;GPT-4. For more advanced syntax, refer to the official Google documentation on Google Patents search query syntax.
Localization
-
- Name
-
countries - Required
- Optional
- Description
-
Parameter filters results by country. Use the ISO 3166-1 alpha-2 country code, e.g.,
USfor the United States,DEfor Germany. To use multiple countries, separate them with a comma,. For example:US,DE. Check the full list of supported Google Patentscountries.
-
- Name
-
language - Required
- Optional
- Description
-
Parameter filters results by language. To specify multiple languages, separate them with a comma
,. For example:SWEDISH,ITALIANSupported languages include:ARABIC,CHINESE,DANISH,DUTCH,ENGLISH,FINNISH,FRENCH,GERMAN,ITALIAN,JAPANESE,KOREAN,NORWEGIAN,PORTUGUESE,RUSSIAN,SPANISH,SWEDISH.
Filters
-
- Name
-
patent_status - Required
- Optional
- Description
-
Parameter filters patent results by status. Use
GRANTfor granted patents andAPPLICATIONfor patent applications.
-
- Name
-
patent_type - Required
- Optional
- Description
-
Parameter filters patent results by type. Use
PATENTfor patents,DESIGNfor design patents.
-
- Name
-
litigation - Required
- Optional
- Description
-
Parameter filterss patent results by litigation status. Use
YESto include results with related litigation,NOto exclude them.
-
- Name
-
clustered - Required
- Optional
- Description
-
Parameter groups the results by classification. Set the value to
trueto enable clustering.
-
- Name
-
dups - Required
- Optional
- Description
-
Parameter defines how duplicates are handled. The default value is
family. Alternatively, uselanguageto filter duplicates based on publication.
-
- Name
-
sort - Required
- Optional
- Description
-
Parameter controls the sorting order. The default is
relevance. Other options include:new- Sort by filing date for patents, and by publication date for scholarly results.old- Sort by filing date for patents, and by publication date for scholarly results, in ascending order.
-
- Name
-
patents - Required
- Optional
- Description
-
Parameter controls the inclusion of patent results. Set to
falseto exclude patents. Default value istrue.
-
- Name
-
scholar - Required
- Optional
- Description
-
Parameter controls the inclusion of scholarly results. Set to
trueto include scholarly results. Default value isfalse.
-
- Name
-
inventor - Required
- Optional
- Description
-
Parameter filters results by inventor names. To specify multiple inventors, separate them with a comma
,. For example:John Doe,Jane Doe.
-
- Name
-
assignee - Required
- Optional
- Description
-
Parameter filters results by assignee names. To specify multiple assignees, separate them with a comma
,. For example:Apple Inc,Google LLC.
-
- Name
-
before - Required
- Optional
- Description
-
Parameter restricts results to those published before a specific date. The date must be in the format
YYYYMMDD. You can specify a type of date by prefixing it, e.g.,publication:20220101. Supported date types include:priority,filing,publication.
-
- Name
-
after - Required
- Optional
- Description
-
Parameter restricts results to those published after a specific date. The date must be in the format
YYYYMMDD. You can specify a type of date by prefixing it, e.g.,publication:20220101. Supported date types include:priority,filing,publication.
Pagination
-
- Name
-
num - Required
- Optional
- Description
-
This parameter specifies the number of results to display per page. By default, it is set to
10. Use in combination with thepageparameter to implement pagination functionality. Max num per page is100, min -10.
-
- Name
-
page - Required
- Optional
- Description
-
This parameter indicates which page of results to return. By default, it is set to
1. Use in combination with the num parameter to implement pagination.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
google_patents.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response
https://www.searchapi.io/api/v1/search?engine=google_patents&q=ChatGPT
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_patents",
"q": "ChatGPT"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_YzO8NlMJg5M9UVvgnBvQxXR0",
"status": "Success",
"created_at": "2024-02-23T00:26:31Z",
"request_time_taken": 1.72,
"parsing_time_taken": 0.01,
"total_time_taken": 1.73,
"request_url": "https://patents.google.com/?q=ChatGPT",
"html_url": "https://www.searchapi.io/api/v1/searches/search_YzO8NlMJg5M9UVvgnBvQxXR0.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_YzO8NlMJg5M9UVvgnBvQxXR0"
},
"search_parameters": {
"engine": "google_patents",
"q": "ChatGPT"
},
"search_information": {
"total_results": 3164,
"total_pages": 100,
"page_number": 1
},
"organic_results": [
...
{
"position": 2,
"rank": 1,
"patent_id": "patent/US20240003950A1/en",
"title": "Detection of electric discharges that precede fires in electrical wiring",
"snippet": "Described herein are methods and systems for detecting electrical discharges that precede electrical fires in electrical wiring. One or more sensor devices coupled to a circuit detect one or more signal waveforms generated by electrical activity on the circuit. The sensor devices identify one or …",
"priority_date": "2018-03-20",
"filing_date": "2023-08-29",
"publication_date": "2024-01-04",
"inventor": "Robert S. Marshall",
"assignee": "Whisker Labs, Inc.",
"publication_number": "US20240003950A1",
"language": "en",
"thumbnail": "https://patentimages.storage.googleapis.com/df/88/ef/7500fc07591c38/US20240003950A1-20240104-D00000.png",
"pdf": "https://patentimages.storage.googleapis.com/0c/14/1b/80f31b38ad86fa/US20240003950A1.pdf",
"figures": [
{
"thumbnail": "https://patentimages.storage.googleapis.com/37/5f/72/1150b590ca8463/US20240003950A1-20240104-D00000.png",
"full": "https://patentimages.storage.googleapis.com/9f/0d/59/87c816ec5c41f9/US20240003950A1-20240104-D00000.png"
},
...
],
"country_status": {
"WO": "UNKNOWN",
"EP": "ACTIVE",
...
}
},
...
],
"summary": {
"assignee": [
{
"key": "Total",
"percentage": 100,
"frequency": [
{
"year_range": "2022-2025",
"percentage": 99.8
}
]
},
],
"inventor": [
{
"key": "Total",
"percentage": 100,
"frequency": [
{
"year_range": "2022-2025",
"percentage": 99.8
}
]
},
...
]
},
"pagination": {
"current": 1,
"next": "https://patents.google.com/?q=ChatGPT&page=1"
}
}
Organic Results
Development tips:
- The Cooperative Patent Classification (CPC) and its description are returned only when the parameter
clustered=trueis used.
https://www.searchapi.io/api/v1/search?engine=google_patents&q=%28Rocket+science%29%3B%28Space%29
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_patents",
"q": "(Rocket science);(Space)"
}
response = requests.get(url, params=params)
print(response.text)
{
"organic_results": [
{
"position": 2,
"rank": 1,
"patent_id": "patent/US10963735B2/en",
"title": "Methods for object recognition and related arrangements",
"snippet": "that further includes, after said estimating act, comparing profile information derived from the query data with profile information corresponding to objects in said subset of candidate 3D objects, to identify a further-reduced search space of candidate 3D reference objects to which the query data …",
"priority_date": "2013-04-11",
"filing_date": "2018-06-01",
"grant_date": "2021-03-30",
"publication_date": "2021-03-30",
"inventor": "Geoffrey B. Rhoads",
"assignee": "Digimarc Corporation",
"publication_number": "US10963735B2",
"language": "en",
"thumbnail": "https://patentimages.storage.googleapis.com/13/96/5b/88da3b7d215dbd/US10963735-20210330-D00000.png",
"pdf": "https://patentimages.storage.googleapis.com/f6/a8/dd/cc854f61ca7c1e/US10963735.pdf",
"figures": [
{
"thumbnail": "https://patentimages.storage.googleapis.com/d4/82/8a/6c70b2dec3bbff/US10963735-20210330-D00000.png",
"full": "https://patentimages.storage.googleapis.com/8c/aa/d4/34c4a5af8d287b/US10963735-20210330-D00000.png"
},
...
],
"country_status": {
"WO": "ACTIVE",
"US": "ACTIVE"
}
}
...
]
}
Summary
https://www.searchapi.io/api/v1/search?engine=google_patents&q=Rocket+Science
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_patents",
"q": "Rocket Science"
}
response = requests.get(url, params=params)
print(response.text)
{
"summary": {
"assignee": [
{
"key": "Total",
"percentage": 100,
"frequency": [
{
"year_range": "2022-2025",
"percentage": 4.6
},
...
]
},
...
],
"inventor": [
{
"key": "Total",
"percentage": 100,
"frequency": [
{
"year_range": "2022-2025",
"percentage": 4.6
},
...
]
},
...
],
"cpc": [
{
"key": "Total",
"percentage": 100,
"frequency": [
{
"year_range": "2022-2025",
"percentage": 4.6
},
...
]
},
...
]
}
}