Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Instagram User Tagged Posts (V3)

Tài liệu 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.

Giá
$0.008USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 5 tùy chọn

Phòng thử nghiệm

Đầu vào
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) Phạm vi: 1 đến 50.
Posts per page for backward pagination, use with `before`
Đầu raVí dụ
Phản hồioutputs · 11.4 KB · 160 dòng
[
  {
    "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
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON

Hướng dẫn:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Instagram User Tagged Posts (V3)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v3/user-tagged-posts 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.

API Instagram User Tagged Posts (V3) có giá bao nhiêu?

$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ý.

API Instagram User Tagged Posts (V3) chấp nhận những tham số nào?

Bắt buộc: username (string). Tùy chọn: after (string), before (string), count (integer), first (integer) và last (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Instagram User Tagged Posts (V3) trả về gì?

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.

Tôi có cần tài khoản nhà phát triển hoặc API key của Instagram không?

Không. Instagram User Tagged Posts (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.