code_or_urlstringbắt buộc
Post shortcode or full URL
https://api.sandbase.ai/v1/api/instagram/v2/post-likesReturns the list of users who liked an Instagram post by shortcode or URL. Supports cursor-based pagination to retrieve subsequent pages.
Đầ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 user profiles that liked a specific Instagram post using code_or_url. Pass end_cursor to paginate through the complete list of likes.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/post-likes" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code_or_url": "DRhvwVLAHAG"}'
| Name | Type | Required | Description |
|---|---|---|---|
code_or_url | string | Yes | Post shortcode or full URL |
end_cursor | string | No | Pagination cursor from previous response |
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"data": {
"items": [
{
"id": "68058278483",
"profile_pic_id": "3425253659352004517",
"profile_pic_url": "https://instagram.frix7-1.fna.fbcdn.net/v/t51.2885-19/453639237_482505544728262_…",
"username": "<user>"
}
]
}
}
code_or_url.end_cursor from the previous response to fetch the next page of results.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/v2/post-likes" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"code_or_url": "DRhvwVLAHAG"
}'Đặ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.
code_or_urlstringbắt buộcPost shortcode or full URL
end_cursorstringPagination cursor from previous response
Đâ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 Post Likes (V2)API này Instagram | $0.002 mỗi lần gọi | JSON |
Instagram | $0.002 mỗi lần gọi | JSON |
Instagram | $0.002 mỗi lần gọi | JSON |
Instagram | $0.002 mỗi lần gọi | JSON |
Instagram | $0.002 mỗi lần gọi | JSON |
Instagram | $0.002 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/v2/post-likes 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.002 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.
Bắt buộc: code_or_url (string). Tùy chọn: end_cursor (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. Instagram Post Likes (V2) 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.