patentgrepDocs

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
Base URL
https://api.patentgrep.com
Every request sends your key
X-Api-Key: $PATENTGREP_KEY

1Get 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
Terminal
export PATENTGREP_KEY="paste-your-key-here"

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}/details for claims, dates and family.
  • feedgrant or application.
  • snippetThe best matching passage, with your words in <b>.
  • nextSend it back as after for the next page.
Response200
{
  "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…"
}