querystringจำเป็น
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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก 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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
querystringจำเป็นThe Google Patents search query.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Google PatentsAPI นี้ Google | เริ่มต้นที่ $0.00085 ต่อครั้ง | JSON |
Google | $0.01 ต่อการเรียก | JSON |
Google | $0.015 ต่อการเรียก | JSON |
Google | เริ่มต้นที่ $0.002 ต่อครั้ง | JSON |
Google | เริ่มต้นที่ $0.0015 ต่อครั้ง | JSON |
Google | $0.01 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/google/patents โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.00085 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: query (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Google Patents ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Google API แยกต่างหาก