Google Patents API
The Google Patents API enables searching patent records across Google Patents with advanced filtering by inventor, assignee, date range, country, language, and patent status. Costs 5 API credits per request.
Endpoint:
https://api.scrapingdog.com/google_patentsAPI Parameters
π
Authentication
api_keyRequiredYour personal API key. Available on your dashboard.
Type: String
π
Request Parameters
queryRequiredThe parameter specifies the query you wish to search for. You can separate multiple search terms using a semicolon (;). For advanced search syntax, please refer to the "About Google Patents" section.
Example for a single search term:(Coffee) OR (Tea)
Example for multiple search terms (separated by a semicolon;):(Coffee) OR (Tea);(A47J)
Type: StringpageOptionalThis is the page number of Google searches. Its value can be0for the first page,1for the second page, and so on.
Default Value -0
Type: StringnumOptionalNumber of results you want to scrape. Its value could be anything between 1 and 100.
Default Value -10
Type: StringsortOptionalThe parameter specifies the sorting method. By default, the results are sorted by Relevance. The supported sorting options are:new: Newestold: Oldest
Type: StringclusteredOptionalThe parameter determines how the results should be grouped. The available option is:true: Classification
dupsOptionalThe parameter defines the deduplication method, which can either be by Family (default) or by Publication. The available value is:language: Publication
patentsOptionalThis parameter determines whether Google Patents results are included. (Default istrue)
Type: StringscholarOptionalThis parameter determines whether Google Scholar results are included. (Default isfalse)
Type: StringbeforeOptionalThis parameter specifies the maximum date for the results. The format should betype:YYYYMMDD, where "type" can be one of the following:priority,filing, orpublication.
Example:priority:20221231publication:20230101
Type: StringafterOptionalThis parameter sets the minimum date for the results. The format should betype:YYYYMMDD, where "type" can be one of the following:priority,filing, orpublication.
Example:priority:20221231publication:20230101
Type: StringinventorOptionalThis parameter specifies the inventors of the patents. Separate multiple inventors with a comma (,).
Type: StringassigneeOptionalThis parameter specifies the assignees of the patents. Separate multiple assignees with a comma (,).
Type: StringcountryOptionalThis parameter filters patent results by country. Separate multiple country codes with a comma (,). Example:WO,US.
Type: StringlanguageOptionalThis parameter filters patent results by language. Separate multiple languages with a comma (,). Supported languages include:ENGLISH,GERMAN,CHINESE,FRENCH,SPANISH,ARABIC,JAPANESE,KOREAN,PORTUGUESE,RUSSIAN,ITALIAN,DUTCH,SWEDISH,FINNISH,NORWEGIAN,DANISH. Example:ENGLISH,GERMAN.
Type: StringstatusOptionalThis parameter filters patent results by their status.
Supported values include:GRANTβ GrantAPPLICATIONβ Application
typeOptionalThis parameter filters patent results by their type.
Supported values include:PATENTβ PatentDESIGNβ Design
litigationOptionalThis parameter filters patent results based on their litigation status.
Supported values include:YESβ Has Related LitigationNOβ No Known Litigation
API Examples
Code to Integrate
curl "https://api.scrapingdog.com/google_patents?api_key=APIKEY&query=seat+belt"
import requests url = "https://api.scrapingdog.com/google_patents" params = {"api_key": "APIKEY", "query": "seat belt"} response = requests.get(url, params=params) if response.status_code == 200: print(response.json())
const axios = require('axios'); axios.get('https://api.scrapingdog.com/google_patents', { params: { api_key: 'APIKEY', query: 'seat belt' } }).then(response => console.log(response.data)) .catch(error => console.error(error.message));
<?php $url = 'https://api.scrapingdog.com/google_patents/?' . http_build_query([ 'api_key' => 'APIKEY', 'query' => 'seat belt', ]); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); echo curl_exec($ch); curl_close($ch);
require 'net/http' require 'uri' url = URI.parse("https://api.scrapingdog.com/google_patents/") url.query = URI.encode_www_form('api_key' => 'APIKEY', 'query' => 'seat belt') http = Net::HTTP.new(url.host, url.port) http.use_ssl = true puts http.request(Net::HTTP::Get.new(url)).body
import java.io.*; import java.net.*; public class Main { public static void main(String[] args) throws Exception { String apiUrl = "https://api.scrapingdog.com/google_patents/?api_key=APIKEY&query=seat+belt"; URL url = new URL(apiUrl); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET"); BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream())); String line; while ((line = reader.readLine()) != null) System.out.println(line); conn.disconnect(); } }
API Response
{
"organic_results": [
{
"position": 1,
"patent_id": "patent/CN101318498B/en",
"title": "Four point seat belt system",
"priority_date": "2007-06-04",
"filing_date": "2008-06-04",
"grant_date": "2013-03-20",
"inventor": "Stephen William Luhana",
"assignee": "Ford Global Technologies",
"publication_number": "CN101318498B"
},
{
"position": 2,
"patent_id": "patent/US7520532B2/en",
"title": "Seat belt arrangement for child occupants of a vehicle",
"priority_date": "2006-10-30",
"filing_date": "2007-03-14",
"grant_date": "2009-04-21",
"inventor": "John Bell",
"assignee": "Key Safety Systems, Inc.",
"publication_number": "US7520532B2"
}
]
}