pagination_tokenstring
Pagination token from previous response
https://api.sandbase.ai/v1/api/instagram/v2/user-tagged-postsReturns posts where a specified Instagram account has been tagged by other users. Supports looking up accounts by identifier or username, with pagination handling.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a page of Instagram posts where a given account is tagged. You pass either a username or a user_id. The response includes post details, a total count, and a pagination_token for the next page.
comment_count to spot the ones that drew the most discussion.caption.hashtags from tagged posts to see which hashtags people use with a brand.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-tagged-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username": "instagram", "user_id": "18527"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
pagination_token | string | No | Pagination token from previous response |
user_id | string | No | User ID (either username or user_id required) |
username | string | No | Username (either username or user_id required) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"count": 21,
"items": [
{
"boost_unavailable_identifier": null,
"boost_unavailable_reason": null,
"boost_unavailable_reason_v2": null,
"can_reshare": true,
"can_save": true,
"can_viewer_add_media_to_grid": false,
"caption": {
"content_type": "comment",
"created_at": 1582576667,
"created_at_utc": 1582576667,
"did_report_as_spam": false,
"has_translation": true,
"hashtags": [],
"id": "2251138696266127152",
"is_covered": false
},
"caption_is_edited": false,
"coauthor_producer_can_see_organic_insights": false,
"coauthor_producers": [],
"code": "B89prebFBcw",
"collaborator_edit_eligibility": false
}
],
"total": 130
},
"pagination_token": "Ck1JBBkp…"
}
| Field | Meaning |
|---|---|
data.total | Total number of tagged posts reported for the account. |
data.count | Number of posts returned in this page. |
data.items[].id | Numeric ID of the post. |
data.items[].code | Short code of the post. It is the same kind of value used in Instagram post URLs. |
data.items[].caption.created_at | Unix timestamp for when the caption was created. created_at_utc holds the same value in the sample. |
data.items[].caption.hashtags | List of hashtags in the caption, with the # sign. |
data.items[].comment_count | Number of comments on the post. |
data.items[].image_versions.items[].url / width / height | URL and pixel size of each image version of the post. |
data.items[].can_reshare / can_save | Flags for whether the post can be reshared or saved. |
pagination_token | Token to send in the next request to get the next page. |
username or user_id. The example request sends both.pagination_token with the same account value.caption.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-tagged-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "18527",
"username": "instagram"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
pagination_tokenstringPagination token from previous response
user_idstringUser ID (either username or user_id required)
usernamestringUsername (either username or user_id required)
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| 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 ไปที่ https://api.sandbase.ai/v1/api/instagram/v2/user-tagged-posts โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.002 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: pagination_token (string), user_id (string) และ username (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram User Tagged Posts (V2) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก