glstring
Two-letter country code, lowercase. Default 'us'.
https://api.sandbase.ai/v1/api/google-maps/reviewsGet Google Maps reviews for one place with sorting, filtering, and paging.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Get Google Maps reviews for one place with sorting, filtering, and paging.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/google-maps/reviews" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
glstringTwo-letter country code, lowercase. Default 'us'.
hlstringLanguage for review labels and place context. Default 'en'.
numintegerNumber of reviews: 1-100 on an unfiltered first request, 1-20 on filtered or continuation requests. Default 8.
querystringOnly reviews matching this free-text query. Cannot be combined with topic_id.
data_idstringHexadecimal Maps feature ID in the form '0x123:0x456'. Required unless place_id is supplied.
sort_bystringReview order. Default 'qualityScore'.
ค่าที่เป็นไปได้: qualityScore, newestFirst, ratingHigh, ratingLow
place_idstringGoogle place ID of the business. Required unless data_id is supplied.
topic_idstringOnly reviews under this topic from the topics group. Cannot be combined with query.
next_page_tokenstringContinuation token from pagination.next_page_token, passed back unchanged.
source_metadatabooleanInclude review-provider icon and scale metadata when available.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Google Maps ReviewsAPI นี้ Google Maps | $0.00015 ต่อการเรียก | Async JSON |
Google Maps | $0.01 ต่อการเรียก | JSON |
Google Maps | $0.00015 ต่อการเรียก | Async JSON |
Google Maps | $0.01 ต่อการเรียก | JSON |
Google Maps | $0.00015 ต่อการเรียก | JSON |
Google Maps | $0.01 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/google-maps/reviews โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.00015 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: gl (string), hl (string), num (integer), query (string), data_id (string) และ sort_by (หนึ่งใน qualityScore, newestFirst, ratingHigh, ratingLow) และอีก 4 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว
ไม่จำเป็น Google Maps Reviews ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Google Maps API แยกต่างหาก