usernamestringจำเป็น
Instagram username (required)
https://api.sandbase.ai/v1/api/instagram/v3/user-followingReturns a paginated list of accounts followed by a specified Instagram user. Supports filtering by username and custom result counts up to 100 users per request.
[
{
"data": {
"_rid": "1e78c090219a0",
"big_list": true,
"follow_ranking_token": "f40325c389e3485e82eebb9f47918b75|22681466278|osr",
"has_more": true,
"hidden_following_account_count": 0,
"next_max_id": "12",
"page_size": 12,
"should_limit_list_of_followers": false,
"should_limit_list_of_followings": false,
"status": "ok",
"use_clickable_see_more": false,
"users": [
{
"account_badges": [],
"fbid_v2": "17841464488866084",
"full_name": "Meta AI",
"has_anonymous_profile_picture": false,
"id": "64528677628",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 1791232775,
"pk": "64528677628",
"pk_id": "64528677628",
"profile_pic_id": "3871614390308476415_64528677628",
"profile_pic_url": "https://scontent-hou1-1.xx.fbcdn.net/m1/v/t0.65075-6/An_DmLLtCkUAG4zSiC7jef0bz7JIGaNi94hvsFWE19aZP14RW_Ca11UNhv5MfC-6TrkdVAstelZDzu6ibOCIvcv7cM014GgL--bW5Nu7asluSoxpA7s?stp=s870x1160&ccb=10-5&oh=00_AQNOtJqcfcyw4ttNUKGBMjatnmrzVe3C4nKABI0YVYF8qg&oe=6AEC4B37&_nc_sid=e3bc14",
"strong_id__": "64528677628",
"third_party_downloads_enabled": 1,
"username": "meta.ai"
},
{
"account_badges": [],
"fbid_v2": "17841474712134298",
"full_name": "CORTIS",
"has_anonymous_profile_picture": false,
"id": "74754386404",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 1791247734,
"pk": "74754386404",
"pk_id": "74754386404",
"profile_pic_id": "3969412042545828924_74754386404",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/780649358_17912703192490405_6788755268208342809_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDQyLmMyIn0&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gH7JxYkt64BiTh4ukWr8XPI8eZMDXczvq7lTKmAjUpNLKTlDu2mtoxErW1z9jqc0Bs&_nc_ohc=e2r82knEOwUQ7kNvwECE9QT&_nc_gid=Av2T5Q_aOftKDH4x3tF72w&edm=ALB854YBAAAA&ccb=7-5&oh=00_AQOOKhe35kNgpZgdTsEg1bkI7HHobsh5vm-w-JnbdqvtnA&oe=6ACAC28F&_nc_sid=ce9561",
"strong_id__": "74754386404",
"third_party_downloads_enabled": 1,
"username": "cortis"
},
{
"account_badges": [],
"fbid_v2": "17841408698250127",
"full_name": "TOMORROW X TOGETHER OFFICIAL",
"has_anonymous_profile_picture": false,
"id": "8801017941",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 1791288060,
"pk": "8801017941",
"pk_id": "8801017941",
"profile_pic_id": "3995901667565029517_8801017941",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/829310823_18285750610289942_8952882599985225772_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby45NjEuYzIifQ&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gH7JxYkt64BiTh4ukWr8XPI8eZMDXczvq7lTKmAjUpNLKTlDu2mtoxErW1z9jqc0Bs&_nc_ohc=DQmshs8e2pUQ7kNvwHh0ZxK&_nc_gid=Av2T5Q_aOftKDH4x3tF72w&edm=ALB854YBAAAA&ccb=7-5&oh=00_AQNAoauF3gWojw4pflWVIk4YRWgR4qeU7SBbPK5EVnZ3Xw&oe=6ACAB2C5&_nc_sid=ce9561",
"strong_id__": "8801017941",
"third_party_downloads_enabled": 1,
"username": "txt_bighit"
},
"… 9 more items in the full response"
]
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a page of the accounts that an Instagram user follows. You send the account's username, and each result includes the followed account's name, ID, verification flag and profile picture URL.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/user-following" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username": "instagram"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
username | string | Yes | Instagram username (required) |
count | integer | No | Number of users to fetch per request (default 12, max 100) |
max_id | string | No | Pagination cursor, omit for first request, get from previous response data.next_max_id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"_rid": "1db6b1b4493f4",
"big_list": true,
"follow_ranking_token": "fefb50c8…",
"has_more": true,
"hidden_following_account_count": 0,
"next_max_id": "12",
"page_size": 12,
"should_limit_list_of_followers": false,
"should_limit_list_of_followings": false,
"status": "ok",
"use_clickable_see_more": false,
"users": [
{
"account_badges": [],
"fbid_v2": "17841457643088327",
"full_name": "BOYNEXTDOOR",
"has_anonymous_profile_picture": false,
"id": "57666617436",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 1793678764,
"pk": "57666617436",
"pk_id": "57666617436",
"profile_pic_id": "3980226050504551807_57666617436"
}
]
}
| Field | Meaning |
|---|---|
users[] | List of followed accounts on this page. |
users[].username | Instagram handle of the followed account. |
users[].full_name | Display name of the followed account. |
users[].id / users[].pk / users[].pk_id | Numeric ID of the followed account, returned as a string. All three hold the same value in the sample. |
users[].is_verified | true when the followed account is verified. |
users[].is_private | true when the followed account is private. |
users[].profile_pic_url | Link to a small profile picture of the followed account. |
users[].latest_reel_media | Number that looks like a Unix timestamp for the latest story reel. The value is 0 when the sample shows no reel. |
has_more | true when more accounts are available after this page. |
next_max_id | Cursor to pass as max_id to get the next page. |
page_size | Number of users requested for this page. The sample shows 12. |
next_max_id from the response as max_id in the next request. Omit max_id on the first call.count from 1 to 100 to change the page size. The default is 12.has_more is false.$0.008 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/v3/user-following" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "instagram"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
usernamestringจำเป็นInstagram username (required)
countintegerNumber of users to fetch per request (default 12, max 100)
max_idstringPagination cursor, omit for first request, get from previous response `data.next_max_id`
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"_rid": "1e78c090219a0",
"big_list": true,
"follow_ranking_token": "f40325c389e3485e82eebb9f47918b75|22681466278|osr",
"has_more": true,
"hidden_following_account_count": 0,
"next_max_id": "12",
"page_size": 12,
"should_limit_list_of_followers": false,
"should_limit_list_of_followings": false,
"status": "ok",
"use_clickable_see_more": false,
"users": [
{
"account_badges": [],
"fbid_v2": "17841464488866084",
"full_name": "Meta AI",
"has_anonymous_profile_picture": false,
"id": "64528677628",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 1791232775,
"pk": "64528677628",
"pk_id": "64528677628",
"profile_pic_id": "3871614390308476415_64528677628",
"profile_pic_url": "https://scontent-hou1-1.xx.fbcdn.net/m1/v/t0.65075-6/An_DmLLtCkUAG4zSiC7jef0bz7JIGaNi94hvsFWE19aZP14RW_Ca11UNhv5MfC-6TrkdVAstelZDzu6ibOCIvcv7cM014GgL--bW5Nu7asluSoxpA7s?stp=s870x1160&ccb=10-5&oh=00_AQNOtJqcfcyw4ttNUKGBMjatnmrzVe3C4nKABI0YVYF8qg&oe=6AEC4B37&_nc_sid=e3bc14",
"strong_id__": "64528677628",
"third_party_downloads_enabled": 1,
"username": "meta.ai"
},
{
"account_badges": [],
"fbid_v2": "17841474712134298",
"full_name": "CORTIS",
"has_anonymous_profile_picture": false,
"id": "74754386404",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 1791247734,
"pk": "74754386404",
"pk_id": "74754386404",
"profile_pic_id": "3969412042545828924_74754386404",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/780649358_17912703192490405_6788755268208342809_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDQyLmMyIn0&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gH7JxYkt64BiTh4ukWr8XPI8eZMDXczvq7lTKmAjUpNLKTlDu2mtoxErW1z9jqc0Bs&_nc_ohc=e2r82knEOwUQ7kNvwECE9QT&_nc_gid=Av2T5Q_aOftKDH4x3tF72w&edm=ALB854YBAAAA&ccb=7-5&oh=00_AQOOKhe35kNgpZgdTsEg1bkI7HHobsh5vm-w-JnbdqvtnA&oe=6ACAC28F&_nc_sid=ce9561",
"strong_id__": "74754386404",
"third_party_downloads_enabled": 1,
"username": "cortis"
},
{
"account_badges": [],
"fbid_v2": "17841408698250127",
"full_name": "TOMORROW X TOGETHER OFFICIAL",
"has_anonymous_profile_picture": false,
"id": "8801017941",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 1791288060,
"pk": "8801017941",
"pk_id": "8801017941",
"profile_pic_id": "3995901667565029517_8801017941",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/829310823_18285750610289942_8952882599985225772_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby45NjEuYzIifQ&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gH7JxYkt64BiTh4ukWr8XPI8eZMDXczvq7lTKmAjUpNLKTlDu2mtoxErW1z9jqc0Bs&_nc_ohc=DQmshs8e2pUQ7kNvwHh0ZxK&_nc_gid=Av2T5Q_aOftKDH4x3tF72w&edm=ALB854YBAAAA&ccb=7-5&oh=00_AQNAoauF3gWojw4pflWVIk4YRWgR4qeU7SBbPK5EVnZ3Xw&oe=6ACAB2C5&_nc_sid=ce9561",
"strong_id__": "8801017941",
"third_party_downloads_enabled": 1,
"username": "txt_bighit"
},
"… 9 more items in the full response"
]
}
}
]สำรวจเพิ่มเติม
| 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
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/v3/user-following โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.008 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: username (string). ตัวเลือก: count (integer) และ max_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram User Following List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก