code_or_urlstring必填
Post shortcode or full URL
https://api.sandbase.ai/v1/api/instagram/v2/post-commentsReturns comments from an Instagram post, including comment text, user details, and like counts. Accepts a post shortcode or URL with options to sort by recent or popular comments and paginate results.
[
{
"data": {
"data": {
"additional_data": {
"ai_topic_filters": [],
"caption": {
"content_type": "comment",
"created_at": 1770377722,
"created_at_for_fb_app": 1770377722,
"created_at_utc": 1770377722,
"did_report_as_spam": false,
"hashtags": [],
"id": "18066362081641928",
"is_covered": false,
"is_created_by_media_owner": true,
"is_ranked_comment": true,
"mentions": [],
"private_reply_status": 0,
"share_enabled": true,
"text": "breeze breeze breeze 🌀🌀🌀",
"type": 1,
"user": {
"fbid_v2": "17841464450204076",
"full_name": "Gigi",
"id": "64352612340",
"is_private": false,
"is_unpublished": false,
"is_verified": false,
"profile_pic_id": "3946880307500807853",
"profile_pic_url": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-19/754250350_17963106291148341_7483633330144180762_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=102&ig_cache_key=GG7y9Cw15ouZWdE-ABp6hCDdNNtnbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy42NTkuQzMifQ%3D%3D&_nc_ohc=J6aAV0S8ML8Q7kNvwEiDNBP&_nc_oc=AdoD1aYQJV16v6a40an6OAAnlTumJ14wAJvYBYJFWMtDt1a7jfeOr-o80ue-G4vrRvk&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-lax3-1.cdninstagram.com&_nc_gid=nybIcFULET-rfVhRFHFpEg&_nc_ss=733ba&oh=00_AQM1aqRQyZs-6xox3DK9xvJy1aOrcg0-2iqBn-cksND0tQ&oe=6ACAC23F",
"username": "hiyroze"
},
"user_id": "64352612340"
},
"caption_is_edited": false,
"comment_cover_pos": "bottom",
"comment_filter_param": "no_filter",
"comment_likes_enabled": true,
"fb_comments": [],
"filter_options": [],
"foundation_improvements_enabled": true,
"geoblocked_comment_notices": [],
"has_more_headload_fb_comments": false,
"media_header_display": "none",
"quick_response_emojis": [
{
"unicode": "❤️"
},
{
"unicode": "🙌"
},
{
"unicode": "🔥"
},
"… 5 more items in the full response"
],
"should_render_upsell": false,
"sort_options": []
},
"count": 7,
"items": [
{
"child_comment_count": 0,
"comment_index": 0,
"comment_like_count": 2,
"content_type": "comment",
"created_at": 1770378260,
"created_at_for_fb_app": 1770378260,
"created_at_utc": 1770378260,
"did_report_as_spam": false,
"has_disliked_comment": false,
"has_liked_comment": false,
"hashtags": [],
"id": "17970092114852855",
"inline_composer_display_condition": "never",
"is_covered": false,
"is_edited": false,
"is_photo_comments_enabled_for_comment_author": false,
"is_pinned": false,
"is_ranked_comment": true,
"is_text_editable": false,
"keywords_data": [],
"liked_by_media_coauthors": [],
"mentions": [],
"meta_ai_comment_type": "NONE",
"other_preview_users": [],
"preview_child_comments": [],
"private_reply_status": 0,
"share_enabled": true,
"text": "luvvvvvvv🖤🖤🖤",
"type": 0,
"user": {
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"fbid_v2": "17841403408954840",
"full_name": "Lingga S. P.",
"id": "3558721631",
"is_mentionable": true,
"is_private": false,
"is_verified": false,
"latest_reel_media": 1791258994,
"profile_pic_id": "3955241250307294885",
"profile_pic_url": "https://scontent-lax7-1.cdninstagram.com/v/t51.82787-19/762008208_18466154488113632_2591129171500260587_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=101&ig_cache_key=GJBSay3gqaGi3ppBAOvcbMpAivUjbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=efdE1myYa4cQ7kNvwHva9hx&_nc_oc=AdrJnOR9Y8JblRT3rOxFWHV_w6xo_LItPjtziNucaNRldK21Js4sjxsYUmWryRSfUfw&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-lax7-1.cdninstagram.com&_nc_gid=nybIcFULET-rfVhRFHFpEg&_nc_ss=733ba&oh=00_AQNZr2S6grVa2PGC7mLCdhCJ0atW6ZtlYJ4T1qQCQ39J3A&oe=6ACAADEE",
"qe_use_smaller_comment_like_tap_target": false,
"username": "xxggaandwx"
},
"user_id": "3558721631"
},
{
"child_comment_count": 0,
"comment_index": 1,
"comment_like_count": 1,
"content_type": "comment",
"created_at": 1770380760,
"created_at_for_fb_app": 1770380760,
"created_at_utc": 1770380760,
"did_report_as_spam": false,
"has_disliked_comment": false,
"has_liked_comment": false,
"hashtags": [],
"id": "18120101017510226",
"inline_composer_display_condition": "never",
"is_covered": false,
"is_edited": false,
"is_photo_comments_enabled_for_comment_author": false,
"is_pinned": false,
"is_ranked_comment": true,
"is_text_editable": false,
"keywords_data": [],
"liked_by_media_coauthors": [],
"mentions": [],
"meta_ai_comment_type": "NONE",
"other_preview_users": [],
"preview_child_comments": [],
"private_reply_status": 0,
"share_enabled": true,
"text": "😍",
"type": 0,
"user": {
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"fbid_v2": "17841408399082142",
"full_name": "8386",
"id": "8257143969",
"is_mentionable": false,
"is_private": true,
"is_verified": false,
"profile_pic_id": "3913622255758952741",
"profile_pic_url": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/718942755_18316389538279970_7470716281683790025_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=111&ig_cache_key=GCMy2ioiMv-DqBJBAMlIfWvgUK1nbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=Y-HSlOF_224Q7kNvwHl6XiI&_nc_oc=Adp9vqPSQGjN0SktXdZzw8YjWc9zBAihSl18PhKsDCZ-QS_768P_Fwh9MbrUh9SE2CU&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-lax3-2.cdninstagram.com&_nc_gid=nybIcFULET-rfVhRFHFpEg&_nc_ss=733ba&oh=00_AQNi3IsNxDbZGAc0elUpQvZGFCAoucg4Xlrw66VWmlEg0w&oe=6ACAC5AF",
"qe_use_smaller_comment_like_tap_target": false,
"username": "konroi50"
},
"user_id": "8257143969"
},
{
"child_comment_count": 0,
"comment_index": 2,
"comment_like_count": 1,
"content_type": "comment",
"created_at": 1770465430,
"created_at_for_fb_app": 1770465430,
"created_at_utc": 1770465430,
"did_report_as_spam": false,
"has_disliked_comment": false,
"has_liked_comment": false,
"hashtags": [],
"id": "18020751824801830",
"inline_composer_display_condition": "never",
"is_covered": false,
"is_edited": false,
"is_photo_comments_enabled_for_comment_author": false,
"is_pinned": false,
"is_ranked_comment": true,
"is_text_editable": false,
"keywords_data": [],
"liked_by_media_coauthors": [],
"mentions": [],
"meta_ai_comment_type": "NONE",
"other_preview_users": [],
"preview_child_comments": [],
"private_reply_status": 0,
"share_enabled": true,
"text": "So incredibly beautiful ❤️",
"type": 0,
"user": {
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"fbid_v2": "17841478113898658",
"full_name": "jim blaze",
"id": "78149267796",
"is_mentionable": true,
"is_private": false,
"is_verified": false,
"latest_reel_media": 0,
"profile_pic_id": "3764395301835210036",
"profile_pic_url": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/581679422_17846129121603797_59515419485813003_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=106&ig_cache_key=GD65qyLVsOi69WY-AAs5HG31cNMAbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy45NjAuQzMifQ%3D%3D&_nc_ohc=vMKlccx1yKYQ7kNvwFCg6Ij&_nc_oc=Adq6hyEYWVao8vjsS3gjBrS8q2VrS-llBZaasjbWl24SFJeJK87ur12k3u3TrB5h39o&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-lax3-2.cdninstagram.com&_nc_gid=nybIcFULET-rfVhRFHFpEg&_nc_ss=733ba&oh=00_AQMonoDTJE57WMqbkb44lCLiag-uDbsAgbBg8FDcXRQb5g&oe=6ACACEA1",
"qe_use_smaller_comment_like_tap_target": false,
"username": "sockmonkey79"
},
"user_id": "78149267796"
},
"… 4 more items in the full response"
],
"total": 49
},
"pagination_token": "GU1VBBoTABtzfUdDUApME1EebgdUH0MASypGJklWFA87WgQHNhwGVwQwAydDVVA1TVQSMw5CAGscNhpUDB1HFWgiTzkdNB0HKG0dPwIsESpDH2gdUDcYRwpfMDYXOgNRXyJbNiwxFS8YVQ0yAEAtGg4lXykbOBkJEDAkACYvNAoMC0IKHR8tXFsyNiM4NR0WBBQrBTksNAsON1AnOlRfPkYyTQoQNQQwHGYAKAAAAS1SAUIFVSgTIgcoDi4qMhEpQxxEMhEZLSAEGgc_DCERBRs1XyJaLxELLSAEPxBABCgHGRs5SB9KKE89NisWOSY8HDcfPjYgQy5RM1gLUwhfNVc5RyhKK207VFJGHVI6AzhVHUAI"
}
}
]選擇一個範例,將其輸入與結果載入 playground。
Returns comments on an Instagram post, including the comment text, like count, reply count and basic details about the commenter. It needs a post shortcode or full post URL in code_or_url.
sort_by set to popular.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code_or_url": "DUajw4YkorV"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
code_or_url | string | Yes | Post shortcode or full URL |
pagination_token | string | No | Pagination token from previous response |
sort_by | string | No | Sort by "recent" or "popular", default recent |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"additional_data": {
"ai_topic_filters": [],
"caption": {
"content_type": "comment",
"created_at": 1770377722,
"created_at_for_fb_app": 1770377722,
"created_at_utc": 1770377722,
"did_report_as_spam": false,
"hashtags": [],
"id": "18066362081641928",
"is_covered": false
},
"caption_is_edited": false,
"comment_cover_pos": "bottom",
"comment_filter_param": "no_filter",
"comment_likes_enabled": true,
"fb_comments": [],
"filter_options": [],
"foundation_improvements_enabled": true,
"geoblocked_comment_notices": [],
"has_more_headload_fb_comments": false,
"media_header_display": "none"
},
"count": 7,
"items": [
{
"child_comment_count": 0,
"comment_index": 0,
"comment_like_count": 2,
"content_type": "comment",
"created_at": 1770378260,
"created_at_for_fb_app": 1770378260,
"created_at_utc": 1770378260,
"did_report_as_spam": false,
"has_disliked_comment": false,
"has_liked_comment": false,
"hashtags": [],
"id": "17970092114852855"
}
],
"total": 49
},
"pagination_token": "GU1VBBoT…"
}
| Field | Meaning |
|---|---|
data.items[].text | Text of the comment. It is an empty string when the comment contains only a GIF. |
data.items[].id | ID of the comment. Use it to look up replies to that comment. |
data.items[].comment_like_count | Number of likes on the comment. |
data.items[].child_comment_count | Number of replies to the comment. |
data.items[].created_at / data.items[].created_at_utc | Time the comment was posted, as a Unix timestamp in seconds. |
data.items[].user.id / data.items[].user_id | ID of the account that wrote the comment. |
data.items[].user.full_name | Display name of the commenter. |
data.items[].user.is_private / data.items[].user.is_verified | Flags that show whether the commenter's account is private and whether it is verified. |
data.items[].is_pinned | Shows whether the comment is pinned on the post. |
data.items[].giphy_media_info.title | Title of the GIF when the comment is a GIF. The images object holds the GIF file links. |
data.total | Total comment count reported for the post. |
pagination_token | Token that selects the next page of comments. |
https://www.instagram.com/p/DUajw4YkorV/ the shortcode is DUajw4YkorV.pagination_token with the same code_or_url and sort_by values.sort_by accepts recent or popular. The default is recent.id.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sort_by": "recent",
"code_or_url": "DUajw4YkorV",
"pagination_token": ""
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
code_or_urlstring必填Post shortcode or full URL
pagination_tokenstringPagination token from previous response
預設:""
sort_bystringSort by "recent" or "popular", default recent
預設:"recent"
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"data": {
"additional_data": {
"ai_topic_filters": [],
"caption": {
"content_type": "comment",
"created_at": 1770377722,
"created_at_for_fb_app": 1770377722,
"created_at_utc": 1770377722,
"did_report_as_spam": false,
"hashtags": [],
"id": "18066362081641928",
"is_covered": false,
"is_created_by_media_owner": true,
"is_ranked_comment": true,
"mentions": [],
"private_reply_status": 0,
"share_enabled": true,
"text": "breeze breeze breeze 🌀🌀🌀",
"type": 1,
"user": {
"fbid_v2": "17841464450204076",
"full_name": "Gigi",
"id": "64352612340",
"is_private": false,
"is_unpublished": false,
"is_verified": false,
"profile_pic_id": "3946880307500807853",
"profile_pic_url": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-19/754250350_17963106291148341_7483633330144180762_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=102&ig_cache_key=GG7y9Cw15ouZWdE-ABp6hCDdNNtnbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy42NTkuQzMifQ%3D%3D&_nc_ohc=J6aAV0S8ML8Q7kNvwEiDNBP&_nc_oc=AdoD1aYQJV16v6a40an6OAAnlTumJ14wAJvYBYJFWMtDt1a7jfeOr-o80ue-G4vrRvk&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-lax3-1.cdninstagram.com&_nc_gid=nybIcFULET-rfVhRFHFpEg&_nc_ss=733ba&oh=00_AQM1aqRQyZs-6xox3DK9xvJy1aOrcg0-2iqBn-cksND0tQ&oe=6ACAC23F",
"username": "hiyroze"
},
"user_id": "64352612340"
},
"caption_is_edited": false,
"comment_cover_pos": "bottom",
"comment_filter_param": "no_filter",
"comment_likes_enabled": true,
"fb_comments": [],
"filter_options": [],
"foundation_improvements_enabled": true,
"geoblocked_comment_notices": [],
"has_more_headload_fb_comments": false,
"media_header_display": "none",
"quick_response_emojis": [
{
"unicode": "❤️"
},
{
"unicode": "🙌"
},
{
"unicode": "🔥"
},
"… 5 more items in the full response"
],
"should_render_upsell": false,
"sort_options": []
},
"count": 7,
"items": [
{
"child_comment_count": 0,
"comment_index": 0,
"comment_like_count": 2,
"content_type": "comment",
"created_at": 1770378260,
"created_at_for_fb_app": 1770378260,
"created_at_utc": 1770378260,
"did_report_as_spam": false,
"has_disliked_comment": false,
"has_liked_comment": false,
"hashtags": [],
"id": "17970092114852855",
"inline_composer_display_condition": "never",
"is_covered": false,
"is_edited": false,
"is_photo_comments_enabled_for_comment_author": false,
"is_pinned": false,
"is_ranked_comment": true,
"is_text_editable": false,
"keywords_data": [],
"liked_by_media_coauthors": [],
"mentions": [],
"meta_ai_comment_type": "NONE",
"other_preview_users": [],
"preview_child_comments": [],
"private_reply_status": 0,
"share_enabled": true,
"text": "luvvvvvvv🖤🖤🖤",
"type": 0,
"user": {
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"fbid_v2": "17841403408954840",
"full_name": "Lingga S. P.",
"id": "3558721631",
"is_mentionable": true,
"is_private": false,
"is_verified": false,
"latest_reel_media": 1791258994,
"profile_pic_id": "3955241250307294885",
"profile_pic_url": "https://scontent-lax7-1.cdninstagram.com/v/t51.82787-19/762008208_18466154488113632_2591129171500260587_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=101&ig_cache_key=GJBSay3gqaGi3ppBAOvcbMpAivUjbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=efdE1myYa4cQ7kNvwHva9hx&_nc_oc=AdrJnOR9Y8JblRT3rOxFWHV_w6xo_LItPjtziNucaNRldK21Js4sjxsYUmWryRSfUfw&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-lax7-1.cdninstagram.com&_nc_gid=nybIcFULET-rfVhRFHFpEg&_nc_ss=733ba&oh=00_AQNZr2S6grVa2PGC7mLCdhCJ0atW6ZtlYJ4T1qQCQ39J3A&oe=6ACAADEE",
"qe_use_smaller_comment_like_tap_target": false,
"username": "xxggaandwx"
},
"user_id": "3558721631"
},
{
"child_comment_count": 0,
"comment_index": 1,
"comment_like_count": 1,
"content_type": "comment",
"created_at": 1770380760,
"created_at_for_fb_app": 1770380760,
"created_at_utc": 1770380760,
"did_report_as_spam": false,
"has_disliked_comment": false,
"has_liked_comment": false,
"hashtags": [],
"id": "18120101017510226",
"inline_composer_display_condition": "never",
"is_covered": false,
"is_edited": false,
"is_photo_comments_enabled_for_comment_author": false,
"is_pinned": false,
"is_ranked_comment": true,
"is_text_editable": false,
"keywords_data": [],
"liked_by_media_coauthors": [],
"mentions": [],
"meta_ai_comment_type": "NONE",
"other_preview_users": [],
"preview_child_comments": [],
"private_reply_status": 0,
"share_enabled": true,
"text": "😍",
"type": 0,
"user": {
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"fbid_v2": "17841408399082142",
"full_name": "8386",
"id": "8257143969",
"is_mentionable": false,
"is_private": true,
"is_verified": false,
"profile_pic_id": "3913622255758952741",
"profile_pic_url": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/718942755_18316389538279970_7470716281683790025_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=111&ig_cache_key=GCMy2ioiMv-DqBJBAMlIfWvgUK1nbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=Y-HSlOF_224Q7kNvwHl6XiI&_nc_oc=Adp9vqPSQGjN0SktXdZzw8YjWc9zBAihSl18PhKsDCZ-QS_768P_Fwh9MbrUh9SE2CU&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-lax3-2.cdninstagram.com&_nc_gid=nybIcFULET-rfVhRFHFpEg&_nc_ss=733ba&oh=00_AQNi3IsNxDbZGAc0elUpQvZGFCAoucg4Xlrw66VWmlEg0w&oe=6ACAC5AF",
"qe_use_smaller_comment_like_tap_target": false,
"username": "konroi50"
},
"user_id": "8257143969"
},
{
"child_comment_count": 0,
"comment_index": 2,
"comment_like_count": 1,
"content_type": "comment",
"created_at": 1770465430,
"created_at_for_fb_app": 1770465430,
"created_at_utc": 1770465430,
"did_report_as_spam": false,
"has_disliked_comment": false,
"has_liked_comment": false,
"hashtags": [],
"id": "18020751824801830",
"inline_composer_display_condition": "never",
"is_covered": false,
"is_edited": false,
"is_photo_comments_enabled_for_comment_author": false,
"is_pinned": false,
"is_ranked_comment": true,
"is_text_editable": false,
"keywords_data": [],
"liked_by_media_coauthors": [],
"mentions": [],
"meta_ai_comment_type": "NONE",
"other_preview_users": [],
"preview_child_comments": [],
"private_reply_status": 0,
"share_enabled": true,
"text": "So incredibly beautiful ❤️",
"type": 0,
"user": {
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"fbid_v2": "17841478113898658",
"full_name": "jim blaze",
"id": "78149267796",
"is_mentionable": true,
"is_private": false,
"is_verified": false,
"latest_reel_media": 0,
"profile_pic_id": "3764395301835210036",
"profile_pic_url": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/581679422_17846129121603797_59515419485813003_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=106&ig_cache_key=GD65qyLVsOi69WY-AAs5HG31cNMAbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy45NjAuQzMifQ%3D%3D&_nc_ohc=vMKlccx1yKYQ7kNvwFCg6Ij&_nc_oc=Adq6hyEYWVao8vjsS3gjBrS8q2VrS-llBZaasjbWl24SFJeJK87ur12k3u3TrB5h39o&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-lax3-2.cdninstagram.com&_nc_gid=nybIcFULET-rfVhRFHFpEg&_nc_ss=733ba&oh=00_AQMonoDTJE57WMqbkb44lCLiag-uDbsAgbBg8FDcXRQb5g&oe=6ACACEA1",
"qe_use_smaller_comment_like_tap_target": false,
"username": "sockmonkey79"
},
"user_id": "78149267796"
},
"… 4 more items in the full response"
],
"total": 49
},
"pagination_token": "GU1VBBoTABtzfUdDUApME1EebgdUH0MASypGJklWFA87WgQHNhwGVwQwAydDVVA1TVQSMw5CAGscNhpUDB1HFWgiTzkdNB0HKG0dPwIsESpDH2gdUDcYRwpfMDYXOgNRXyJbNiwxFS8YVQ0yAEAtGg4lXykbOBkJEDAkACYvNAoMC0IKHR8tXFsyNiM4NR0WBBQrBTksNAsON1AnOlRfPkYyTQoQNQQwHGYAKAAAAS1SAUIFVSgTIgcoDi4qMhEpQxxEMhEZLSAEGgc_DCERBRs1XyJaLxELLSAEPxBABCgHGRs5SB9KKE89NisWOSY8HDcfPjYgQy5RM1gLUwhfNVc5RyhKK207VFJGHVI6AzhVHUAI"
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
Instagram | 每次呼叫 $0.002 | JSON |
Instagram | 每次呼叫 $0.002 | JSON |
Instagram | 每次呼叫 $0.002 | JSON |
Instagram | 每次呼叫 $0.002 | JSON |
Instagram | 每次呼叫 $0.002 | JSON |
Instagram | 每次呼叫 $0.002 | JSON |
指南:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/instagram/v2/post-comments。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.002。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。
必要:code_or_url (string)。 選填:pagination_token (string) 和 sort_by (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Instagram Post Comments (V2) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Instagram API 存取權。