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/*Patent Search
POST
/v1/patent/searchSearch Google Patents using keywords with filters for inventor, assignee, country, date range, and patent status.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Required | Search query keywords |
inventor | string | Optional | Filter by inventor name |
assignee | string | Optional | Filter by assignee/company |
country | string | Optional | Filter by country code |
status | string | Optional | Patent status filter |
Patent Details
POST
/v1/patent/detailsRetrieve detailed patent information by patent ID, including title, inventors, assignees, dates, claims, and PDF link.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
patent_id | string | Required | Patent ID or publication number |
Response
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..."
}
]
}
}Examples
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"}
)