Google Patents Scraper: Claims, Citations & Assignees

Live-tested Google Patents scraper: pull claims, citations and assignees from patent pages, follow citation crawls, and know when BigQuery wins.

MMotherlode Lab10 min read
Magpie title card: Google Patents Scraper: Claims, Citations & Assignees

Google Patents is the one Google property that prints scraping permission in robots.txt. The file at patents.google.com/robots.txt allows /patent/ detail pages for everyone, which is where every patent’s claims, citation tables and assignee records live. So a Google Patents scraper has an unusual job: not dodging blocks, but picking the right surface, because a detail page serves three different outputs and one of them hides most of the data. Everything below ran on 2026-10-29 from a home connection, with Magpie doing the fetching; sites change, so re-check robots.txt before you build on this.

What a Google Patents scraper is allowed to take

The robots file is four allow lines and one blanket disallow:

Path robots.txt What lives there
/patent/US10108613B2/en Allowed Detail pages: full text, claims, citations, legal events
/ Allowed The search app shell (JS, no static data)
/advanced Allowed Advanced-search form
/sitemap/ Allowed No index I could find (I tried; 404s)
everything else, incl. /?q=... Disallowed Search result pages

Read that again: detail pages are explicitly welcomed, search pages are off-limits to crawlers. This is the opposite of scraping Google Search itself, which is a hostile, disallowed, cat-and-mouse exercise I cover separately in how to scrape Google search results. Google WANTS you reading patent pages programmatically. It just wants you to find them another way first.

The finding-another-way part matters because the static search page is a trap anyway. I fetched /?q=neural+network+patent once (a single user-directed request, outside the robots allow-list): the HTML carries result titles and “More than 100,000 results”, but no way through. I counted 75 href attributes on the page; not one points at a patent URL, and 44 are bare # anchors, because the real links get filled in by JavaScript. Even if robots allowed it, the page gives you titles with no way to reach the patents.

One patent page, three outputs

I used US10108613B2 as my test subject: a 2014 software patent with a fat citation graph. Its detail page is server-rendered, no browser needed. Static fetch, plain HTTP. But what you get back depends entirely on which page format you ask for.

Plain scrape (Markdown) returns 4,829 words of cleaned text in 31,781 characters, and then it stops. Mid-sentence, in the description. The heading map tells the story: Info, Links, Images, Classifications, Definitions, and nothing else. Claims, Similar Documents, Cited By and Legal Events all live deeper in the document and don’t survive cleaning. For “let me read what this patent is about”, that’s fine. For the three data types in this article’s title, it’s not.

--page-format html returns the full 1.8 MB document (1,830,757 bytes in my fetch), and this is where the real structure sits. The page is marked up with itemprop microdata throughout. My fetch contained 943 occurrences of assigneeOriginal, 178 backward-citation rows, 585 cited-by rows, 347 examiner citations, and 16 timeline events. There is no JSON-LD on the page at all, so scrapers that only look for application/ld+json come away empty. The data is there; it’s in microdata.

--page-format raw gives the same 1.8 MB untouched, for when you want to diff or archive exactly what Google served.

One honest dead end: the meta tags include citation_pdf_url, pointing at the scan on Google’s storage bucket. The file is real, an 84-page, 8.4 MB PDF that curl fetches fine. But Magpie’s PDF cleaner rejected it on 2026-10-29 with clean: malformed PDF ... invalid header, while the same pipeline handles arXiv PDFs without complaint. Something about these scans trips the parser. Until that’s fixed, download the PDFs with curl and read them with any PDF tool; the HTML page already carries the full text anyway, and the text layer of these scans is what the HTML serves more cleanly.

Claims, citations and assignees from the raw page

Here is the working extraction, verified against the saved page.html from the fetch above. First get the full document:

magpie scrape "https://patents.google.com/patent/US10108613B2/en" \
  --page-format html --out page.html

Then parse the microdata. Info-section fields are <dd itemprop=...> elements; citation rows are <tr itemprop=backwardReferences> table rows:

# claims.py
from bs4 import BeautifulSoup

soup = BeautifulSoup(open("page.html").read(), "html.parser")

def text(sel, root=None):
    node = (root or soup).select_one(sel)
    return node.get_text(" ", strip=True) if node else ""

assignees = [dd.get_text(" ", strip=True) for dd in soup.select("dd[itemprop=assigneeCurrent]")]
inventors = [dd.get_text(strip=True) for dd in soup.select("dd[itemprop=inventor]")]

claims_sec = soup.find("section", itemprop="claims")
claims = [c.get_text(" ", strip=True) for c in claims_sec.select("div.claim")]

cited = []
for tr in soup.select("tr[itemprop=backwardReferences]"):
    cited.append({
        "number": text("[itemprop=publicationNumber]", tr),
        "title": text("[itemprop=title]", tr),
        "assignee": text("[itemprop=assigneeOriginal]", tr),
    })

print("Assignee:", assignees)
print("Inventors:", inventors)
print("Claims:", text('[itemprop=count]', claims_sec), "listed,", len(claims), "blocks")
print("Claim 1:", claims[0][:130])
print("Cited references:", len(cited), "| first:", cited[0])

Real output from the patent above, abridged only in the claim text:

Assignee: ['Open Text SA ULC', 'Open Text SA']
Inventors: ['Jared M. Spataro', 'Cornelia A. West', 'David Glazer', 'Ronald E. Schneider']
Claims: 20 listed, 22 blocks
Claim 1: 1. A method of collaborative activity support, comprising: establishing generating data based upon at least one event associated w
Cited references: 178 | first: {'number': 'US5107443A', 'title': 'Private regions within a shared workspace', 'assignee': 'Xerox Corporation'}

Three things to check before you trust this data blindly. The “20 listed, 22 blocks” mismatch is real: dependent-claim paragraphs nest inside div.claim blocks, so count claims by parsing the leading numbers from the text, not by counting divs. The assignee list can be wrong on purpose: the page itself prints a disclaimer that Google “has not performed a legal analysis” of assignees, and this very patent shows why, with inventors employed at Microsoft on an assignee record reading Open Text SA ULC after a recorded reassignment. Use assigneeCurrent for the live value and treat it as a lead, not a fact. And forward citations come in two flavors: forwardReferencesOrig (12 rows here, citing the exact publication) and forwardReferencesFamily (573 rows, citing any family member). Pick the one that matches your question; the family count flatters popularity.

The same microdata structure held on a European patent I tested, EP3081562A1, which returned 4,377 words of cleaned text from a plain static fetch. One authority, one parser, world coverage.

Bulk: crawl the citation graph, or skip scrapers entirely

For a handful of publication numbers, loop a scrape with a sleep between requests. Magpie’s batch has no inter-request delay, so a shell loop with sleep 2 is the polite way.

The more interesting bulk move is that patent pages link to each other, and every one of those links stays inside the robots-allowed /patent/ prefix. So a crawl seeded on one patent follows its citation and similar-document links into connected patents. This ran in 6 seconds:

magpie crawl "https://patents.google.com/patent/US10108613B2/en" \
  --corpus --max-pages 5 --max-depth 1 --rate 0.5 --out corpus.jsonl
crawl: run_id=9927447d1792c61c-41544 pages_ok=5 pages_err=0 records=5

Five records, zero errors: the seed plus four connected patents (a Canadian, a Brazilian, an Austrian T-document and another US relative), each 2,000 to 5,300 words of cleaned text in JSONL. Raise --max-pages and you have a prior-art sweep that polices its own rate. Magpie’s crawl checks robots.txt before it starts, and /patent/ passes.

But honesty about scale: if your question is “all patents mentioning X since 2010” or “citation counts for every patent in class G06F”, no crawler should touch this. Google publishes the corpus itself. The Google Patents Public Datasets on BigQuery carry a worldwide bibliographic index plus US full text (98.2 million publication rows already in 2018, last I checked the table docs), joined against USPTO office actions, PatentsView records and SureChEMBL, all under CC BY 4.0. Queries run free inside BigQuery’s monthly free tier, which is 1 TB of processed data. That’s most research queries, unpaid, in SQL.

The decision table, so you don’t crawl when you should query:

Route What you get Cost When it wins
Page scrape Full text + microdata for patents you can name Free You have publication numbers and want claims or citations
Citation crawl JSONL corpus of linked patents Free Patent families, prior-art sweeps from one seed
BigQuery patents-public-data ~98M publications, worldwide biblio + US full text, SQL Free within 1 TB/mo tier Corpus-wide questions, statistics, ML training data
PatentsView API Structured USPTO queries: inventors, assignees, CPC classes Free, API key App backends that don’t want SQL
Paid SERP APIs (SerpApi, ScrapingBee and friends) Google Patents search result pages Subscription You specifically need the search SERP, not the corpus

That last row is what most “Google Patents API” marketing actually sells: a hosted way to read the search results page. For the corpus itself it’s a middleman with a markup. The official routes are free.

Monitoring a patent for changes

Patent pages do change: legal status codes, new citations, reassignments. Magpie’s watch mode stores a snapshot and reports a word-diff whenever the content changes, webhook included:

magpie watch "https://patents.google.com/patent/US10108613B2/en" --every 24h

One caveat I verified rather than assumed: Google Patents serves no explicit Crawl-delay in robots.txt, unlike arXiv’s blunt 15-second rule documented in my arXiv guide. Absent a stated limit, I keep it to a check a day per patent and space bulk crawls at or below --rate 0.5. Public data on a free service deserves restraint; the moment you need aggressive polling, move the workload to BigQuery.

FAQ

Patents are public publications, and Google’s robots.txt explicitly allows /patent/ pages. That’s permission to crawl, not a license to hammer: keep rates low, identify your client honestly, and remember the page’s own disclaimers (assignee and legal-status fields carry “not a legal conclusion” warnings). For legal questions about republishing, that’s a lawyer’s call, not a scraper’s.

Does Google Patents have an official API?

No public API for the site itself. The official routes are the BigQuery patents-public-data dataset (SQL over the full corpus, CC BY 4.0), the PatentsView API (free, key required, structured USPTO queries), and USPTO’s own bulk data. Products calling themselves a “Google Patents API”, like SerpApi’s, are third-party hosted scrapers of the search pages.

Why does my scraper return empty claims?

Two common causes. Your parser hunts for JSON-LD, and Google Patents has none; the structure is itemprop microdata, so query that. Or your HTML cleaner truncates the document: the page is roughly 1.8 MB, my cleaned Markdown died at 31,781 characters with the claims untouched, and anything that trims like that loses them. Parse the full DOM, not a cleaned extract.

Can I scrape Google Patents search results?

robots.txt disallows it, and the static HTML is useless anyway: result titles render server-side, but every link is a # anchor, with real URLs filled in by JavaScript. Even tools that render JS fight Google’s rate limits here. For discovery, query BigQuery or PatentsView, then scrape the (allowed) detail pages for the hits.

How do I download the patent PDF?

Each page’s citation_pdf_url meta tag points at the scan on patentimages.storage.googleapis.com. Plain curl handles these files fine. One limit I hit on 2026-10-29: Magpie’s PDF extractor rejected this bucket’s files with an “invalid header” error even though the PDFs are valid, so use curl for now; the HTML page carries the same text regardless.

Where this leaves you

Grab the full document with --page-format html, parse the itemprop microdata for claims, citations and assignees, and keep single-page reads to plain scrapes at a polite rate. The moment your questions turn corpus-shaped (counts, trends, training sets), close the scraper and open BigQuery. Patents are one of the few places on today’s web where the polite route is also the fastest one, and the same official-data-first pattern works on ClinicalTrials.gov and arXiv; the scrapers for popular websites index marks which other big sites play this way.

Stop renting credits.

One flat price, your machine, your keys.

Download free for Windows, macOS and Linux

Windows · macOS · Linux $49/mo flat, cancel anytime