user_idstringобязательно
Instagram user ID (numeric, required)
https://api.sandbase.ai/v1/api/instagram/v3/user-briefReturns summary profile metrics and metadata for an Instagram account, including follower counts, media count, and profile picture URL, using user_id and username.
[
{
"data": {
"_rid": "33a3f9b282a15",
"biography": "Discover what's new on Instagram 🔎✨",
"category": "",
"edge_follow": {
"count": 305
},
"edge_followed_by": {
"count": 686584231
},
"edge_owner_to_timeline_media": {
"count": 8612
},
"external_url": "http://help.instagram.com",
"follower_count": 686584231,
"following_count": 305,
"full_name": "Instagram",
"id": "25025320",
"is_private": false,
"is_verified": true,
"media_count": 8612,
"pk": "25025320",
"profile_pic_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=1&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMyIn0%3D&_nc_ohc=EKCm9fiSrY4Q7kNvwHTiA61&_nc_oc=AdpRbRnmvN3CoENGev10ZE6XTJ6nsRfBpg7W2RluokMp0uyxoO9uG0U3Pl07L815ouE&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=instagram.fpit1-1.fna&_nc_gid=YMuZg8P2fpZu8oFBnur19g&_nc_ss=7f3ba&oh=00_AQPydmrh5moXaIKg-qfOyxAfrZ8IoZ3hRorSACZi60CCdA&oe=6ACAA3E7",
"profile_pic_url_hd": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_s640x640_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fpit1-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gHjCGqrB1n-uknL0YcElcvgakxyIawfp1AMXcLvxSPnKszVV43a4Ck8ac8VPkTSHkk&_nc_ohc=ktjOB0w7U-YQ7kNvwF0sQrH&_nc_gid=YMuZg8P2fpZu8oFBnur19g&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB6406400j-ccb7-5&oh=00_AQNGapdpch0ynNv4l3ABGkHCEFz5kZJwtX35QxGUqA09cQ&oe=6ACAA3E7&_nc_sid=10d13b",
"username": "instagram"
}
}
]Выберите пример, чтобы загрузить его входные данные и результат в playground.
Returns a short profile summary for one Instagram account, including follower count, following count, media count, bio, and profile picture URLs. It needs both the numeric user_id and the username.
external_url, and profile picture of an account for a creator database.follower_count and media_count change by calling the API on a schedule.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/user-brief" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "25025320", "username": "instagram"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Instagram user ID (numeric, required) |
username | string | Yes | Instagram username (required) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"_rid": "3148cbeadeb94",
"biography": "Discover what's new on Instagram 🔎✨",
"category": "",
"edge_follow": {
"count": 165
},
"edge_followed_by": {
"count": 686358280
},
"edge_owner_to_timeline_media": {
"count": 8634
},
"external_url": "http://help.instagram.com",
"follower_count": 686358280,
"following_count": 165,
"full_name": "Instagram",
"id": "25025320",
"is_private": false
}
| Field | Meaning |
|---|---|
follower_count / edge_followed_by.count | Number of accounts that follow this account. Both fields hold the same value in this response. |
following_count / edge_follow.count | Number of accounts this account follows. |
media_count / edge_owner_to_timeline_media.count | Number of posts on the account. |
full_name / username | Display name and handle of the account. |
biography | Bio text shown on the profile. It can include emoji. |
external_url | Link the account lists on its profile. |
is_verified / is_private | Booleans that show whether the account has a verified badge and whether it is private. |
profile_pic_url / profile_pic_url_hd | Links to the profile picture. The _hd field points to a larger version. |
id / pk | Instagram user ID as a string. Both fields hold the same value. |
category | Account category label. It is an empty string when the account sets none. |
user_id and username. Both are required.user_id.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/user-brief" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "25025320",
"username": "instagram"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
user_idstringобязательноInstagram user ID (numeric, required)
usernamestringобязательноInstagram username (required)
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
[
{
"data": {
"_rid": "33a3f9b282a15",
"biography": "Discover what's new on Instagram 🔎✨",
"category": "",
"edge_follow": {
"count": 305
},
"edge_followed_by": {
"count": 686584231
},
"edge_owner_to_timeline_media": {
"count": 8612
},
"external_url": "http://help.instagram.com",
"follower_count": 686584231,
"following_count": 305,
"full_name": "Instagram",
"id": "25025320",
"is_private": false,
"is_verified": true,
"media_count": 8612,
"pk": "25025320",
"profile_pic_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=1&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMyIn0%3D&_nc_ohc=EKCm9fiSrY4Q7kNvwHTiA61&_nc_oc=AdpRbRnmvN3CoENGev10ZE6XTJ6nsRfBpg7W2RluokMp0uyxoO9uG0U3Pl07L815ouE&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=instagram.fpit1-1.fna&_nc_gid=YMuZg8P2fpZu8oFBnur19g&_nc_ss=7f3ba&oh=00_AQPydmrh5moXaIKg-qfOyxAfrZ8IoZ3hRorSACZi60CCdA&oe=6ACAA3E7",
"profile_pic_url_hd": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_s640x640_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fpit1-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gHjCGqrB1n-uknL0YcElcvgakxyIawfp1AMXcLvxSPnKszVV43a4Ck8ac8VPkTSHkk&_nc_ohc=ktjOB0w7U-YQ7kNvwF0sQrH&_nc_gid=YMuZg8P2fpZu8oFBnur19g&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB6406400j-ccb7-5&oh=00_AQNGapdpch0ynNv4l3ABGkHCEFz5kZJwtX35QxGUqA09cQ&oe=6ACAA3E7&_nc_sid=10d13b",
"username": "instagram"
}
}
]Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Instagram User Brief InfoЭтот 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-brief, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.008 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: user_id (string) и username (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Instagram User Brief Info работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Instagram.