Patent Search API
Search and retrieve patent information from Google Patents with support for keyword search, inventor/assignee filtering, and detailed patent information retrieval.
POST
/v1/patent/*专利搜索
POST
/v1/patent/search通过关键词搜索 Google Patents,支持按发明人、受让人、国家、日期范围和专利状态过滤。
参数
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
q | string | 必填 | 搜索关键词 |
inventor | string | 可选 | 按发明人姓名过滤 |
assignee | string | 可选 | 按受让人/公司过滤 |
country | string | 可选 | 按国家代码过滤 |
status | string | 可选 | 专利状态过滤 |
专利详情
POST
/v1/patent/details通过专利 ID 获取详细专利信息,包括标题、发明人、受让人、日期、权利要求和 PDF 链接。
参数
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
patent_id | string | 必填 | 专利 ID 或公开号 |
响应
Response
{
"success": true,
"message": "Patent search completed successfully",
"data": {
"organic_results": [
{
"title": "Method and system for natural language processing",
"patent_id": "US11234567B2",
"inventor": "John Smith",
"assignee": "Tech Corp",
"filing_date": "2021-03-15",
"grant_date": "2023-01-10",
"abstract": "A method for processing natural language using transformer architecture..."
}
]
}
}示例
import requests
API_KEY = "your_api_key_here"
BASE_URL = "https://api.qinyanai.com"
# Search patents
response = requests.post(
f"{BASE_URL}/v1/patent/search",
headers={"Authorization": f"Bearer {API_KEY}"},
json={
"q": "transformer neural network",
"country": "US",
"assignee": "Google"
}
)
# Get patent details
response = requests.post(
f"{BASE_URL}/v1/patent/details",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"patent_id": "US11234567B2"}
)