Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Instagram User Tagged Posts (V1)

เอกสาร API
https://api.sandbase.ai/v1/api/instagram/v1/user-tagged-posts

Returns posts where a specific user is tagged by other accounts. Supports result limits and pagination through a cursor parameter.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 2 ไม่บังคับ

Playground

อินพุต
Instagram user ID
150
Count per page, default 12 ช่วง: 1 ถึง 50.
Pagination cursor, omit for first request
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 9.2 KB · 142 บรรทัด
[
  {
    "data": {
      "attempts": "661",
      "data": {
        "user": {
          "edge_user_to_photos_of_you": {
            "count": 11,
            "edges": [
              {
                "node": {
                  "__typename": "GraphImage",
                  "accessibility_caption": "Photo by LUCAS RAMOS MENDES ® in Florianópolis, Santa Catarina with @instagram, @faber_castell_br, and @rosiane_v_mendes. Keterangan foto tidak tersedia..",
                  "comments_disabled": false,
                  "dimensions": {
                    "height": 1350,
                    "width": 1080
                  },
                  "display_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/621585839_18092087866989349_3372003390585135619_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gE0SQ40YuMyPe0crBi7H0wlTSofnpm-ZyWksW_7zavDISDy0SVQllG9ca0QM_wx_m4&_nc_ohc=Mok1nYIqCzUQ7kNvwFxKhMX&_nc_gid=nbLalkOFcyGZKYGhusVtiw&edm=ALdeuSgBAAAA&ccb=7-5&ig_cache_key=MjI1MTEzODY5NjI2NjEyNzE1Mg%3D%3D.3-ccb7-5&oh=00_AQMXx3kXfhC06TjejdJlcSSvnWdv8xPx_uh6PtEPZ7T0nw&oe=6ACAA87C&_nc_sid=9fa07d",
                  "edge_liked_by": {
                    "count": 149724
                  },
                  "edge_media_preview_like": {
                    "count": 149724
                  },
                  "edge_media_to_caption": {
                    "edges": [
                      {
                        "node": {
                          "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…"
                        }
                      }
                    ]
                  },
                  "edge_media_to_comment": {
                    "count": 10252
                  },
                  "has_upcoming_event": false,
                  "id": "2251138696266127152",
                  "is_video": false,
                  "owner": {
                    "id": "3021079942",
                    "username": "lucasramosmendes"
                  },
                  "shortcode": "B89prebFBcw",
                  "taken_at_timestamp": 1582576666,
                  "thumbnail_src": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/621585839_18092087866989349_3372003390585135619_n.jpg?stp=c0.180.1440.1440a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gE0SQ40YuMyPe0crBi7H0wlTSofnpm-ZyWksW_7zavDISDy0SVQllG9ca0QM_wx_m4&_nc_ohc=Mok1nYIqCzUQ7kNvwFxKhMX&_nc_gid=nbLalkOFcyGZKYGhusVtiw&edm=ALdeuSgBAAAA&ccb=7-5&ig_cache_key=MjI1MTEzODY5NjI2NjEyNzE1Mg%3D%3D.3.c-ccb7-5&oh=00_AQPM5JXzB_w5PjiK8FJKtPtIRqw-5NQxgqWWvE1Yn7Hydg&oe=6ACAA87C&_nc_sid=9fa07d"
                }
              },
              {
                "node": {
                  "__typename": "GraphImage",
                  "accessibility_caption": "Photo by Marie Saba in Austin, Texas with @instagram. Keterangan foto tidak tersedia..",
                  "comments_disabled": false,
                  "dimensions": {
                    "height": 1080,
                    "width": 1080
                  },
                  "display_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/639718058_18563356933006799_7810905984243737895_n.jpg?stp=dst-jpg_e15_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=111&_nc_oc=Q6cZ2gE0SQ40YuMyPe0crBi7H0wlTSofnpm-ZyWksW_7zavDISDy0SVQllG9ca0QM_wx_m4&_nc_ohc=HgXIWwzcT9wQ7kNvwGaWdV9&_nc_gid=nbLalkOFcyGZKYGhusVtiw&edm=ALdeuSgBAAAA&ccb=7-5&ig_cache_key=MTYxMzI4MzAwMDYzNjYzODE4MA%3D%3D.3-ccb7-5&oh=00_AQN4rGiT4vcG3QF7AW_8ejIRatTelhueMWvwWG_XuH_3fg&oe=6ACAA90B&_nc_sid=9fa07d",
                  "edge_liked_by": {
                    "count": 121803
                  },
                  "edge_media_preview_like": {
                    "count": 121803
                  },
                  "edge_media_to_caption": {
                    "edges": [
                      {
                        "node": {
                          "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…"
                        }
                      }
                    ]
                  },
                  "edge_media_to_comment": {
                    "count": 4993
                  },
                  "has_upcoming_event": false,
                  "id": "1613283000636638180",
                  "is_video": false,
                  "owner": {
                    "id": "14814182",
                    "username": "mariesaba"
                  },
                  "shortcode": "BZjiFdvH4Pk",
                  "taken_at_timestamp": 1506538342,
                  "thumbnail_src": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/639718058_18563356933006799_7810905984243737895_n.jpg?stp=dst-jpg_e15_s640x640_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=111&_nc_oc=Q6cZ2gE0SQ40YuMyPe0crBi7H0wlTSofnpm-ZyWksW_7zavDISDy0SVQllG9ca0QM_wx_m4&_nc_ohc=HgXIWwzcT9wQ7kNvwGaWdV9&_nc_gid=nbLalkOFcyGZKYGhusVtiw&edm=ALdeuSgBAAAA&ccb=7-5&ig_cache_key=MTYxMzI4MzAwMDYzNjYzODE4MA%3D%3D.3-ccb7-5&oh=00_AQNX8cKIv1OaluTWq3Vb60qLJPYI5zwAzfBwrnsQoxXPCg&oe=6ACAA90B&_nc_sid=9fa07d"
                }
              },
              {
                "node": {
                  "__typename": "GraphImage",
                  "accessibility_caption": "Photo shared by Dimas Adila Putra on March 22, 2015 tagging @instagram. Keterangan foto tidak tersedia..",
                  "comments_disabled": false,
                  "dimensions": {
                    "height": 640,
                    "width": 640
                  },
                  "display_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/618227312_18554624863036928_2206315935492678337_n.jpg?stp=dst-jpg_e15_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=108&_nc_oc=Q6cZ2gE0SQ40YuMyPe0crBi7H0wlTSofnpm-ZyWksW_7zavDISDy0SVQllG9ca0QM_wx_m4&_nc_ohc=Sh1xDAlQAdMQ7kNvwFgGClC&_nc_gid=nbLalkOFcyGZKYGhusVtiw&edm=ALdeuSgBAAAA&ccb=7-5&ig_cache_key=OTQ2ODE5OTA0ODU3NTA2NDg1.3-ccb7-5&oh=00_AQP2CictvUhPtTiLXc1aXY_ko_H1GWBkSXoYY5EYWRgZHA&oe=6ACAA9E6&_nc_sid=9fa07d",
                  "edge_liked_by": {
                    "count": 134833
                  },
                  "edge_media_preview_like": {
                    "count": 134833
                  },
                  "edge_media_to_caption": {
                    "edges": [
                      {
                        "node": {
                          "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"
                        }
                      }
                    ]
                  },
                  "edge_media_to_comment": {
                    "count": 5210
                  },
                  "has_upcoming_event": false,
                  "id": "946819904857506485",
                  "is_video": false,
                  "owner": {
                    "id": "261284927",
                    "username": "dimazadila"
                  },
                  "shortcode": "0jx6_fTQK1",
                  "taken_at_timestamp": 1427089749,
                  "thumbnail_src": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/618227312_18554624863036928_2206315935492678337_n.jpg?stp=dst-jpg_e15_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=108&_nc_oc=Q6cZ2gE0SQ40YuMyPe0crBi7H0wlTSofnpm-ZyWksW_7zavDISDy0SVQllG9ca0QM_wx_m4&_nc_ohc=Sh1xDAlQAdMQ7kNvwFgGClC&_nc_gid=nbLalkOFcyGZKYGhusVtiw&edm=ALdeuSgBAAAA&ccb=7-5&ig_cache_key=OTQ2ODE5OTA0ODU3NTA2NDg1.3-ccb7-5&oh=00_AQP2CictvUhPtTiLXc1aXY_ko_H1GWBkSXoYY5EYWRgZHA&oe=6ACAA9E6&_nc_sid=9fa07d"
                }
              },
              "… 8 more items in the full response"
            ],
            "page_info": {
              "end_cursor": "QVFBQUtlNlpnYnZkTnN3M1FwbjlXQUowQ0hOdTIwY0x5cmhCbFZYaVpLcWZGdjFoRDh1RXVqeFdhOVBGd24wTUpFUGFJWUtNbXNCTmloSHMzR1B1a0Zucw==",
              "has_next_page": true
            }
          }
        }
      },
      "status": "ok"
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Instagram User Tagged Posts (V1) API

Returns posts where other accounts have tagged a given Instagram user. It needs the numeric Instagram user_id and returns one page of tagged posts with a cursor for the next page.

Use cases

  • Collect photos that fans and customers post with a brand account tagged.
  • Show community posts that feature a creator on a campaign or press page.
  • Rank tagged posts by like count to find the most visible user-generated content.
  • Read the location and co-tagged accounts in photo captions to see where and with whom people tag a profile.

Request

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

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
user_idstringYesInstagram user ID
countintegerNoCount per page, default 12
end_cursorstringNoPagination cursor, omit for first request

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "attempts": "71",
  "data": {
    "user": {
      "edge_user_to_photos_of_you": {
        "count": 11,
        "edges": [
          {
            "node": {
              "__typename": "GraphImage",
              "accessibility_caption": "Photo by LUCAS RAMOS MENDES ® in Florianópolis, Santa Catarina with @instagram, …",
              "comments_disabled": false,
              "dimensions": {
                "height": 1350,
                "width": 1080
              },
              "display_url": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t51.82787-15/621585839_180920878669893…",
              "edge_liked_by": {
                "count": 149572
              },
              "edge_media_preview_like": {
                "count": 149572
              },
              "edge_media_to_caption": {
                "edges": [
                  {
                    "node": {}
                  }
                ]
              }
            }
          }
        ],
        "page_info": {
          "end_cursor": "QVFCekpXTUFkN1FrbV9HcnY5TkdlV0xSZlg0Q2lvOW5hQWd2djl5aG1EUWlpc0RfRUpIdmZIVjA1T2pJ…",
          "has_next_page": true
        }
      }
    }
  },
  "status": "ok"
}

Response fields

FieldMeaning
data.user.edge_user_to_photos_of_you.countTotal number of tagged posts reported for the user.
data.user.edge_user_to_photos_of_you.edges[].node.__typenameMedia type of the post. The sample shows GraphImage for photo posts.
data.user.edge_user_to_photos_of_you.edges[].node.accessibility_captionAuto-written description of the post. It often names the poster, the place, and the tagged accounts.
data.user.edge_user_to_photos_of_you.edges[].node.display_urlLink to the post image.
data.user.edge_user_to_photos_of_you.edges[].node.dimensions.height / data.user.edge_user_to_photos_of_you.edges[].node.dimensions.widthHeight and width of the image.
data.user.edge_user_to_photos_of_you.edges[].node.edge_liked_by.count / data.user.edge_user_to_photos_of_you.edges[].node.edge_media_preview_like.countNumber of likes on the post. Both fields hold the same value in the sample.
data.user.edge_user_to_photos_of_you.edges[].node.comments_disabledtrue when comments are turned off for the post.
data.user.edge_user_to_photos_of_you.edges[].node.edge_media_to_caption.edges[].node.textCaption text written by the poster. It can be missing or empty when the post has no caption.
data.user.edge_user_to_photos_of_you.page_info.end_cursorCursor to pass as end_cursor to get the next page.
data.user.edge_user_to_photos_of_you.page_info.has_next_pagetrue when more tagged posts are available.

Notes

  • Omit end_cursor on the first request. For the next page, send the page_info.end_cursor value from the last response and keep has_next_page as your stop check.
  • count sets the page size from 1 to 50. The default is 12.
  • user_id is the numeric Instagram ID, not the username. Use Instagram User Info by Username to look up the ID from a username.
  • To read a single tagged post in full, use Instagram Post Details by ID.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Instagram$0.001 ต่อการเรียกJSON
Instagram$0.001 ต่อการเรียกJSON
Instagram$0.001 ต่อการเรียกJSON
Instagram$0.001 ต่อการเรียกJSON
Instagram$0.001 ต่อการเรียกJSON
Instagram$0.001 ต่อการเรียกJSON

คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Instagram User Tagged Posts (V1) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/v1/user-tagged-posts โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Instagram User Tagged Posts (V1) API ราคาเท่าไร?

$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Instagram User Tagged Posts (V1) API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: user_id (string). ตัวเลือก: count (integer) และ end_cursor (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Instagram User Tagged Posts (V1) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Instagram ไหม?

ไม่จำเป็น Instagram User Tagged Posts (V1) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก