user_idstring
User ID (either username or user_id required)
https://api.sandbase.ai/v1/api/instagram/v2/user-infoGet an Instagram user profile by username or user ID: full name, bio, website, follower, following and post counts, verification and category.
[
{
"data": {
"data": {
"about": {
"accounts_with_shared_followers": null,
"country": "United States",
"date_joined": "February 2012",
"date_joined_as_timestamp": 1328054400,
"date_verified": null,
"date_verified_as_timestamp": null,
"former_usernames": 0,
"id": 25025320,
"is_verified": true,
"username": null
},
"account_badges": [],
"account_category": "",
"account_type": 3,
"active_standalone_fundraisers": {
"fundraisers": [],
"total_count": 0
},
"additional_business_addresses": [],
"adjusted_banners_order": [],
"ads_incentive_expiration_date": null,
"ads_page_id": null,
"ads_page_name": null,
"allow_manage_memorialization": false,
"avatar_status": {
"has_avatar": false
},
"bio_links": [
{
"creation_source": "NONE",
"icon_url": "",
"image_url": "",
"is_pinned": false,
"is_verified": false,
"link_id": 18608813734063668,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fhelp.instagram.com%2F%3Futm_source%3Dig%26utm_medium%3Dsocial%26utm_content%3Dlink_in_bio%26fbclid%3DPAcGRvZgJleHRuA2FlbQIxMQBzcnRjBmFwcF9pZA81NjcwNjczNDMzNTI0MjcAAac-oIUpskVn5S3MlJykFUd9Zt0HiBAR5ooWoardK4MmJiTOfE7Wbsg_d6pAPQ_aem_toCLdTuSuByj8Q3Ba6AXYQ&e=AUBGZTZ0kAX2IhtbvPM_GfrDBO_MZ6SLmZnWetPk5Vlakc9cyMVJCLEm7AroEcva-sNosUvNSkpWH91VkRskYbbf7zXJzXo0jLWNFpTvR09Q-WpNDdFE20DhErOhBNk3xA",
"media_accent_color_hex": "",
"media_type": "none",
"open_external_url_with_in_app_browser": true,
"title": "",
"url": "http://help.instagram.com"
},
{
"creation_source": "NONE",
"icon_url": "",
"image_url": "",
"is_pinned": false,
"is_verified": false,
"link_id": 18464460457112790,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fyoutu.be%2Fac_qIXO0zlY%3Ffbclid%3DPAcGRvZgJleHRuA2FlbQIxMQBzcnRjBmFwcF9pZA81NjcwNjczNDMzNTI0MjcAAaeei3y0UTaa8xpDf5B1lZBmiWZ4wpjlDcu_4s9TqERC5Gol5DX3xGLjzt6nlw_aem_BWHF8guM2GYSVxV-_1BFxA&e=AUBR_AFukdUAXW0C9dQpRx19u505LMSgeZcbZZmdbE4QEpqxNtQMivM6LqAyPk2PWz-9SPa6KzP9zxfN_kZAJbeD20XyZ7y6hqDS00v8gL_J8ixlXUAOcNJNd6NlZGmRnQ",
"media_accent_color_hex": "",
"media_type": "none",
"open_external_url_with_in_app_browser": true,
"title": "Carversations with Salma Hayek",
"url": "https://youtu.be/ac_qIXO0zlY"
}
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_email": null,
"biography_font": null,
"biography_with_entities": {
"entities": [],
"raw_text": "Discover what's new on Instagram 🔎✨"
},
"birthday_today_visibility_for_viewer": "NOT_VISIBLE",
"broadcast_chat_preference_status": {
"is_broadcast_chat_creator": true,
"json_response": "{\"status\":\"ok\",\"status_code\":\"200\",\"is_broadcast_chat_creator\":true,\"notification_setting_type\":2}",
"notification_setting_type": 2
},
"business_contact_method": "UNKNOWN",
"can_add_fb_group_link_on_profile": false,
"can_hide_category": true,
"can_hide_public_contacts": true,
"can_message_pinned_carrera_interest_owner": true,
"can_reply_to_profile_banners": true,
"can_see_support_inbox": null,
"can_send_direct_message": true,
"can_use_affiliate_partnership_messaging_as_brand": false,
"can_use_affiliate_partnership_messaging_as_creator": false,
"can_use_branded_content_discovery_as_brand": false,
"can_use_branded_content_discovery_as_creator": false,
"can_use_paid_partnership_messaging_as_creator": false,
"category": "",
"category_id": "0",
"chaining_upsell_cards": [],
"contact_phone_number": "",
"creator_marketplace_accounts_reached_metric": null,
"creator_shopping_info": {
"linked_merchant_accounts": []
},
"current_catalog_id": null,
"direct_messaging": "",
"disable_profile_shop_cta": false,
"eligible_for_text_app_activation_badge": false,
"enable_add_school_in_edit_profile": false,
"existing_user_age_collection_enabled": true,
"external_lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Fhelp.instagram.com%2F%3Futm_source%3Dig%26utm_medium%3Dsocial%26utm_content%3Dlink_in_bio%26fbclid%3DPAcGRvZgJleHRuA2FlbQIxMQBzcnRjBmFwcF9pZA81NjcwNjczNDMzNTI0MjcAAaeCdCQgSt9TZRwTiGdUju-OsABS4muhk0dN9zriTpUJ1Q8LMiA_fVGfGbi1_g_aem_sLV7oQA7KT0ACJ07PuT0cA&e=AUBz8qWQZQ9oxz-vbGU_EevhARgo6gVboMFgUJzK0b0178HgTh3QE7iaqnDLL7iPoMhAY-z01i-i6aOqtChLCOdPlpnppLReO3Qe9PyASw",
"external_url": "http://help.instagram.com",
"fan_club_info": {
"autosave_to_exclusive_highlight": null,
"connected_member_count": null,
"fan_club_id": null,
"fan_club_name": null,
"fan_consideration_page_revamp_eligiblity": null,
"has_created_ssc": null,
"has_enough_subscribers_for_ssc": null,
"is_fan_club_gifting_eligible": null,
"is_fan_club_referral_eligible": null,
"is_free_trial_eligible": null,
"largest_public_bc_id": null,
"should_show_playlists_in_profile_tab": null,
"subscriber_count": null
},
"fbid_v2": "17841400039600391",
"feed_post_reshare_disabled": false,
"fifa_country_code": "CA",
"follow_friction_type": 0,
"follower_count": 685874640,
"following_count": 273,
"full_name": "Instagram",
"has_anonymous_profile_picture": false,
"has_collab_collections": false,
"has_ever_selected_topics": false,
"has_exclusive_feed_content": false,
"has_fan_club_subscriptions": false,
"has_gen_ai_personas_for_profile_banner": false,
"has_gizmo": false,
"has_guides": false,
"has_highlight_reels": true,
"has_ig_profile": true,
"has_longform_media": false,
"has_music_on_profile": false,
"has_nme_badge": false,
"has_private_collections": true,
"has_public_tab_threads": true,
"has_videos": true,
"has_views_fetching": true,
"has_visible_media_notes": true,
"hd_profile_pic_url_info": {
"height": 1080,
"url": "https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFblcdfe0OaNqlWWZtg4phTGx2bt2U74EXIpwPJVHhw1PbDu_ZhxiXGctjcwxFegGA&_nc_ohc=2jyrE4crIvEQ7kNvwEeV9ts&_nc_gid=DrdXQFXYu7R-Gm32WmICzw&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB0j-ccb7-5&oh=00_AQFZDtKtBiFZZXVLsfhZSm5OUlQsygPncxDIY2ZkNSAfuw&oe=6A830267&_nc_sid=10d13b",
"width": 1080
},
"hd_profile_pic_versions": [
{
"height": 320,
"url": "https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFblcdfe0OaNqlWWZtg4phTGx2bt2U74EXIpwPJVHhw1PbDu_ZhxiXGctjcwxFegGA&_nc_ohc=2jyrE4crIvEQ7kNvwEeV9ts&_nc_gid=DrdXQFXYu7R-Gm32WmICzw&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB3203200j-ccb7-5&oh=00_AQEemeIJloFkQiMGz55VvYgiNTARkOspSNL62F9tsCaAOQ&oe=6A830267&_nc_sid=10d13b",
"width": 320
},
{
"height": 640,
"url": "https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_s640x640_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFblcdfe0OaNqlWWZtg4phTGx2bt2U74EXIpwPJVHhw1PbDu_ZhxiXGctjcwxFegGA&_nc_ohc=2jyrE4crIvEQ7kNvwEeV9ts&_nc_gid=DrdXQFXYu7R-Gm32WmICzw&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB6406400j-ccb7-5&oh=00_AQHSrdiMb49l4DyqNv7rnmvXBZrEi8pkdsM477PKx1HywQ&oe=6A830267&_nc_sid=10d13b",
"width": 640
}
],
"highlight_reshare_disabled": false,
"highlights_tray_type": "DEFAULT",
"id": "25025320",
"ig_ghost_badge_d3_should_show": false,
"ig_ghost_badge_variant": "NONE",
"include_direct_blacklist_status": true,
"instagram_pk": "25025320",
"interop_messaging_user_fbid": "117943452927407",
"is_active_on_text_post_app": true,
"is_bestie": false,
"is_business": false,
"is_call_to_action_enabled": false,
"is_cannes": false,
"is_category_tappable": false,
"is_creator_agent_enabled": false,
"is_creator_marketplace_badge_visible": false,
"is_direct_roll_call_enabled": true,
"is_eligible_for_creator_product_links": false,
"is_eligible_for_meta_verified_enhanced_link_sheet": false,
"is_eligible_for_meta_verified_enhanced_link_sheet_consumption": false,
"is_eligible_for_meta_verified_ig_self_profile_not_verified_badge": false,
"is_eligible_for_meta_verified_label": true,
"is_eligible_for_meta_verified_links_in_post": false,
"is_eligible_for_meta_verified_links_in_reels": false,
"is_eligible_for_meta_verified_multiple_addresses_consumption": false,
"is_eligible_for_meta_verified_multiple_addresses_creation": false,
"is_eligible_for_meta_verified_related_accounts": false,
"is_eligible_for_post_boost_mv_upsell": false,
"is_eligible_for_schools_search_upsell": false,
"is_eligible_to_host_profile_reels_ads": false,
"is_facebook_onboarded_charity": false,
"is_favorite": false,
"is_favorite_for_clips": false,
"is_favorite_for_highlights": false,
"is_favorite_for_stories": false,
"is_force_migrated_h2g": false,
"is_guardian_r_account_cannes_pair": false,
"is_in_canada": false,
"is_interest_account": true,
"is_memorialized": false,
"is_meta_verified_related_accounts_display_enabled": false,
"is_new_to_instagram": false,
"is_onboarding_account": false,
"is_opal_enabled": false,
"is_open_to_collab": false,
"is_oregon_custom_gender_consented": false,
"is_parenting_account": false,
"is_potential_business": false,
"is_prime_onboarding_account": false,
"is_private": false,
"is_profile_audio_call_enabled": false,
"is_profile_broadcast_sharing_enabled": true,
"is_profile_picture_expansion_enabled": true,
"is_profile_search_enabled": false,
"is_profile_wa_calling_enabled": false,
"is_recon_ad_cta_on_profile_eligible_with_viewer": true,
"is_regulated_c18": false,
"is_regulated_news_in_viewer_location": false,
"is_remix_setting_enabled_for_posts": true,
"is_remix_setting_enabled_for_reels": true,
"is_ring_creator": false,
"is_secondary_account_creation": false,
"is_stories_teaser_muted": false,
"is_supervision_features_enabled": false,
"is_verified": true,
"is_whatsapp_linked": false,
"latest_besties_reel_media": 0,
"latest_reel_media": 1786550780,
"live_subscription_status": "default",
"location_data": {
"address_street": "",
"city_id": "0",
"city_name": "",
"instagram_location_id": "367152833370567",
"latitude": null,
"longitude": null,
"zip": ""
},
"media_count": 8553,
"merchant_checkout_style": "none",
"meta_subs_benefit_quota_info": null,
"meta_verified_benefits_info": {
"active_meta_verified_benefits": [],
"is_eligible_for_ig_meta_verified_label": false,
"is_eligible_for_meta_verified_content_protection": false
},
"meta_verified_related_accounts_count": 0,
"moonshot_joiner_number": null,
"mv_eligibility_v2": null,
"nametag": {
"available_theme_colors": [
-1,
7747834,
13828293,
"… 3 more items in the full response"
],
"background_image_url": "",
"emoji": "😀",
"emoji_color": 0,
"gradient": 2,
"is_background_image_blurred": true,
"mode": 0,
"selected_theme_color": -1,
"selfie_sticker": 0,
"selfie_url": "",
"theme_color": {
"available_theme_colors": [
{
"display_label": "Default",
"int_value": -1
},
{
"display_label": "Purple",
"int_value": 7747834
},
{
"display_label": "Lavender",
"int_value": 13828293
},
"… 3 more items in the full response"
],
"selected_theme_color": {
"display_label": "Default",
"int_value": -1
}
}
},
"nonpro_can_maybe_see_profile_hypercard": false,
"not_meta_verified_friction_info": {
"is_eligible_for_label_friction": false,
"label_friction_content": "Not Meta Verified"
},
"open_external_url_with_in_app_browser": true,
"page_id": null,
"page_name": "Instagram",
"pinned_channels_info": {
"has_public_channels": true,选择一个示例,将其输入和结果加载到 playground 中。
Get an Instagram profile by username or numeric user ID: full name, bio, follower, following and post counts, account type, category, verification and privacy flags, and the link in bio.
Look up one known public Instagram account for a creator shortlist or a brand research record. Use its bio and website to understand the profile, and its documented counts to describe account size. An Instagram user profile API by user ID lookup is an alternative when you already have that ID; send it as a string instead of a username. This is a public, read-only lookup, not account management. For request setup and field-handling guidance, follow the Instagram profile Python tutorial.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username": "nasa"}'
The result is returned in outputs[0].data.
Provide one of two string identifiers: username or user_id. A username must not include @; a numeric user ID must be sent as a string. For a username lookup, send only username. Use user_id instead when you already know the ID. The two identifiers are alternatives, not two independently required fields. A request with neither identifier is not a valid profile lookup.
| Name | Type | Required | Description |
|---|---|---|---|
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": {
"id": "528817151",
"username": "nasa",
"full_name": "NASA",
"biography": "Making the seemingly impossible, possible. ✨",
"follower_count": 104426390,
"following_count": 90,
"media_count": 4987,
"is_private": false,
"is_verified": true,
"is_business": true,
"category": "",
"external_url": "https://www.nasa.gov"
}
}
| Field | Meaning |
|---|---|
data.id | Numeric user ID. |
data.username / full_name / biography | Handle, display name and bio. |
data.follower_count / following_count / media_count | Followers, accounts followed and posts. |
data.is_private / is_verified / is_business | Account flags. |
data.category | Business or creator category when set. |
data.external_url | Link in bio. |
username (without @) or user_id.$0.002 per successful call. Failed calls, including lookups whose target does not exist, 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/v2/user-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "instagram"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
Provide one of two string identifiers: username or user_id. A username must not include @; a numeric user ID must be sent as a string. For a username lookup, send only username. Use user_id instead when you already know the ID. The two identifiers are alternatives, not two independently required fields. A request with neither identifier is not a valid profile lookup.
user_idstringUser ID (either username or user_id required)
usernamestringUsername (either username or user_id required)
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"data": {
"about": {
"accounts_with_shared_followers": null,
"country": "United States",
"date_joined": "February 2012",
"date_joined_as_timestamp": 1328054400,
"date_verified": null,
"date_verified_as_timestamp": null,
"former_usernames": 0,
"id": 25025320,
"is_verified": true,
"username": null
},
"account_badges": [],
"account_category": "",
"account_type": 3,
"active_standalone_fundraisers": {
"fundraisers": [],
"total_count": 0
},
"additional_business_addresses": [],
"adjusted_banners_order": [],
"ads_incentive_expiration_date": null,
"ads_page_id": null,
"ads_page_name": null,
"allow_manage_memorialization": false,
"avatar_status": {
"has_avatar": false
},
"bio_links": [
{
"creation_source": "NONE",
"icon_url": "",
"image_url": "",
"is_pinned": false,
"is_verified": false,
"link_id": 18608813734063668,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fhelp.instagram.com%2F%3Futm_source%3Dig%26utm_medium%3Dsocial%26utm_content%3Dlink_in_bio%26fbclid%3DPAcGRvZgJleHRuA2FlbQIxMQBzcnRjBmFwcF9pZA81NjcwNjczNDMzNTI0MjcAAac-oIUpskVn5S3MlJykFUd9Zt0HiBAR5ooWoardK4MmJiTOfE7Wbsg_d6pAPQ_aem_toCLdTuSuByj8Q3Ba6AXYQ&e=AUBGZTZ0kAX2IhtbvPM_GfrDBO_MZ6SLmZnWetPk5Vlakc9cyMVJCLEm7AroEcva-sNosUvNSkpWH91VkRskYbbf7zXJzXo0jLWNFpTvR09Q-WpNDdFE20DhErOhBNk3xA",
"media_accent_color_hex": "",
"media_type": "none",
"open_external_url_with_in_app_browser": true,
"title": "",
"url": "http://help.instagram.com"
},
{
"creation_source": "NONE",
"icon_url": "",
"image_url": "",
"is_pinned": false,
"is_verified": false,
"link_id": 18464460457112790,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fyoutu.be%2Fac_qIXO0zlY%3Ffbclid%3DPAcGRvZgJleHRuA2FlbQIxMQBzcnRjBmFwcF9pZA81NjcwNjczNDMzNTI0MjcAAaeei3y0UTaa8xpDf5B1lZBmiWZ4wpjlDcu_4s9TqERC5Gol5DX3xGLjzt6nlw_aem_BWHF8guM2GYSVxV-_1BFxA&e=AUBR_AFukdUAXW0C9dQpRx19u505LMSgeZcbZZmdbE4QEpqxNtQMivM6LqAyPk2PWz-9SPa6KzP9zxfN_kZAJbeD20XyZ7y6hqDS00v8gL_J8ixlXUAOcNJNd6NlZGmRnQ",
"media_accent_color_hex": "",
"media_type": "none",
"open_external_url_with_in_app_browser": true,
"title": "Carversations with Salma Hayek",
"url": "https://youtu.be/ac_qIXO0zlY"
}
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_email": null,
"biography_font": null,
"biography_with_entities": {
"entities": [],
"raw_text": "Discover what's new on Instagram 🔎✨"
},
"birthday_today_visibility_for_viewer": "NOT_VISIBLE",
"broadcast_chat_preference_status": {
"is_broadcast_chat_creator": true,
"json_response": "{\"status\":\"ok\",\"status_code\":\"200\",\"is_broadcast_chat_creator\":true,\"notification_setting_type\":2}",
"notification_setting_type": 2
},
"business_contact_method": "UNKNOWN",
"can_add_fb_group_link_on_profile": false,
"can_hide_category": true,
"can_hide_public_contacts": true,
"can_message_pinned_carrera_interest_owner": true,
"can_reply_to_profile_banners": true,
"can_see_support_inbox": null,
"can_send_direct_message": true,
"can_use_affiliate_partnership_messaging_as_brand": false,
"can_use_affiliate_partnership_messaging_as_creator": false,
"can_use_branded_content_discovery_as_brand": false,
"can_use_branded_content_discovery_as_creator": false,
"can_use_paid_partnership_messaging_as_creator": false,
"category": "",
"category_id": "0",
"chaining_upsell_cards": [],
"contact_phone_number": "",
"creator_marketplace_accounts_reached_metric": null,
"creator_shopping_info": {
"linked_merchant_accounts": []
},
"current_catalog_id": null,
"direct_messaging": "",
"disable_profile_shop_cta": false,
"eligible_for_text_app_activation_badge": false,
"enable_add_school_in_edit_profile": false,
"existing_user_age_collection_enabled": true,
"external_lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Fhelp.instagram.com%2F%3Futm_source%3Dig%26utm_medium%3Dsocial%26utm_content%3Dlink_in_bio%26fbclid%3DPAcGRvZgJleHRuA2FlbQIxMQBzcnRjBmFwcF9pZA81NjcwNjczNDMzNTI0MjcAAaeCdCQgSt9TZRwTiGdUju-OsABS4muhk0dN9zriTpUJ1Q8LMiA_fVGfGbi1_g_aem_sLV7oQA7KT0ACJ07PuT0cA&e=AUBz8qWQZQ9oxz-vbGU_EevhARgo6gVboMFgUJzK0b0178HgTh3QE7iaqnDLL7iPoMhAY-z01i-i6aOqtChLCOdPlpnppLReO3Qe9PyASw",
"external_url": "http://help.instagram.com",
"fan_club_info": {
"autosave_to_exclusive_highlight": null,
"connected_member_count": null,
"fan_club_id": null,
"fan_club_name": null,
"fan_consideration_page_revamp_eligiblity": null,
"has_created_ssc": null,
"has_enough_subscribers_for_ssc": null,
"is_fan_club_gifting_eligible": null,
"is_fan_club_referral_eligible": null,
"is_free_trial_eligible": null,
"largest_public_bc_id": null,
"should_show_playlists_in_profile_tab": null,
"subscriber_count": null
},
"fbid_v2": "17841400039600391",
"feed_post_reshare_disabled": false,
"fifa_country_code": "CA",
"follow_friction_type": 0,
"follower_count": 685874640,
"following_count": 273,
"full_name": "Instagram",
"has_anonymous_profile_picture": false,
"has_collab_collections": false,
"has_ever_selected_topics": false,
"has_exclusive_feed_content": false,
"has_fan_club_subscriptions": false,
"has_gen_ai_personas_for_profile_banner": false,
"has_gizmo": false,
"has_guides": false,
"has_highlight_reels": true,
"has_ig_profile": true,
"has_longform_media": false,
"has_music_on_profile": false,
"has_nme_badge": false,
"has_private_collections": true,
"has_public_tab_threads": true,
"has_videos": true,
"has_views_fetching": true,
"has_visible_media_notes": true,
"hd_profile_pic_url_info": {
"height": 1080,
"url": "https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFblcdfe0OaNqlWWZtg4phTGx2bt2U74EXIpwPJVHhw1PbDu_ZhxiXGctjcwxFegGA&_nc_ohc=2jyrE4crIvEQ7kNvwEeV9ts&_nc_gid=DrdXQFXYu7R-Gm32WmICzw&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB0j-ccb7-5&oh=00_AQFZDtKtBiFZZXVLsfhZSm5OUlQsygPncxDIY2ZkNSAfuw&oe=6A830267&_nc_sid=10d13b",
"width": 1080
},
"hd_profile_pic_versions": [
{
"height": 320,
"url": "https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFblcdfe0OaNqlWWZtg4phTGx2bt2U74EXIpwPJVHhw1PbDu_ZhxiXGctjcwxFegGA&_nc_ohc=2jyrE4crIvEQ7kNvwEeV9ts&_nc_gid=DrdXQFXYu7R-Gm32WmICzw&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB3203200j-ccb7-5&oh=00_AQEemeIJloFkQiMGz55VvYgiNTARkOspSNL62F9tsCaAOQ&oe=6A830267&_nc_sid=10d13b",
"width": 320
},
{
"height": 640,
"url": "https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_s640x640_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFblcdfe0OaNqlWWZtg4phTGx2bt2U74EXIpwPJVHhw1PbDu_ZhxiXGctjcwxFegGA&_nc_ohc=2jyrE4crIvEQ7kNvwEeV9ts&_nc_gid=DrdXQFXYu7R-Gm32WmICzw&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB6406400j-ccb7-5&oh=00_AQHSrdiMb49l4DyqNv7rnmvXBZrEi8pkdsM477PKx1HywQ&oe=6A830267&_nc_sid=10d13b",
"width": 640
}
],
"highlight_reshare_disabled": false,
"highlights_tray_type": "DEFAULT",
"id": "25025320",
"ig_ghost_badge_d3_should_show": false,
"ig_ghost_badge_variant": "NONE",
"include_direct_blacklist_status": true,
"instagram_pk": "25025320",
"interop_messaging_user_fbid": "117943452927407",
"is_active_on_text_post_app": true,
"is_bestie": false,
"is_business": false,
"is_call_to_action_enabled": false,
"is_cannes": false,
"is_category_tappable": false,
"is_creator_agent_enabled": false,
"is_creator_marketplace_badge_visible": false,
"is_direct_roll_call_enabled": true,
"is_eligible_for_creator_product_links": false,
"is_eligible_for_meta_verified_enhanced_link_sheet": false,
"is_eligible_for_meta_verified_enhanced_link_sheet_consumption": false,
"is_eligible_for_meta_verified_ig_self_profile_not_verified_badge": false,
"is_eligible_for_meta_verified_label": true,
"is_eligible_for_meta_verified_links_in_post": false,
"is_eligible_for_meta_verified_links_in_reels": false,
"is_eligible_for_meta_verified_multiple_addresses_consumption": false,
"is_eligible_for_meta_verified_multiple_addresses_creation": false,
"is_eligible_for_meta_verified_related_accounts": false,
"is_eligible_for_post_boost_mv_upsell": false,
"is_eligible_for_schools_search_upsell": false,
"is_eligible_to_host_profile_reels_ads": false,
"is_facebook_onboarded_charity": false,
"is_favorite": false,
"is_favorite_for_clips": false,
"is_favorite_for_highlights": false,
"is_favorite_for_stories": false,
"is_force_migrated_h2g": false,
"is_guardian_r_account_cannes_pair": false,
"is_in_canada": false,
"is_interest_account": true,
"is_memorialized": false,
"is_meta_verified_related_accounts_display_enabled": false,
"is_new_to_instagram": false,
"is_onboarding_account": false,
"is_opal_enabled": false,
"is_open_to_collab": false,
"is_oregon_custom_gender_consented": false,
"is_parenting_account": false,
"is_potential_business": false,
"is_prime_onboarding_account": false,
"is_private": false,
"is_profile_audio_call_enabled": false,
"is_profile_broadcast_sharing_enabled": true,
"is_profile_picture_expansion_enabled": true,
"is_profile_search_enabled": false,
"is_profile_wa_calling_enabled": false,
"is_recon_ad_cta_on_profile_eligible_with_viewer": true,
"is_regulated_c18": false,
"is_regulated_news_in_viewer_location": false,
"is_remix_setting_enabled_for_posts": true,
"is_remix_setting_enabled_for_reels": true,
"is_ring_creator": false,
"is_secondary_account_creation": false,
"is_stories_teaser_muted": false,
"is_supervision_features_enabled": false,
"is_verified": true,
"is_whatsapp_linked": false,
"latest_besties_reel_media": 0,
"latest_reel_media": 1786550780,
"live_subscription_status": "default",
"location_data": {
"address_street": "",
"city_id": "0",
"city_name": "",
"instagram_location_id": "367152833370567",
"latitude": null,
"longitude": null,
"zip": ""
},
"media_count": 8553,
"merchant_checkout_style": "none",
"meta_subs_benefit_quota_info": null,
"meta_verified_benefits_info": {
"active_meta_verified_benefits": [],
"is_eligible_for_ig_meta_verified_label": false,
"is_eligible_for_meta_verified_content_protection": false
},
"meta_verified_related_accounts_count": 0,
"moonshot_joiner_number": null,
"mv_eligibility_v2": null,
"nametag": {
"available_theme_colors": [
-1,
7747834,
13828293,
"… 3 more items in the full response"
],
"background_image_url": "",
"emoji": "😀",
"emoji_color": 0,
"gradient": 2,
"is_background_image_blurred": true,
"mode": 0,
"selected_theme_color": -1,
"selfie_sticker": 0,
"selfie_url": "",
"theme_color": {
"available_theme_colors": [
{
"display_label": "Default",
"int_value": -1
},
{
"display_label": "Purple",
"int_value": 7747834
},
{
"display_label": "Lavender",
"int_value": 13828293
},
"… 3 more items in the full response"
],
"selected_theme_color": {
"display_label": "Default",
"int_value": -1
}
}
},
"nonpro_can_maybe_see_profile_hypercard": false,
"not_meta_verified_friction_info": {
"is_eligible_for_label_friction": false,
"label_friction_content": "Not Meta Verified"
},
"open_external_url_with_in_app_browser": true,
"page_id": null,
"page_name": "Instagram",
"pinned_channels_info": {
"has_public_channels": true,
"pinned_channels_list": [
{
"creator_broadcast_chat_thread_preview_response": {
"audience_type": 0,
"is_added_to_inbox": false,
"is_collaborator": null,
"is_follower": null,
"is_invited_collaborator": null,
"is_subscriber": null
},
"creator_igid": null,
"creator_username": "instagram",
"group_image_background_uri": "",
"group_image_uri": "https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_e0_s240x240_tt6&_nc_cat=1&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB2402400j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=wEtSr80SI-0Q7kNvwFZP7dx&_nc_oc=AdqlvdwS4EDKSUauJvRHs050qF2Lx2_XGORYl6fxAHLSwoJzdFdfUv5F3A_pEoVwTM0&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_gid=DrdXQFXYu7R-Gm32WmICzw&_nc_ss=7a3ba&oh=00_AQHMmdLDMv7OzjlmDmoiIG6MTVoK_KPEvgc8HHYQd1S4ew&oe=6A830267",
"invite_link": "https://www.instagram.com/channel/AbbbJ5udmRl1M0Uh/",
"is_creator_verified": true,
"is_member": false,
"number_of_members": 3790003,
"should_badge_channel": null,
"social_channel_invite_id": null,
"social_context_username": null,
"subtitle": "Channel • 3.7M members",
"thread_igid": "340282366841710301281158605291592089435",
"thread_subtype": 29,
"title": "What’s Good on Instagram ✨"
}
]
},
"posts_subscription_status": "default",
"primary_profile_link_type": 0,
"professional_conversion_suggested_account_type": 3,
"profile_context": "",
"profile_context_facepile_users": [],
"profile_context_links_with_user_ids": [],
"profile_hours_banner_v2": {
"has_hours": false
},
"profile_mentions_banner_v2": {
"mentions_count": 0
},
"profile_overlay_info": {
"bloks_payload": null,
"overlay_format": "NONE"
},
"profile_pic_genai_tool_info": [],
"profile_pic_id": "3725434617063385984",
"profile_pic_url": "https://scontent-sjc6-1.cdninstagram.com/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=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=wEtSr80SI-0Q7kNvwFZP7dx&_nc_oc=AdqlvdwS4EDKSUauJvRHs050qF2Lx2_XGORYl6fxAHLSwoJzdFdfUv5F3A_pEoVwTM0&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_gid=DrdXQFXYu7R-Gm32WmICzw&_nc_ss=783ba&oh=00_AQEmkXXd2J5d_ltXE4itIwDcISn8XHbLS1rsIFRMPGok3Q&oe=6A830267",
"profile_pic_url_hd": "https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_s640x640_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFblcdfe0OaNqlWWZtg4phTGx2bt2U74EXIpwPJVHhw1PbDu_ZhxiXGctjcwxFegGA&_nc_ohc=2jyrE4crIvEQ7kNvwEeV9ts&_nc_gid=DrdXQFXYu7R-Gm32WmICzw&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB6406400j-ccb7-5&oh=00_AQHSrdiMb49l4DyqNv7rnmvXBZrEi8pkdsM477PKx1HywQ&oe=6A830267&_nc_sid=10d13b",
"profile_reels_sorting_eligibility": "CHECK_VIEWER_QE",
"profile_type": 0,
"pronouns": [],
"public_email": "",
"public_phone_country_code": "",
"public_phone_number": "",
"qa_freeform_banner": null,
"qa_freeform_banner_available_prompts": [
{
"display_text": "Current obsession",
"hint": "Placeholder hint for current obsession prompt",
"prompt": "CURRENT_OBSESSION"
},
{
"display_text": "Dream destination",
"hint": "Placeholder hint for dream destination prompt",
"prompt": "DREAM_DESTINATION"
},
{
"display_text": "Playing",
"hint": "Placeholder hint for playing prompt",
"prompt": "PLAYING"
},
"… 3 more items in the full response"
],
"qa_freeform_banner_transparency": "The banner is visible to everyone on and off Instagram.",
"recon_features": {
"enable_recon_cta": true
},
"recs_from_friends": {
"enable_recs_from_friends": false,
"recs_from_friends_entry_point_type": "banner"
},
"reels_subscription_status": "default",
"relevant_news_regulation_locations": [],
"remove_message_entrypoint": false,
"request_contact_enabled": false,
"ring_creator_metadata": [],
"school_affiliated_account_viewer_status": null,
"seller_shoppable_feed_type": "none",
"short_drama_creator": null,
"short_drama_producer_account": null,
"short_drama_role": "NONE",
"short_drama_series_episode_count": null,
"short_drama_series_playlist_id": null,
"short_drama_series_profiles": [],
"short_drama_series_seed_media_id": null,
"short_drama_series_title": null,
"should_show_tagged_tab": true,
"show_account_transparency_details": true,
"show_all_highlights_as_selected_in_management_screen": false,
"show_blue_badge_on_main_profile": true,
"show_events_banner_on_profile": false,
"show_hours_banner_on_profile": false,
"show_mentions_banner_on_profile": false,
"show_post_insights_entry_point": true,
"show_ring_award": false,
"show_schools_badge": null,
"show_shoppable_feed": false,
"show_wa_link_on_profile": false,
"spam_follower_setting_enabled": true,
"stories_subscription_status": "default",
"text_app_last_visited_time": null,
"text_post_app_badge_label": "instagram",
"text_post_new_post_count": 5,
"third_party_downloads_enabled": 2,
"threads_profile_glyph_url": "barcelona://user?username=instagram&xmt=AQG0MldPOcOmbNWY26gcKHTJAovWSw34_aGzW2b10aBgtZ4",
"total_ar_effects": 0,
"transparency_product_enabled": false,
"trial_clips_enabled": false,
"trial_clips_rate_limiting": {
"at_limit_body": "You've shared the maximum number of trial reels allowed within 24 hours. You can share this reel to everyone now as a regular reel or wait up to 24 hours to share it as a trial reel.",
"at_limit_title": "You've reached the limit",
"count": 20,
"warning_body": "You've almost reached the limit. Once you share this trial reel, you'll need to wait up to 24 hours to start using trial reels again.",
"warning_title": "You can share one more trial reel"
},
"upcoming_events": [],
"username": "instagram",
"views_on_grid_status": "SHOW_VIEWS_ON_GRID",
"wa_calling_option_for_legacy_num": 0,
"wa_calling_option_for_wa_linked": 0
}
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Instagram | $0.002 每次调用 | JSON |
Instagram | $0.002 每次调用 | JSON |
Instagram | $0.002 每次调用 | JSON |
Instagram | $0.002 每次调用 | JSON |
Instagram | $0.002 每次调用 | JSON |
Instagram | $0.002 每次调用 | JSON |
指南:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
问题
向 https://api.sandbase.ai/v1/api/instagram/v2/user-info 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.002。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
提供两个字符串标识符之一:username 或 user_id。username 不能包含 @;数字用户 ID 必须作为字符串发送。按用户名查询时,只发送 username。已知 ID 时请改用 user_id。这两个标识符是二选一,而不是两个都必须独立提供的字段。仅提供其一都不提供的请求不是有效的个人资料查询。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Instagram User Profile 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Instagram API 访问权限。
不会。当前公开 README 将 follower_count 描述为在存在时的计数,而不是粉丝身份或历史粉丝序列。它可能缺失或为 null,也不是运行时必定返回的字段。请将其用于公开资料研究记录,而不是作为受众人口统计的证据。这个单资料请求不需要分页,也不接受原生的用户名批量列表。
这些字段名遵循当前公开 README,并不保证运行时一定可用;字段可能缺失、为 null 或为空。空的 bio、website 或 category 可能不会提供可用值。缺失或 null 的计数请保持未知,不要转换为 0。未知标志不等于 false。is_verified 是资料标志,不是身份验证;is_private 不授予访问私密内容的权限。我们不承诺提供邮箱可用性。