Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Instagram User Tagged Posts (V3)

API 文件
https://api.sandbase.ai/v1/api/instagram/v3/user-tagged-posts

Returns a list of posts where a specified Instagram account is tagged by other users. Supports both forward and backward cursor pagination.

價格
$0.008美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 5 個選填

Playground

輸入
Instagram username (required)
Forward pagination cursor, from previous response `data.page_info.end_cursor`
Backward pagination cursor, from previous response `data.page_info.start_cursor`
Number of posts for first request (default 12)
150
Posts per page for forward pagination (default 12, max 50) 範圍:1 到 50。
Posts per page for backward pagination, use with `before`
輸出範例
回應outputs · 11.4 KB · 160 行
[
  {
    "data": {
      "_rid": "3818e86db9eb5",
      "count": 12,
      "data": {
        "user": {
          "edge_user_to_photos_of_you": {
            "count": 12,
            "edges": [
              {
                "node": {
                  "caption_text": "Uma homenagem a rede social que contribui muito para divulgação do meu trabalho.\n.\nO Instagram tem sido para mim muito mais que uma simples rede social; essa plataforma que além de criar uma conexão com pessoas que queremos por perto, tem ajudado assim como eu  milhões de pessoas a divulgar o seu negócio.\nEssa poderosa Midia social, gerou milhares de empregos, e continua dando a oportunidade para todos os que desejam divulgar o que fazem de melhor.\n.\n.\n\nA tribute to the social network that contributes a lot to spread my work. . For me, Instagram has been much more than just a social network; t…",
                  "code": "B89prebFBcw",
                  "comment_count": 10252,
                  "id": "2251138696266127152_3021079942",
                  "is_video": false,
                  "like_count": 149724,
                  "media_type": 1,
                  "owner": {
                    "full_name": "LUCAS RAMOS MENDES ®",
                    "is_verified": true,
                    "pk": "3021079942",
                    "username": "lucasramosmendes"
                  },
                  "pk": "2251138696266127152",
                  "shortcode": "B89prebFBcw",
                  "taken_at": null,
                  "thumbnail_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-15/621585839_18092087866989349_3372003390585135619_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&cb=30a688f7-99daaf84&ig_cache_key=MjI1MTEzODY5NjI2NjEyNzE1Mg%3D%3D.3-ccb7-5-cb30a688f7-99daaf84&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMiJ9&_nc_ohc=0hRwbC2qB7kQ7kNvwEzUwr6&_nc_oc=AdqgqeGinxksi_dTfjb8zXEyhyc4-4juLDzgsLexCUQFqGRy_vBYOwlD8ighGwnqfRo&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=8&_nc_ht=instagram.fpit1-1.fna&_nc_gid=SkpXXpWcEJDpttzBZa2ifw&_nc_ss=7f3ba&oh=00_AQO1uJezWu2D1AH…",
                  "video_url": null,
                  "view_count": 0
                }
              },
              {
                "node": {
                  "caption_text": "Watercolor pie of the day featuring the @instagram logo 🎨 This was probably the most difficult pie to date ... getting those shapes even and colors blended was definitely a challenge ... but it was still fun! It's always fun 😊 What should I put on a pie next? Would love your suggestions! ✨ Also, if you have questions about pies, pie crusts, decorating a pie, or watercoloring decorations, please leave those in the comments. I'll include all the answers in an upcoming blog and video. Thank you for following along and sharing the pies on your own feeds! I hope lots of you make bright, beautiful…",
                  "code": "BZjiFdvH4Pk",
                  "comment_count": 4993,
                  "id": "1613283000636638180_14814182",
                  "is_video": false,
                  "like_count": 121803,
                  "media_type": 1,
                  "owner": {
                    "full_name": "Marie Saba",
                    "is_verified": true,
                    "pk": "14814182",
                    "username": "mariesaba"
                  },
                  "pk": "1613283000636638180",
                  "shortcode": "BZjiFdvH4Pk",
                  "taken_at": null,
                  "thumbnail_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-15/639718058_18563356933006799_7810905984243737895_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=104&_nc_map=urlgen_bucketless&cb=30a688f7-99daaf84&ig_cache_key=MTYxMzI4MzAwMDYzNjYzODE4MA%3D%3D.3-ccb7-5-cb30a688f7-99daaf84&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTAyNC5zZHIucmVndWxhcl9waG90by5DMiJ9&_nc_ohc=pGAvo1dxO2wQ7kNvwGBbSmk&_nc_oc=AdpHGXBiONsW-Hy-S0W1l9jRDZ3CkeilJuTNEd2QLvJJ9YLlJNbw47YRFp8y46FsmkY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=8&_nc_ht=instagram.fpit1-1.fna&_nc_gid=SkpXXpWcEJDpttzBZa2ifw&_nc_ss=7f3ba&oh=00_AQO8O25EXO6UjOj…",
                  "video_url": null,
                  "view_count": 0
                }
              },
              {
                "node": {
                  "caption_text": "Dear @instagram it was great to be able to join in your big event #wwim11 It was my first wwim to be honest. More than connecting people, travelling, or capturing moments, that was about togetherness and happiness. \nThat's an IG logo that we've create using our phone as a device to capture and share moment, mostly. -\n-\n-\n-\nTerima Kasih @instagram",
                  "code": "0jx6_fTQK1",
                  "comment_count": 5210,
                  "id": "946819904857506485_261284927",
                  "is_video": false,
                  "like_count": 134833,
                  "media_type": 1,
                  "owner": {
                    "full_name": "Dimas Adila Putra",
                    "is_verified": false,
                    "pk": "261284927",
                    "username": "dimazadila"
                  },
                  "pk": "946819904857506485",
                  "shortcode": "0jx6_fTQK1",
                  "taken_at": null,
                  "thumbnail_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-15/618227312_18554624863036928_2206315935492678337_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&cb=30a688f7-99daaf84&ig_cache_key=OTQ2ODE5OTA0ODU3NTA2NDg1.3-ccb7-5-cb30a688f7-99daaf84&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuNjQwLnNkci5yZWd1bGFyX3Bob3RvLkMyIn0%3D&_nc_ohc=QDXtnqRe1HEQ7kNvwE33Unb&_nc_oc=Adr2y9qGHxUh4XBJSWGUa5NzBSVOGV31wT0lfyum1Wkm6T8dAD1gn1QpUBwhYu9OtSk&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.fpit1-1.fna&_nc_gid=SkpXXpWcEJDpttzBZa2ifw&_nc_ss=7f3ba&oh=00_AQMb9jPBUS_cDyWVNN45zXIQru…",
                  "video_url": null,
                  "view_count": 0
                }
              },
              "… 9 more items in the full response"
            ],
            "page_info": {
              "end_cursor": null,
              "has_next_page": false,
              "has_previous_page": false,
              "start_cursor": null
            }
          }
        }
      },
      "items": [
        {
          "caption_text": "Uma homenagem a rede social que contribui muito para divulgação do meu trabalho.\n.\nO Instagram tem sido para mim muito mais que uma simples rede social; essa plataforma que além de criar uma conexão com pessoas que queremos por perto, tem ajudado assim como eu  milhões de pessoas a divulgar o seu negócio.\nEssa poderosa Midia social, gerou milhares de empregos, e continua dando a oportunidade para todos os que desejam divulgar o que fazem de melhor.\n.\n.\n\nA tribute to the social network that contributes a lot to spread my work. . For me, Instagram has been much more than just a social network; t…",
          "code": "B89prebFBcw",
          "comment_count": 10252,
          "id": "2251138696266127152_3021079942",
          "is_video": false,
          "like_count": 149724,
          "media_type": 1,
          "owner": {
            "full_name": "LUCAS RAMOS MENDES ®",
            "is_verified": true,
            "pk": "3021079942",
            "username": "lucasramosmendes"
          },
          "pk": "2251138696266127152",
          "shortcode": "B89prebFBcw",
          "taken_at": null,
          "thumbnail_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-15/621585839_18092087866989349_3372003390585135619_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&cb=30a688f7-99daaf84&ig_cache_key=MjI1MTEzODY5NjI2NjEyNzE1Mg%3D%3D.3-ccb7-5-cb30a688f7-99daaf84&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMiJ9&_nc_ohc=0hRwbC2qB7kQ7kNvwEzUwr6&_nc_oc=AdqgqeGinxksi_dTfjb8zXEyhyc4-4juLDzgsLexCUQFqGRy_vBYOwlD8ighGwnqfRo&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=8&_nc_ht=instagram.fpit1-1.fna&_nc_gid=SkpXXpWcEJDpttzBZa2ifw&_nc_ss=7f3ba&oh=00_AQO1uJezWu2D1AH…",
          "video_url": null,
          "view_count": 0
        },
        {
          "caption_text": "Watercolor pie of the day featuring the @instagram logo 🎨 This was probably the most difficult pie to date ... getting those shapes even and colors blended was definitely a challenge ... but it was still fun! It's always fun 😊 What should I put on a pie next? Would love your suggestions! ✨ Also, if you have questions about pies, pie crusts, decorating a pie, or watercoloring decorations, please leave those in the comments. I'll include all the answers in an upcoming blog and video. Thank you for following along and sharing the pies on your own feeds! I hope lots of you make bright, beautiful…",
          "code": "BZjiFdvH4Pk",
          "comment_count": 4993,
          "id": "1613283000636638180_14814182",
          "is_video": false,
          "like_count": 121803,
          "media_type": 1,
          "owner": {
            "full_name": "Marie Saba",
            "is_verified": true,
            "pk": "14814182",
            "username": "mariesaba"
          },
          "pk": "1613283000636638180",
          "shortcode": "BZjiFdvH4Pk",
          "taken_at": null,
          "thumbnail_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-15/639718058_18563356933006799_7810905984243737895_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=104&_nc_map=urlgen_bucketless&cb=30a688f7-99daaf84&ig_cache_key=MTYxMzI4MzAwMDYzNjYzODE4MA%3D%3D.3-ccb7-5-cb30a688f7-99daaf84&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTAyNC5zZHIucmVndWxhcl9waG90by5DMiJ9&_nc_ohc=pGAvo1dxO2wQ7kNvwGBbSmk&_nc_oc=AdpHGXBiONsW-Hy-S0W1l9jRDZ3CkeilJuTNEd2QLvJJ9YLlJNbw47YRFp8y46FsmkY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=8&_nc_ht=instagram.fpit1-1.fna&_nc_gid=SkpXXpWcEJDpttzBZa2ifw&_nc_ss=7f3ba&oh=00_AQO8O25EXO6UjOj…",
          "video_url": null,
          "view_count": 0
        },
        {
          "caption_text": "Dear @instagram it was great to be able to join in your big event #wwim11 It was my first wwim to be honest. More than connecting people, travelling, or capturing moments, that was about togetherness and happiness. \nThat's an IG logo that we've create using our phone as a device to capture and share moment, mostly. -\n-\n-\n-\nTerima Kasih @instagram",
          "code": "0jx6_fTQK1",
          "comment_count": 5210,
          "id": "946819904857506485_261284927",
          "is_video": false,
          "like_count": 134833,
          "media_type": 1,
          "owner": {
            "full_name": "Dimas Adila Putra",
            "is_verified": false,
            "pk": "261284927",
            "username": "dimazadila"
          },
          "pk": "946819904857506485",
          "shortcode": "0jx6_fTQK1",
          "taken_at": null,
          "thumbnail_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-15/618227312_18554624863036928_2206315935492678337_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&cb=30a688f7-99daaf84&ig_cache_key=OTQ2ODE5OTA0ODU3NTA2NDg1.3-ccb7-5-cb30a688f7-99daaf84&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuNjQwLnNkci5yZWd1bGFyX3Bob3RvLkMyIn0%3D&_nc_ohc=QDXtnqRe1HEQ7kNvwE33Unb&_nc_oc=Adr2y9qGHxUh4XBJSWGUa5NzBSVOGV31wT0lfyum1Wkm6T8dAD1gn1QpUBwhYu9OtSk&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.fpit1-1.fna&_nc_gid=SkpXXpWcEJDpttzBZa2ifw&_nc_ss=7f3ba&oh=00_AQMb9jPBUS_cDyWVNN45zXIQru…",
          "video_url": null,
          "view_count": 0
        },
        "… 9 more items in the full response"
      ],
      "next_max_id": null
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Instagram User Tagged Posts (V3) API

Retrieve posts where a targeted account has been tagged by querying with username. Supports cursor pagination via parameters like after, before, first, and last.

Use cases

  • Monitor user-generated content and brand mentions across tagged media.
  • Track engagement metrics like like counts and comment counts on tagged posts.
  • Collect media feeds where a specific creator or brand has been tagged.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/user-tagged-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "instagram"}'

Parameters

NameTypeRequiredDescription
usernamestringYesInstagram username (required)
lastintegerNoPosts per page for backward pagination, use with before
afterstringNoForward pagination cursor, from previous response data.page_info.end_cursor
countintegerNoNumber of posts for first request (default 12)
firstintegerNoPosts per page for forward pagination (default 12, max 50)
beforestringNoBackward pagination cursor, from previous response data.page_info.start_cursor

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "data": {
    "user": {
      "edge_user_to_photos_of_you": {
        "edges": [
          {
            "node": {
              "caption_text": "Uma homenagem a rede social que contribui muito para divulgação do meu trabalho. . O Inst…",
              "comment_count": 10252,
              "id": "2251138696266127152_3021079942",
              "like_count": 149724,
              "media_type": 1,
              "thumbnail_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-15/621585839_180920878669893…"
            }
          }
        ]
      }
    }
  }
}

Notes

  • username is required to locate the target account.
  • Use first (maximum 50, default 12) and after for forward pagination, or last and before for backward pagination.
  • Pagination cursors come from data.page_info.end_cursor and data.page_info.start_cursor.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
Instagram每次呼叫 $0.008JSON
Instagram每次呼叫 $0.008JSON
Instagram每次呼叫 $0.008JSON
Instagram每次呼叫 $0.008JSON
Instagram每次呼叫 $0.002JSON
Instagram每次呼叫 $0.008JSON

指南:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Instagram User Tagged Posts (V3) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/instagram/v3/user-tagged-posts。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Instagram User Tagged Posts (V3) API 的費用是多少?

每次 $0.008,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Instagram User Tagged Posts (V3) API 接受哪些參數?

必要:username (string)。 選填:after (string), before (string), count (integer), first (integer) 和 last (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Instagram User Tagged Posts (V3) API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Instagram 開發者帳號或 API 金鑰嗎?

不需要。Instagram User Tagged Posts (V3) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Instagram API 存取權。