pagination_tokenstring
Pagination token from previous response
https://api.sandbase.ai/v1/api/instagram/v2/user-followingReturns the list of accounts that a specified Instagram user follows. Queries can be made using an account username or user ID, with support for pagination tokens.
[
{
"data": {
"data": {
"count": 49,
"items": [
{
"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": 0,
"profile_pic_id": "3871614390308476415",
"profile_pic_url": "https://instagram.fman7-1.fna.fbcdn.net/m1/v/t0.65075-6/An_DmLLtCkUAG4zSiC7jef0bz7JIGaNi94hvsFWE19aZP14RW_Ca11UNhv5MfC-6TrkdVAstelZDzu6ibOCIvcv7cM014GgL--bW5Nu7asluSoxpA7s?stp=s870x1160&ccb=10-5&oh=00_AQOuv08CTzcehec0lK4_Bu3m0MDAKmIRW4WTwqx3xZa0fQ&oe=6AE348F7&_nc_sid=e3bc14",
"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": 0,
"profile_pic_id": "3969412042545828924",
"profile_pic_url": "https://instagram.fman7-1.fna.fbcdn.net/v/t51.82787-19/780649358_17912703192490405_6788755268208342809_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDQyLmMyIn0&_nc_ht=instagram.fman7-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gEm6OJ12_GMozMFBxZ_vELI-YIHse3XhckSb0dG2o-9AoFQl4hAlWnKjIwqjLiyFpM&_nc_ohc=er8nEgIFLNEQ7kNvwEAarbd&_nc_gid=_MJgbDFj2lt3bjc8GVTmgw&edm=ALB854YBAAAA&ccb=7-5&ig_cache_key=GI7Dhy6lYcE2gqM-ABm3nrTygDZebmNDAQAB1501500j-ccb7-5&oh=00_AQPTDyv73w_YZ9DodGjlUp4izTK4MInmOFiovX-JRgi9iQ&oe=6AC1880F&_nc_sid=ce9561",
"third_party_downloads_enabled": 1,
"username": "cortis"
},
{
"account_badges": [],
"fbid_v2": "17841461556559917",
"full_name": "ILLIT 아일릿",
"has_anonymous_profile_picture": false,
"id": "61519339885",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 1790679718,
"profile_pic_id": "3995836096869712597",
"profile_pic_url": "https://instagram.fman7-1.fna.fbcdn.net/v/t51.82787-19/829602596_18000369414051886_7359915443556098783_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDAxLmMyIn0&_nc_ht=instagram.fman7-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gEm6OJ12_GMozMFBxZ_vELI-YIHse3XhckSb0dG2o-9AoFQl4hAlWnKjIwqjLiyFpM&_nc_ohc=86J9HRZTuWcQ7kNvwG5boRJ&_nc_gid=_MJgbDFj2lt3bjc8GVTmgw&edm=ALB854YBAAAA&ccb=7-5&ig_cache_key=GCS7cjEuGMCYPfM-AN_iEvYZrCNmbmNDAQAB1501500j-ccb7-5&oh=00_AQO47evipNXC9S54GYS2gO4yG-1St-FX6eQOkMhfFBufkw&oe=6AC194C9&_nc_sid=ce9561",
"third_party_downloads_enabled": 1,
"username": "illit_official"
},
"… 46 more items in the full response"
],
"total": 303
},
"pagination_token": "C01fCwYpBQdDLEMTW14zQAZRHAINAAAdLTIOPl8ARltVWR1QHz47FQ8QLRoHEFRVXFlzUQYcCxgNLAYDPAgUTQdlVQFdEU0VEBsEARwdABAOTQVqUlBAB0QLUAYDO08IaQg"
}
}
]Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
Returns a page of the accounts that an Instagram user follows. Send either a username or a user_id. Each item includes the followed account's ID, username, display name, and verification and privacy flags.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-following" \
-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": 47,
"items": [
{
"account_badges": [],
"fbid_v2": "17841428227230889",
"full_name": "Meta",
"has_anonymous_profile_picture": false,
"id": "28247116907",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 0,
"profile_pic_id": "3994229046456396292",
"profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.82787-19/825322335_18128714404940…",
"third_party_downloads_enabled": 1
}
],
"total": 163
},
"pagination_token": "Ik1ICwEp…"
}
| Field | Meaning |
|---|---|
data.items[].username | Handle of the followed account. |
data.items[].full_name | Display name of the followed account. |
data.items[].id | ID of the followed account. Pass it as user_id in other Instagram calls. |
data.items[].is_verified | true when the followed account is verified. |
data.items[].is_private | true when the followed account is private. |
data.items[].profile_pic_url | Link to a small profile picture of the followed account. |
data.items[].latest_reel_media | Numeric value for the latest reel media of the account. 0 appears when there is none. Nonzero values look like Unix timestamps. |
data.count / data.total | count is a number returned with the list and total is a larger number. Their exact meaning is not documented, so do not rely on them as page size or full following count without checking. |
pagination_token | Token that you send back as pagination_token to request the next page. |
username or user_id. You do not need both.pagination_token from the previous response with the same user.user_id from a username.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-following" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "18527",
"username": "instagram"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
pagination_tokenstringPagination token from previous response
user_idstringUser ID (either username or user_id required)
usernamestringUsername (either username or user_id required)
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
[
{
"data": {
"data": {
"count": 49,
"items": [
{
"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": 0,
"profile_pic_id": "3871614390308476415",
"profile_pic_url": "https://instagram.fman7-1.fna.fbcdn.net/m1/v/t0.65075-6/An_DmLLtCkUAG4zSiC7jef0bz7JIGaNi94hvsFWE19aZP14RW_Ca11UNhv5MfC-6TrkdVAstelZDzu6ibOCIvcv7cM014GgL--bW5Nu7asluSoxpA7s?stp=s870x1160&ccb=10-5&oh=00_AQOuv08CTzcehec0lK4_Bu3m0MDAKmIRW4WTwqx3xZa0fQ&oe=6AE348F7&_nc_sid=e3bc14",
"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": 0,
"profile_pic_id": "3969412042545828924",
"profile_pic_url": "https://instagram.fman7-1.fna.fbcdn.net/v/t51.82787-19/780649358_17912703192490405_6788755268208342809_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDQyLmMyIn0&_nc_ht=instagram.fman7-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gEm6OJ12_GMozMFBxZ_vELI-YIHse3XhckSb0dG2o-9AoFQl4hAlWnKjIwqjLiyFpM&_nc_ohc=er8nEgIFLNEQ7kNvwEAarbd&_nc_gid=_MJgbDFj2lt3bjc8GVTmgw&edm=ALB854YBAAAA&ccb=7-5&ig_cache_key=GI7Dhy6lYcE2gqM-ABm3nrTygDZebmNDAQAB1501500j-ccb7-5&oh=00_AQPTDyv73w_YZ9DodGjlUp4izTK4MInmOFiovX-JRgi9iQ&oe=6AC1880F&_nc_sid=ce9561",
"third_party_downloads_enabled": 1,
"username": "cortis"
},
{
"account_badges": [],
"fbid_v2": "17841461556559917",
"full_name": "ILLIT 아일릿",
"has_anonymous_profile_picture": false,
"id": "61519339885",
"is_favorite": false,
"is_private": false,
"is_verified": true,
"latest_reel_media": 1790679718,
"profile_pic_id": "3995836096869712597",
"profile_pic_url": "https://instagram.fman7-1.fna.fbcdn.net/v/t51.82787-19/829602596_18000369414051886_7359915443556098783_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDAxLmMyIn0&_nc_ht=instagram.fman7-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gEm6OJ12_GMozMFBxZ_vELI-YIHse3XhckSb0dG2o-9AoFQl4hAlWnKjIwqjLiyFpM&_nc_ohc=86J9HRZTuWcQ7kNvwG5boRJ&_nc_gid=_MJgbDFj2lt3bjc8GVTmgw&edm=ALB854YBAAAA&ccb=7-5&ig_cache_key=GCS7cjEuGMCYPfM-AN_iEvYZrCNmbmNDAQAB1501500j-ccb7-5&oh=00_AQO47evipNXC9S54GYS2gO4yG-1St-FX6eQOkMhfFBufkw&oe=6AC194C9&_nc_sid=ce9561",
"third_party_downloads_enabled": 1,
"username": "illit_official"
},
"… 46 more items in the full response"
],
"total": 303
},
"pagination_token": "C01fCwYpBQdDLEMTW14zQAZRHAINAAAdLTIOPl8ARltVWR1QHz47FQ8QLRoHEFRVXFlzUQYcCxgNLAYDPAgUTQdlVQFdEU0VEBsEARwdABAOTQVqUlBAB0QLUAYDO08IaQg"
}
}
]Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Instagram User FollowingBu API Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Kılavuzlar:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/instagram/v2/user-following adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.002. Her kuruluş, UTC günü başına 100 ücretsiz çağrı alır; bu hak, bu API dahil uygun SandBase API'leri arasında ortaktır. Sonrasında her çağrı, SandBase bakiyenizden bu fiyat üzerinden ücretlendirilir. Abonelik yoktur.
Gerekli parametre yoktur. İsteğe bağlı: pagination_token (string), user_id (string) ve username (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Instagram User Following, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Instagram API erişimi için ayrıca başvuru yapmanız gerekmez.