comment_idstringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp 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.
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/instagram/v3/comment-replies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"media_id": "3829530490739515971",
"comment_id": "18065937092249736"
}'Đặ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.
comment_idstringbắt buộcParent comment ID (required, get `pk` field from get_post_comments response)
media_idstringbắt buộcPost 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`
Đâ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 |
|---|---|---|
Instagram | $0.008 mỗi lần gọi | JSON |
Instagram | $0.008 mỗi lần gọi | JSON |
Instagram | $0.008 mỗi lần gọi | JSON |
Instagram | $0.002 mỗi lần gọi | JSON |
Instagram | $0.008 mỗi lần gọi | JSON |
Instagram | $0.008 mỗi lần gọi | JSON |
Hướng dẫn:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v3/comment-replies 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.
$0.008 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: comment_id (string) và media_id (string). Tùy chọn: min_id (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ộ).
Không. Instagram Comment Replies (V3) 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 Instagram.