Run prior art searches with a Google Patents API
A Google Patents API makes a prior art search repeatable: each query returns filings with inventor, assignee, priority, filing and grant dates, the publication number and a PDF link. Patent attorneys screen for novelty, R&D teams check what is already filed before they build, and competitive intelligence watches what rivals publish. The Search API returns those filings as JSON with ISO 8601 dates.
Prior art hides across thousands of filings and several kinds of date
A prior art search is one question asked many ways: synonyms, component names, the problem the invention solves. Each phrasing surfaces different filings, and the useful signal sits in the metadata: who invented it, which company holds it and which date came first.
Reading patent result pages by hand means copying numbers and dates into a spreadsheet, per query, per run. Scraping them means telling priority from filing from publication dates, handling missing grants, and rebuilding the parser whenever the markup changes.
type: patents returns each filing with title, abstract, url, inventor, assignee, language, the priority, filing and publication dates in ISO 8601, a grant date when there is one, the publication number, a PDF link and figure thumbnails. result.markdown() fetches the full patent page when a filing deserves a close read.
How to search prior art with the Google Patents API
Search the concept several ways, merge the filings by publication number, then read the closest ones. The patents guide lists every field.
import createClient from 'microlink.io'
const microlink = createClient({
apiKey: process.env.MICROLINK_API_KEY
})
const { results } = await microlink.search('predicated load prefetching', {
type: 'patents'
})
const filings = results.map(patent => ({
number: patent.publication.number,
title: patent.title,
assignee: patent.assignee,
inventor: patent.inventor,
priority: patent.priority.date,
granted: patent.grant?.date ?? null,
pdf: patent.pdf?.url
}))priority, filing and publication are always present; grant and pdf are optional. publication.number identifies a filing across queries.
import createClient from 'microlink.io'
const microlink = createClient({
apiKey: process.env.MICROLINK_API_KEY
})
const phrasings = [
'predicated load prefetching',
'prefetch on conditional load instruction',
'speculative memory prefetch predicate'
]
const pages = await Promise.all(
phrasings.map(query => microlink.search(query, { type: 'patents' }))
)
const byNumber = new Map()
for (const { results } of pages) {
for (const patent of results) byNumber.set(patent.publication.number, patent)
}
const timeline = Array.from(byNumber.values()).sort(
(a, b) => Date.parse(a.priority.date) - Date.parse(b.priority.date)
)One request per phrasing. Sorting by priority date orders the merged filings by their earliest claimed date, the order a novelty review reads them in.
import createClient from 'microlink.io'
const microlink = createClient({
apiKey: process.env.MICROLINK_API_KEY
})
const closest = timeline.slice(0, 3)
const fullText = await Promise.all(
closest.map(async patent => ({
number: patent.publication.number,
assignee: patent.assignee,
markdown: await patent.markdown()
}))
)markdown() fetches the Google Patents page of each filing as Markdown, one request each, ready for a reviewer or a model to read side by side.
- type 'patents' returns inventor, assignee, language, priority, filing, grant and publication dates, pdf, figures and id.
- page Later pages of filings for broad concepts, one request each.
- limit Maximum number of filings per page.
- markdown() Reads the full patent page as Markdown, one request per filing.
For patent monitoring, run the same queries on your own schedule and keep the filings whose publication.date is newer than your last run. The API does not store watchlists or send notifications. The content expansion guide explains when HTML fits better than Markdown for a patent page.
Why structured patent results speed up prior art review
Prior art review is triage over dates and names. Getting those as fields instead of text moves the triage into code.
Researching papers rather than filings? Collect papers and citation counts from Scholar with the same client.
For competitor activity beyond filings, monitor their press coverage in Google News by country.
When not to: this searches what Google Patents ranks for a query. It is not a legal opinion and not an exhaustive register search, so a formal patentability or freedom to operate opinion still needs a patent professional and the official registers.
FAQ
How do I search prior art with a Google Patents API?
Which dates does the patent search API return?
Can I set up patent monitoring for a technology or a competitor?
How much does patent search with the Search API cost?
Is this an official Google Patents API?
Solve the next problem with the same API
Papers and citation counts from Google Scholar
Brand and media monitoring from Google News
Google results page as Markdown or HTML
Live search to ground LLM answers
PDF and office documents to Markdown
Archive web articles as PDF
Ready to search prior art?
Patent filings with inventors, assignees and ISO 8601 dates as JSON. Get a Pro key and run your first prior art search today.