comment_idstringจำเป็น
Parent comment ID (required, get `pk` field from get_post_comments response)
https://api.sandbase.ai/v1/api/instagram/v3/comment-repliesReturns child comment replies for a specific Instagram comment using the post media ID and parent comment ID. Supports pagination via cursor tokens.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Retrieve threaded comment replies for an Instagram post by supplying media_id and comment_id. Additional pages can be fetched using min_id.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/comment-replies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"comment_id": "18065937092249736", "media_id": "3829530490739515971"}'
| Name | Type | Required | Description |
|---|---|---|---|
media_id | string | Yes | Post media ID (numeric ID, required), can be obtained via /shortcode_to_media_id endpoint |
comment_id | string | Yes | Parent comment ID (required, get pk field from get_post_comments response) |
min_id | string | No | Pagination cursor, omit for first request, get from previous response data.next_min_child_cursor |
media_id via the /shortcode_to_media_id endpoint.comment_id from the pk field of post comment results.min_id with data.next_min_child_cursor from the previous response for pagination.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/comment-replies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"media_id": "3829530490739515971",
"comment_id": "18065937092249736"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
comment_idstringจำเป็นParent comment ID (required, get `pk` field from get_post_comments response)
media_idstringจำเป็นPost media ID (numeric ID, required), can be obtained via `/shortcode_to_media_id` endpoint
min_idstringPagination cursor, omit for first request, get from previous response `data.next_min_child_cursor`
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Instagram | $0.008 ต่อการเรียก | JSON |
Instagram | $0.008 ต่อการเรียก | JSON |
Instagram | $0.008 ต่อการเรียก | JSON |
Instagram | $0.002 ต่อการเรียก | JSON |
Instagram | $0.008 ต่อการเรียก | JSON |
Instagram | $0.008 ต่อการเรียก | JSON |
คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/v3/comment-replies โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.008 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: comment_id (string) และ media_id (string). ตัวเลือก: min_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น Instagram Comment Replies (V3) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก