user_idstringจำเป็น
Instagram user ID
https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-id-v2Returns detailed Instagram user information including bio links by providing an account identifier. Query the endpoint using an Instagram user ID to inspect profile metadata.
[
{
"data": {
"account_badges": [],
"account_type": 3,
"address_street": null,
"aigm_account_label_info": null,
"attempts": "1",
"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=AUAXxvXfrhwPbFidyxv0t2SWLSB96_4WuPXg78Bgbwjw1w0q3AXKxYQ4CHshwUOAdViH91MtuI4IIDzwmkpNx-pBmDctW7pjIViRJ-4YKWfD56aw9pnAKB3o_7NlnLCs5LxI_7ya1Xvqa0uC",
"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=AUCd3aDdSBlo1msl7X-y7_oW_HXTdw78szj1CVfyAYS1aiEdjUmVjL23ko7Wyin7AshecHeFBqogqyHB3stuyVoa-MlAYRZnpO5vqgdEbaMMkGgFLnoyIAf9lClyM256hcc2J1gEgm25YAfN",
"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=AUBF3hAusbZw3_TPJpv_0eY4-3FmExTQ2SSmbID9Hax_U2eJBaVx2MbEiCj9Vz8lXYZEWAi4AQ5u5vWo2Ek6DQjn2lyCjrYIX_XqnWjA09gw1xOLmCGT2B43Hih25AtggDS4WFc0IhB9l70a",
"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=AUAQQm1nKg0_oGtdLs7Se3W_a3hEuD9WGLtYkp4OiHGBOwE187uMzPPhv41vvnCMq0MR8Q6-k8r61QIc_Wmxq1vDio5NfkYQ_ur6SSBL_E17t3j9iSFdKsYhoYgocv3QMrf6-fo53HAhr22H",
"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.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=EKCm9fiSrY4Q7kNvwEkWhMl&_nc_oc=AdrF3GIj_InoFsEecvvwgTNi6rru74o8QowGDnneMz_c6SYjAZxErftcUxtjo7iKYqE&_nc_ad=z-m&_nc_cid=1093&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=eIWkquALzn_IE5rhoYbeuw&_nc_ss=7339b&oh=00_AQOblMZLx-fB442YbsVOI0FLadAJzxoxBbmvnXnP_1Ui1A&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.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=EKCm9fiSrY4Q7kNvwEkWhMl&_nc_oc=AdrF3GIj_InoFsEecvvwgTNi6rru74o8QowGDnneMz_c6SYjAZxErftcUxtjo7iKYqE&_nc_ad=z-m&_nc_cid=1093&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=eIWkquALzn_IE5rhoYbeuw&_nc_ss=7339b&oh=00_AQOJ8fGpeNWQ_lC1EGlIIoDWGeCN1T2vlPx-87W21i9vcg&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
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns profile details for one Instagram account, including follower and following counts, biography, verification status and the list of links in the bio. It needs the numeric Instagram user ID in user_id.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-id-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "25025320"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Instagram user ID |
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=AUDN5uLwUC61ORj…",
"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=AUCAKRFROoo1ycN…",
"external_url": "http://help.instagram.com"
}
| Field | Meaning |
|---|---|
id | Instagram user ID of the account. It matches the user_id you sent. |
full_name | Display name shown on the profile. |
biography | Bio text of the profile. |
follower_count / following_count | Number of followers the account has and number of accounts it follows. |
is_verified / is_private / is_business | Flags for verified badge, private account and business account. |
bio_links[].url | Destination URL of each link in the bio. |
bio_links[].title | Label shown for the bio link. It can be an empty string. |
bio_links[].lynx_url | Instagram redirect version of the bio link URL. |
external_url | Main external website URL on the profile. |
hd_profile_pic_url_info.url | URL of the high-resolution profile picture. |
null, such as media_count and is_professional_account. Do not rely on them being filled.$0.001 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/v1/user-info-by-id-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "25025320"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
user_idstringจำเป็นInstagram user ID
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"account_badges": [],
"account_type": 3,
"address_street": null,
"aigm_account_label_info": null,
"attempts": "1",
"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=AUAXxvXfrhwPbFidyxv0t2SWLSB96_4WuPXg78Bgbwjw1w0q3AXKxYQ4CHshwUOAdViH91MtuI4IIDzwmkpNx-pBmDctW7pjIViRJ-4YKWfD56aw9pnAKB3o_7NlnLCs5LxI_7ya1Xvqa0uC",
"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=AUCd3aDdSBlo1msl7X-y7_oW_HXTdw78szj1CVfyAYS1aiEdjUmVjL23ko7Wyin7AshecHeFBqogqyHB3stuyVoa-MlAYRZnpO5vqgdEbaMMkGgFLnoyIAf9lClyM256hcc2J1gEgm25YAfN",
"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=AUBF3hAusbZw3_TPJpv_0eY4-3FmExTQ2SSmbID9Hax_U2eJBaVx2MbEiCj9Vz8lXYZEWAi4AQ5u5vWo2Ek6DQjn2lyCjrYIX_XqnWjA09gw1xOLmCGT2B43Hih25AtggDS4WFc0IhB9l70a",
"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=AUAQQm1nKg0_oGtdLs7Se3W_a3hEuD9WGLtYkp4OiHGBOwE187uMzPPhv41vvnCMq0MR8Q6-k8r61QIc_Wmxq1vDio5NfkYQ_ur6SSBL_E17t3j9iSFdKsYhoYgocv3QMrf6-fo53HAhr22H",
"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.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=EKCm9fiSrY4Q7kNvwEkWhMl&_nc_oc=AdrF3GIj_InoFsEecvvwgTNi6rru74o8QowGDnneMz_c6SYjAZxErftcUxtjo7iKYqE&_nc_ad=z-m&_nc_cid=1093&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=eIWkquALzn_IE5rhoYbeuw&_nc_ss=7339b&oh=00_AQOblMZLx-fB442YbsVOI0FLadAJzxoxBbmvnXnP_1Ui1A&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.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=EKCm9fiSrY4Q7kNvwEkWhMl&_nc_oc=AdrF3GIj_InoFsEecvvwgTNi6rru74o8QowGDnneMz_c6SYjAZxErftcUxtjo7iKYqE&_nc_ad=z-m&_nc_cid=1093&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=eIWkquALzn_IE5rhoYbeuw&_nc_ss=7339b&oh=00_AQOJ8fGpeNWQ_lC1EGlIIoDWGeCN1T2vlPx-87W21i9vcg&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
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Instagram | $0.001 ต่อการเรียก | JSON |
Instagram | $0.001 ต่อการเรียก | JSON |
Instagram | $0.001 ต่อการเรียก | JSON |
Instagram | $0.001 ต่อการเรียก | JSON |
Instagram | $0.001 ต่อการเรียก | JSON |
Instagram | $0.001 ต่อการเรียก | JSON |
คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-id-v2 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: user_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram User Details by ID (V2) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก