← 返回
数据分析 Key

Google Patents

Search Google Patents database for patent research, infringement risk checks, and competitive IP analysis. Use when user mentions: 专利, patent, 侵权, infringeme...
Search Google Patents database for patent research, infringement risk checks, and competitive IP analysis. Use when user mentions: 专利, patent, 侵权, infringeme...
jiafar
数据分析 clawhub v1.2.0 1 版本 99892.5 Key: 需要
★ 1
Stars
📥 909
下载
💾 121
安装
1
版本
#latest

概述

Google Patents

Search and retrieve patent data via SerpApi. Requires SERPAPI_API_KEY env var (free: 100/month at serpapi.com).

5 Commands

bash scripts/patents.sh search "keywords" [options]     # Search patents
bash scripts/patents.sh detail "US11734097B1"            # Basic info + claims
bash scripts/patents.sh fulltext "US11734097B1"          # Description full text
bash scripts/patents.sh full "US11734097B1"              # ALL data in one call
bash scripts/patents.sh pdf "US11734097B1" output.pdf    # Download PDF

Patent ID: short US11734097B1 or full patent/US11734097B1/en. Supports all countries: CN, US, EP, JP, KR, WO, DE, etc.

Search Options

--country US,CN,JP,WO,EP,KR    --status GRANT|APPLICATION
--type PATENT|DESIGN            --assignee "Company"
--inventor "Name"               --sort relevance|new|old
--after publication:20230101    --before publication:20251231
--num 10-100                    --page N
--language ENGLISH|CHINESE      --litigation YES|NO
--scholar                       --clustered

Boolean: "(massage) AND (glove OR mitt)" | Multi-term + CPC: "(pet grooming);(A01K13)"

What Each Command Returns

search: patent_id, title, snippet, assignee, inventor, dates, pdf, country_status

detail: title, abstract, claims[], inventors[], assignees[], classifications[], legal_events[], citations, similar_documents[], images[], pdf, family_id, worldwide_applications

fulltext: description full text (FIELD OF INVENTION, BACKGROUND, SUMMARY, DETAILED DESCRIPTION)

full: Everything from detail + description_full combined

pdf: Downloads PDF file to specified path

E-commerce Scenarios

# Infringement risk check (pre-listing must-do)
bash scripts/patents.sh search "product" --type DESIGN --country US --status GRANT

# Competitor patents
bash scripts/patents.sh search "category" --assignee "Company" --num 50

# Read claims to assess real risk
bash scripts/patents.sh full "USD975937S1"

# Download patent PDF for reference
bash scripts/patents.sh pdf "USD975937S1" ./patent.pdf

# Expired patents (free to use)
bash scripts/patents.sh search "tech" --before "filing:20040101"

# Latest trends
bash scripts/patents.sh search "tech" --sort new --after "publication:20240101"

# Litigation-prone patents
bash scripts/patents.sh search "product" --litigation YES --country US

Error Handling

All errors return JSON with error and code fields. No exceptions thrown.

CodeMeaning
------
PATENT_NOT_FOUNDPatent ID doesn't exist (404)
AUTH_ERRORInvalid/expired API key (401/403)
MAX_RETRIES_EXCEEDEDNetwork failure after 3 retries
NO_DESCRIPTIONPatent has no description text
PARSE_ERRORHTML parsing failed
NO_PDFNo PDF available
DOWNLOAD_ERRORPDF download failed
MISSING_QUERYNo search query provided
MISSING_IDNo patent ID provided

Auto-retry: 3 attempts with exponential backoff (2s, 4s, 8s) on 429/5xx errors.

Rate limit: 1 second between requests to avoid triggering anti-scraping.

Timeouts: 10s connect, 30s max per request, 60s for PDF downloads.

FAQ

Q: Why are some fields empty?

A: Different countries have different patent page formats. Some patents may have incomplete data, or the description may not be digitized.

Q: Can I batch-fetch patents?

A: Yes, loop through IDs. Respect the 1s rate limit. Free tier = 100 calls/month. Cached results (same query within 1h) are free.

Q: How to get PDF?

A: bash scripts/patents.sh pdf "US11734097B1" output.pdf

Q: Chinese vs English patents?

A: Chinese pages (patent/CNxxxxxx/zh) have native Chinese content. English pages have machine-translated content. Use --language CHINESE for search.

Q: Patent ID formats?

A: Country code + number + type suffix. Examples: CN106484775A, US20180232442A1, EP2264377A2, USD975937S1 (design), JP2020123456A.

版本历史

共 1 个版本

  • v1.2.0 当前
    2026-03-29 20:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,268
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 166 📥 60,271
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,886