Getting started
Quickstart
Make your first patent search in three steps. You need an API key and a terminal; any language that speaks HTTP works.
- grants since
- 1976
- applications since
- 2001
- new documents
- Weekly
https://api.patentgrep.comX-Api-Key: $PATENTGREP_KEY1Get an API key
Keys are issued during the private beta. Ask for one below and we'll email it when your access is ready. Keep the key out of your code: put it in an environment variable.
Opens a short form
export PATENTGREP_KEY="paste-your-key-here"2Search
This finds documents with the phrase “solid electrolyte” and the word lithium, newest first. mode=exact reads the quotes and AND; leave mode out to match plain words.
Prefer the PatentsView syntax? The same key works with all 27 PatentsView-compatible endpoints.
curl -G https://api.patentgrep.com/v1/search \
-H "X-Api-Key: $PATENTGREP_KEY" \
-d mode=exact \
-d sort=newest \
--data-urlencode 'q="solid electrolyte" AND lithium'3Read the results
You get 25 hits per page, newest first. The fields you'll use most:
totalHow many documents match.doc_idPass it to/v1/patents/{doc_id}/detailsfor claims, dates and family.feedgrantorapplication.snippetThe best matching passage, with your words in<b>.nextSend it back asafterfor the next page.
{
"total": 8056,
"hits": [
{
"doc_id": "US20260312234A1",
"feed": "application",
"title": "INTERNAL SERIES BATTERY AND ELECTRICAL DEVICE",
"date": 20261008,
"assignee": "CONTEMPORARY AMPEREX TECHNOLOGY (HONG KONG) LIMITED",
"snippet": "units being greater than or equal to 3, each of the battery…"
}
// 24 more
],
"next": "eyJ2IjoxLCJrZXkiOiIyYTAwMDI5MTMyMTVjZjNjNjA1NjI2YzNkMjdhYWU2…"
}