querystringbắt buộc
The Google Patents search query.
https://api.sandbase.ai/v1/api/google/patentsSearch Google Patents with title, patent number, inventor, assignee, key dates, and PDF link.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
This API searches Google Patents and returns a list of matching patents. Each result has the title, publication number, inventor, assignee, key dates, and links. It needs one input: a search query.
curl -X POST "https://api.sandbase.ai/v1/api/google/patents" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "wireless charging"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The Google Patents search query. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"query": "wireless charging",
"results": [
{
"assignee": "Dongguan Three in a Thousand Electronic Technology Co.,Ltd",
"filedUtc": 1761004800,
"image": "",
"inventor": "Xie Hui",
"language": "en",
"link": "https://patents.google.com/patent/EM151206540002S/en",
"pdfUrl": "",
"publicationNumber": "EM151206540002S",
"publishedUtc": 1761523200,
"snippet": "",
"title": "Battery chargers; Wireless chargers; Charging stations for mobile devices;"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.results[].title | Title of the patent or design. It can be cut off with a trailing ellipsis. |
data.results[].publicationNumber | Patent publication number, such as US11303135B2. |
data.results[].inventor / data.results[].assignee | Name of the inventor and of the company or person the patent is assigned to. |
data.results[].filedUtc / data.results[].publishedUtc | Filing date and publication date as Unix timestamps in seconds. |
data.results[].grantedUtc / data.results[].priorityUtc | Grant date and priority date as Unix timestamps in seconds. These appear only on some results. |
data.results[].link | URL of the patent page on Google Patents. |
data.results[].pdfUrl | URL of the patent PDF. It is an empty string when no PDF is listed. |
data.results[].snippet | Short text excerpt from the patent. It is cut off and can be empty. |
data.results[].image | URL of a patent image. It is an empty string when none is available. |
data.results[].language | Language code of the result, such as en. |
query. The response echoes it in data.query.grantedUtc, priorityUtc, and pdfUrl exist and are not empty before you use them.Billed at the actual cost of each call, about $0.00085 for the request above. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/google/patents" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "wireless charging"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
querystringbắt buộcThe Google Patents search query.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Google PatentsAPI này Google | Từ $0.00085 mỗi lần gọi | JSON |
Google | $0.01 mỗi lần gọi | JSON |
Google | $0.015 mỗi lần gọi | JSON |
Google | Từ $0.002 mỗi lần gọi | JSON |
Google | Từ $0.0015 mỗi lần gọi | JSON |
Google | $0.01 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/google/patents với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
Từ $0.00085 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: query (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Google Patents chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Google.