usernamestringbắt buộc
Instagram username
https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-username-v3Returns detailed Instagram user account information, including bio links, by querying an account handle.
[
{
"data": {
"account_badges": [],
"account_type": 3,
"address_street": null,
"aigm_account_label_info": null,
"attempts": "21",
"bio_links": [
{
"creation_source": "NONE",
"image_url": "",
"is_pinned": false,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fhelp.instagram.com%2F&e=AUDPRoUBv2LXTt21J01cDXWXGn3wEJCfaFSOFgeSsaOcWTp5aqh1HS8xuqiL8GcP-poXHDM_lIoN5GM7aV0BgZ2HMKPQQFm0_7LaJVxxphVDgZu2iZFPKD_EFFGcPyHPV57IzsEsqcv9TeCB",
"media_accent_color_hex": "",
"media_type": "none",
"title": "",
"url": "http://help.instagram.com"
},
{
"creation_source": "NONE",
"image_url": "",
"is_pinned": false,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fopen.spotify.com%2Fepisode%2F6B8XsGCYuHMYzSLvLMitS7%3Fsi%3DkXd6_Y6AQhueoC_McepSKg&e=AUDwK7mCy3KGQLuKOyPtoaxdm5biKhtth7yXNT9h9HdJjkwhUyKJdt-Yp-oYZZcdc-KfW46Pi7IAmrZiwSQOKvHx8NE0s7tOs533QSZ_Ey9ChLFKSgAjm3UBlGCHzjbXsKXqOZRtv62LkKqR",
"media_accent_color_hex": "",
"media_type": "none",
"title": "Close Friends Only with @kaicenat and @kaiyacenat | Spotify",
"url": "https://open.spotify.com/episode/6B8XsGCYuHMYzSLvLMitS7?si=kXd6_Y6AQhueoC_McepSKg"
},
{
"creation_source": "NONE",
"image_url": "",
"is_pinned": false,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dz0X36mIbyCo&e=AUDuWAHj85M7t4qAzVx_0wYJ-Z0HS9Sga5Boq2woC8QsMNAwetDgqrsnwc5bb5TnhtXuJIsuE9oRciHLY007jAYxaw_zBsHmR-dWCCdKUVsZlVC-prpQbv4IhWaiAZ2yIPd2rYGW7vqAx2jT",
"media_accent_color_hex": "",
"media_type": "none",
"title": "Close Friends Only with @kaicenat and @kaiyacenat | YouTube",
"url": "https://www.youtube.com/watch?v=z0X36mIbyCo"
}
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_with_entities": {
"entities": []
},
"category": "",
"city_name": null,
"external_lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fhelp.instagram.com%2F&e=AUCLUfKxFM0lvvoFjQQp6Rb4EVWoBOWhiiLmQhqGtITp-4AzDBXtEa2MCANhSwz3Su125l3Q4b3gm6r-_k8s4do6k8ap9fgP76YwOg5WauxtE9zP7vrND_kBcuuV0C8EElf7hysIwGjRCNBH",
"external_url": "http://help.instagram.com",
"fbid_v2": "17841400039600391",
"follower_count": 686584231,
"following_count": 305,
"full_name": "Instagram",
"has_chaining": null,
"has_profile_pic": null,
"has_story_archive": null,
"has_visible_media_notes": null,
"hd_profile_pic_url_info": {
"url": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-webp&_nc_cat=1&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB0j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=EKCm9fiSrY4Q7kNvwEOs38d&_nc_oc=Adqnu1WiFAEIuNo23BXjG3fZgKySyyN8mFpgdIPvWrdUPsIO3tgKLAhMH9Mxituabw4&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-cdg4-1.cdninstagram.com&_nc_gid=9EMv-DQimsSeTW7xzl2ZJg&_nc_ss=7339b&oh=00_AQNPlLn2sjFX8R11hUiDajMKsmCweWtTJB09xPKjSwM0PA&oe=6ACAA3E7"
},
"hide_creator_marketplace_badge": false,
"id": "25025320",
"is_business": false,
"is_cannes": false,
"is_coppa_enforced": null,
"is_embeds_disabled": false,
"is_memorialized": false,
"is_private": false,
"is_professional_account": null,
"is_regulated_c18": false,
"is_ring_creator": null,
"is_unpublished": false,
"is_verified": true,
"latest_besties_reel_media": null,
"latest_reel_media": null,
"linked_fb_info": null,
"live_broadcast_id": null,
"live_broadcast_visibility": null,
"media_count": null,
"mutual_followers_count": null,
"pk": "25025320",
"profile_context_facepile_users": null,
"profile_context_links_with_user_ids": null,
"profile_pic_genai_tool_info": [],
"profile_pic_url": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-webp_s150x150&_nc_cat=1&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=EKCm9fiSrY4Q7kNvwEOs38d&_nc_oc=Adqnu1WiFAEIuNo23BXjG3fZgKySyyN8mFpgdIPvWrdUPsIO3tgKLAhMH9Mxituabw4&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-cdg4-1.cdninstagram.com&_nc_gid=9EMv-DQimsSeTW7xzl2ZJg&_nc_ss=7339b&oh=00_AQO9w0akFWj4k0RDbYf793_NRn0ZTJtDWzNZBvbw3OGOsg&oe=6ACAA3E7",
"reel_media_seen_timestamp": null,
"regulated_news_in_locations": [],
"remove_message_entrypoint": null,
"ring_creator_metadata": null,
"should_show_category": false,
"show_account_transparency_details": true,
"show_ring_award": null,
"show_text_post_app_badge": false,
"status": true,
"supervision_info": null,
"text_post_app_badge_label": null,
"total_clips_count": 1,
"transparency_label": null,
"transparency_product": null,
"username": "instagram",
"zip": null
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns profile data for one Instagram account, including follower and following counts, biography, verification status and the list of links in the bio. It needs one input, the account handle in username.
title and url, to check where a brand sends its audience.follower_count and is_verified for an account before you add it to an influencer list.id for a handle so you can call APIs that take a numeric user ID.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-username-v3" \
-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 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"account_badges": [],
"account_type": 3,
"address_street": null,
"aigm_account_label_info": null,
"attempts": "0",
"bio_links": [
{
"creation_source": "NONE",
"image_url": "",
"is_pinned": false,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fhelp.instagram.com%2F&e=AUDalAOqK26dSSL…",
"media_accent_color_hex": "",
"media_type": "none",
"title": "",
"url": "http://help.instagram.com"
}
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_with_entities": {
"entities": []
},
"category": "",
"city_name": null,
"external_lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fhelp.instagram.com%2F&e=AUAq3xoFe1w-NbE…",
"external_url": "http://help.instagram.com"
}
| Field | Meaning |
|---|---|
id | Numeric Instagram user ID of the account, returned as a string. |
full_name | Display name shown on the profile. |
biography | Bio text of the account. |
follower_count / following_count | Number of accounts that follow this account, and number of accounts it follows. |
is_verified / is_private / is_business | Flags for a verified badge, a private account, and a business account. |
bio_links[].url | Destination URL of each link in the bio. |
bio_links[].title | Label of the bio link. It can be an empty string. |
bio_links[].lynx_url | Instagram redirect version of the link that wraps the destination URL. |
external_url | Main external link shown on the profile. |
hd_profile_pic_url_info.url | URL of the high-resolution profile picture. |
username without the leading @.null, for example media_count and is_professional_account. Do not rely on them being filled.id value with Instagram User Profile by ID to look up the same account by its numeric ID.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-username-v3" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "instagram"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
usernamestringbắt buộcInstagram username
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"account_badges": [],
"account_type": 3,
"address_street": null,
"aigm_account_label_info": null,
"attempts": "21",
"bio_links": [
{
"creation_source": "NONE",
"image_url": "",
"is_pinned": false,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fhelp.instagram.com%2F&e=AUDPRoUBv2LXTt21J01cDXWXGn3wEJCfaFSOFgeSsaOcWTp5aqh1HS8xuqiL8GcP-poXHDM_lIoN5GM7aV0BgZ2HMKPQQFm0_7LaJVxxphVDgZu2iZFPKD_EFFGcPyHPV57IzsEsqcv9TeCB",
"media_accent_color_hex": "",
"media_type": "none",
"title": "",
"url": "http://help.instagram.com"
},
{
"creation_source": "NONE",
"image_url": "",
"is_pinned": false,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fopen.spotify.com%2Fepisode%2F6B8XsGCYuHMYzSLvLMitS7%3Fsi%3DkXd6_Y6AQhueoC_McepSKg&e=AUDwK7mCy3KGQLuKOyPtoaxdm5biKhtth7yXNT9h9HdJjkwhUyKJdt-Yp-oYZZcdc-KfW46Pi7IAmrZiwSQOKvHx8NE0s7tOs533QSZ_Ey9ChLFKSgAjm3UBlGCHzjbXsKXqOZRtv62LkKqR",
"media_accent_color_hex": "",
"media_type": "none",
"title": "Close Friends Only with @kaicenat and @kaiyacenat | Spotify",
"url": "https://open.spotify.com/episode/6B8XsGCYuHMYzSLvLMitS7?si=kXd6_Y6AQhueoC_McepSKg"
},
{
"creation_source": "NONE",
"image_url": "",
"is_pinned": false,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dz0X36mIbyCo&e=AUDuWAHj85M7t4qAzVx_0wYJ-Z0HS9Sga5Boq2woC8QsMNAwetDgqrsnwc5bb5TnhtXuJIsuE9oRciHLY007jAYxaw_zBsHmR-dWCCdKUVsZlVC-prpQbv4IhWaiAZ2yIPd2rYGW7vqAx2jT",
"media_accent_color_hex": "",
"media_type": "none",
"title": "Close Friends Only with @kaicenat and @kaiyacenat | YouTube",
"url": "https://www.youtube.com/watch?v=z0X36mIbyCo"
}
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_with_entities": {
"entities": []
},
"category": "",
"city_name": null,
"external_lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fhelp.instagram.com%2F&e=AUCLUfKxFM0lvvoFjQQp6Rb4EVWoBOWhiiLmQhqGtITp-4AzDBXtEa2MCANhSwz3Su125l3Q4b3gm6r-_k8s4do6k8ap9fgP76YwOg5WauxtE9zP7vrND_kBcuuV0C8EElf7hysIwGjRCNBH",
"external_url": "http://help.instagram.com",
"fbid_v2": "17841400039600391",
"follower_count": 686584231,
"following_count": 305,
"full_name": "Instagram",
"has_chaining": null,
"has_profile_pic": null,
"has_story_archive": null,
"has_visible_media_notes": null,
"hd_profile_pic_url_info": {
"url": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-webp&_nc_cat=1&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB0j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=EKCm9fiSrY4Q7kNvwEOs38d&_nc_oc=Adqnu1WiFAEIuNo23BXjG3fZgKySyyN8mFpgdIPvWrdUPsIO3tgKLAhMH9Mxituabw4&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-cdg4-1.cdninstagram.com&_nc_gid=9EMv-DQimsSeTW7xzl2ZJg&_nc_ss=7339b&oh=00_AQNPlLn2sjFX8R11hUiDajMKsmCweWtTJB09xPKjSwM0PA&oe=6ACAA3E7"
},
"hide_creator_marketplace_badge": false,
"id": "25025320",
"is_business": false,
"is_cannes": false,
"is_coppa_enforced": null,
"is_embeds_disabled": false,
"is_memorialized": false,
"is_private": false,
"is_professional_account": null,
"is_regulated_c18": false,
"is_ring_creator": null,
"is_unpublished": false,
"is_verified": true,
"latest_besties_reel_media": null,
"latest_reel_media": null,
"linked_fb_info": null,
"live_broadcast_id": null,
"live_broadcast_visibility": null,
"media_count": null,
"mutual_followers_count": null,
"pk": "25025320",
"profile_context_facepile_users": null,
"profile_context_links_with_user_ids": null,
"profile_pic_genai_tool_info": [],
"profile_pic_url": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-webp_s150x150&_nc_cat=1&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=EKCm9fiSrY4Q7kNvwEOs38d&_nc_oc=Adqnu1WiFAEIuNo23BXjG3fZgKySyyN8mFpgdIPvWrdUPsIO3tgKLAhMH9Mxituabw4&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-cdg4-1.cdninstagram.com&_nc_gid=9EMv-DQimsSeTW7xzl2ZJg&_nc_ss=7339b&oh=00_AQO9w0akFWj4k0RDbYf793_NRn0ZTJtDWzNZBvbw3OGOsg&oe=6ACAA3E7",
"reel_media_seen_timestamp": null,
"regulated_news_in_locations": [],
"remove_message_entrypoint": null,
"ring_creator_metadata": null,
"should_show_category": false,
"show_account_transparency_details": true,
"show_ring_award": null,
"show_text_post_app_badge": false,
"status": true,
"supervision_info": null,
"text_post_app_badge_label": null,
"total_clips_count": 1,
"transparency_label": null,
"transparency_product": null,
"username": "instagram",
"zip": null
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Instagram | $0.001 mỗi lần gọi | JSON |
Instagram | $0.001 mỗi lần gọi | JSON |
Instagram | $0.001 mỗi lần gọi | JSON |
Instagram | $0.001 mỗi lần gọi | JSON |
Instagram | $0.001 mỗi lần gọi | JSON |
Instagram | $0.001 mỗi lần gọi | JSON |
Hướng dẫn:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-username-v3 với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: username (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Instagram User Profile by Username (V3) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Instagram.