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.008 每次调用JSON
Instagram$0.008 每次调用JSON
Instagram$0.008 每次调用JSON
Instagram$0.008 每次调用JSON
Instagram$0.002 每次调用JSON
Instagram$0.008 每次调用JSON

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

问题

常见问题

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

向 https://api.sandbase.ai/v1/api/instagram/v3/user-tagged-posts 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。Instagram User Tagged Posts (V3) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Instagram API 访问权限。