Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Queries USPTO patent data via PatentsView REST API and Google Patents BigQuery by inventor, assignee, CPC, or keyword.
77% 86%+9 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 17 of 22 without it.
I'd like a Python snippet that queries USPTO patent data to find all US-assigned gene therapy patents under CPC classification A61K48 granted between 2020 and 2024. Please return a pandas DataFrame showing the patent number, title, grant date, and assignee organization name for each record.
Uses field name cpc_subgroup_id in the query payload filter
3 of 3 safety checks passed
The USPTO provides two primary programmatic access points for patent data: the PatentsView API (REST, free, no key required for basic use) for structured queries by inventor, assignee, CPC classification, and keywords; and Google Patents Public Data (BigQuery public dataset) for large-scale analytics across the full patent corpus. Both expose data under the CC0 Public Domain Dedication. This skill covers Python-based access patterns for both, plus basic patent portfolio analytics.
requests, pandas, matplotlibgoogle-cloud-bigquery for Google Patents Public Data queriespip install requests pandas matplotlib
pip install google-cloud-bigquery # optional: for BigQuery access
import requests
import pandas as pd
# Search PatentsView API: patents assigned to "Genentech" in CPC class C12N
url = "https://api.patentsview.org/patents/query"
payload = {
"q": {"_and": [
{"_contains": {"assignee_organization": "Genentech"}},
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.