Google Patents search API
Search Google Patents by keyword or its own syntax, filtered by office and status and sorted by relevance or date, with titles, snippets, dates, inventors, assignees and PDFs.
GET /v1/google/patentsBeta1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/google/patents?query=coffee%20roasting&country=US",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "total_num_results": 13849, "total_num_pages": 100, "page": 0, "results": [ { "publication_number": "US20140106038A1", "title": "Apparatus and related methods of roasting, grinding, and brewing coffee", "snippet": "I claim: 1 . A method of roasting a coffee bean comprising the steps of: bonding DE to the surface of the coffee bean; a…", "language": "en", "priority_date": "2012-09-19", "filing_date": "2013-09-19", "publication_date": "2014-04-17", "inventor": "Kenneth Buschmann", "assignee": "Kenneth Buschmann", "thumbnail": "91/74/0b/b91937393ea90c/US20140106038A1-20140417-D00001.png", "pdf": "f6/cf/ea/2dd2c098d572f9/US20140106038A1.pdf", "figures": [ { "thumbnail": "9e/0f/93/27c965d1a77194/US20140106038A1-20140417-D00001.png", "full": "75/16/6c/6774195676c4e1/US20140106038A1-20140417-D00001.png" } ], "family_metadata": { "aggregated": { "country_status": [ { "…": "2 fields" } ] } }, "url": "https://patents.google.com/patent/US20140106038A1/en" }, { "publication_number": "US11058140B2", "title": "Apparatus and method for roasting coffee beans, and coffee machine", "snippet": "The invention claimed is: 1. An apparatus for roasting coffee beans, the apparatus comprising: a compartment for holding…", "language": "en", "priority_date": "2014-09-19", "filing_date": "2015-09-06", "grant_date": "2021-07-13", "publication_date": "2021-07-13", "inventor": "Jingwei Tan", "assignee": "Koninklijke Philips N.V.", "thumbnail": "18/f9/84/4931ba3fa20b8d/US11058140-20210713-D00000.png", "pdf": "8e/f0/9c/c2dfc447491081/US11058140.pdf", "figures": [ { "thumbnail": "61/fd/46/9e59ca43afc697/US11058140-20210713-D00000.png", "full": "f2/98/6d/4d0827475b64e3/US11058140-20210713-D00000.png" }, { "thumbnail": "ad/16/d2/cf0347856c6a11/US11058140-20210713-D00001.png", "full": "30/a7/bb/07bb0000b9547a/US11058140-20210713-D00001.png" }, "… 4 more" ], "family_metadata": { "aggregated": { "country_status": [ { "…": "2 fields" }, { "…": "2 fields" }, "… 5 more" ] } }, "url": "https://patents.google.com/patent/US11058140B2/en" }, "… 8 more" ], "next_cursor": "1"}Parameters
| Name | Type | Description |
|---|---|---|
queryquery · required | string | Example: coffee roasting. |
countryquery | string | Patent office, e.g. US, EP, WO. |
statusquery | "all" | "grant" | "application" | One of all, grant, application. |
sortquery | "relevance" | "newest" | "oldest" | One of relevance, newest, oldest. |
limitquery | "10" | "25" | "50" | "100" | One of 10, 25, 50, 100. |
cursorquery | string |
Status codes
| Status | Meaning |
|---|---|
200 | Matching patents. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No Google Maps place matches that reference. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Google is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Paging?
Pass next_cursor as cursor.
Google is a trademark of Google LLC. We are not affiliated with or endorsed by Google.