usernamestringआवश्यक
Instagram username
https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-usernameReturns Instagram user profile details and related account information for a specified Instagram handle. Input a username to view public profile data.
[
{
"data": {
"attempts": "7",
"data": {
"user": {
"ai_agent_owner_username": null,
"ai_agent_type": null,
"bio_links": [],
"biography": "Dehradun \nI know there more to life",
"biography_with_entities": {
"entities": [],
"raw_text": "Dehradun \nI know there more to life"
},
"blocked_by_viewer": false,
"business_address_json": null,
"business_category_name": null,
"business_contact_method": "UNKNOWN",
"business_email": null,
"business_phone_number": null,
"category_enum": null,
"category_name": null,
"country_block": false,
"edge_felix_video_timeline": {
"count": 0,
"edges": [],
"page_info": {
"end_cursor": null,
"has_next_page": false
}
},
"edge_follow": {
"count": 84
},
"edge_followed_by": {
"count": 273
},
"edge_media_collections": {
"count": 0,
"edges": [],
"page_info": {
"end_cursor": null,
"has_next_page": false
}
},
"edge_mutual_followed_by": {
"count": 0,
"edges": []
},
"edge_owner_to_timeline_media": {
"count": 0,
"edges": [],
"page_info": {
"end_cursor": null,
"has_next_page": false
}
},
"edge_related_profiles": {
"edges": []
},
"edge_saved_media": {
"count": 0,
"edges": [],
"page_info": {
"end_cursor": null,
"has_next_page": false
}
},
"eimu_id": "113039086757284",
"external_url": null,
"external_url_linkshimmed": null,
"fb_profile_biolink": null,
"fbid": "17841402394224598",
"followed_by_viewer": false,
"follows_viewer": false,
"full_name": "🕸️/🌹",
"group_metadata": null,
"guardian_id": null,
"has_ar_effects": false,
"has_blocked_viewer": false,
"has_channel": false,
"has_clips": false,
"has_guides": false,
"has_onboarded_to_text_post_app": false,
"has_requested_viewer": false,
"hide_like_and_view_counts": false,
"highlight_reel_count": 0,
"id": "2276791807",
"is_business_account": false,
"is_embeds_disabled": true,
"is_guardian_of_viewer": false,
"is_joined_recently": false,
"is_private": true,
"is_professional_account": false,
"is_regulated_c18": false,
"is_supervised_by_viewer": false,
"is_supervised_user": false,
"is_supervision_enabled": false,
"is_verified": false,
"is_verified_by_mv4b": false,
"overall_category_name": null,
"pinned_channels_list_count": 0,
"profile_pic_url": "https://instagram.ftrn5-2.fna.fbcdn.net/v/t51.82787-19/786390890_18552994051079808_4987364567578203108_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.ftrn5-2.fna.fbcdn.net&_nc_cat=100&_nc_oc=Q6cZ2gHUNZVkibNxI5w_KKo2jkPiKLWhLogcZv-II7HBpjGTi99iB51-4uC35bz4mxTqKGM&_nc_ohc=EaF37zVW2EIQ7kNvwFPU2eC&_nc_gid=W06wPORokEp6_rwKOHhUhQ&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AQOulN1-PB8M1yKaw81L8qNpA6IA_1ZdNAQqqSIOCC2WIg&oe=6AC46F08&_nc_sid=8b3546",
"profile_pic_url_hd": "https://instagram.ftrn5-2.fna.fbcdn.net/v/t51.82787-19/786390890_18552994051079808_4987364567578203108_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.ftrn5-2.fna.fbcdn.net&_nc_cat=100&_nc_oc=Q6cZ2gHUNZVkibNxI5w_KKo2jkPiKLWhLogcZv-II7HBpjGTi99iB51-4uC35bz4mxTqKGM&_nc_ohc=EaF37zVW2EIQ7kNvwFPU2eC&_nc_gid=W06wPORokEp6_rwKOHhUhQ&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AQPvR9Z8CJWYmmcJjQ4GtKF2_Rag2P3pIbwd4vGXUnqiKQ&oe=6AC46F08&_nc_sid=8b3546",
"pronouns": [],
"remove_message_entrypoint": false,
"requested_by_viewer": false,
"restricted_by_viewer": null,
"should_show_category": false,
"should_show_public_contacts": false,
"show_account_transparency_details": true,
"show_text_post_app_badge": false,
"transparency_label": null,
"transparency_product": null,
"username": "__whoisashii"
}
},
"status": "ok"
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Get an Instagram profile by username in the format of Instagram's web profile API: bio, bio links, follower and following counts, post count, verification, privacy and business details.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-username" \
-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.
{
"data": {
"user": {
"id": "25025320",
"username": "instagram",
"full_name": "Instagram",
"biography": "Discover what's new on Instagram 🔎✨",
"is_private": false,
"is_verified": true,
"is_business_account": false,
"category_name": null,
"external_url": "http://help.instagram.com/",
"edge_followed_by": {
"count": 686358280
},
"edge_follow": {
"count": 165
},
"edge_owner_to_timeline_media": {
"count": 8634
}
}
},
"status": "ok"
}
| Field | Meaning |
|---|---|
data.user.id / username / full_name | Numeric ID, handle and display name. |
data.user.edge_followed_by.count / edge_follow.count | Followers and accounts followed. |
data.user.edge_owner_to_timeline_media.count | Number of posts. |
data.user.is_private / is_verified / is_business_account | Account flags. |
data.user.bio_links | Links in bio. |
edge_* keys, as in Instagram's web API. For flat follower_count fields use Instagram User Info (v2).$0.001 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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-username" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "__whoisashii"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
usernamestringआवश्यकInstagram username
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"attempts": "7",
"data": {
"user": {
"ai_agent_owner_username": null,
"ai_agent_type": null,
"bio_links": [],
"biography": "Dehradun \nI know there more to life",
"biography_with_entities": {
"entities": [],
"raw_text": "Dehradun \nI know there more to life"
},
"blocked_by_viewer": false,
"business_address_json": null,
"business_category_name": null,
"business_contact_method": "UNKNOWN",
"business_email": null,
"business_phone_number": null,
"category_enum": null,
"category_name": null,
"country_block": false,
"edge_felix_video_timeline": {
"count": 0,
"edges": [],
"page_info": {
"end_cursor": null,
"has_next_page": false
}
},
"edge_follow": {
"count": 84
},
"edge_followed_by": {
"count": 273
},
"edge_media_collections": {
"count": 0,
"edges": [],
"page_info": {
"end_cursor": null,
"has_next_page": false
}
},
"edge_mutual_followed_by": {
"count": 0,
"edges": []
},
"edge_owner_to_timeline_media": {
"count": 0,
"edges": [],
"page_info": {
"end_cursor": null,
"has_next_page": false
}
},
"edge_related_profiles": {
"edges": []
},
"edge_saved_media": {
"count": 0,
"edges": [],
"page_info": {
"end_cursor": null,
"has_next_page": false
}
},
"eimu_id": "113039086757284",
"external_url": null,
"external_url_linkshimmed": null,
"fb_profile_biolink": null,
"fbid": "17841402394224598",
"followed_by_viewer": false,
"follows_viewer": false,
"full_name": "🕸️/🌹",
"group_metadata": null,
"guardian_id": null,
"has_ar_effects": false,
"has_blocked_viewer": false,
"has_channel": false,
"has_clips": false,
"has_guides": false,
"has_onboarded_to_text_post_app": false,
"has_requested_viewer": false,
"hide_like_and_view_counts": false,
"highlight_reel_count": 0,
"id": "2276791807",
"is_business_account": false,
"is_embeds_disabled": true,
"is_guardian_of_viewer": false,
"is_joined_recently": false,
"is_private": true,
"is_professional_account": false,
"is_regulated_c18": false,
"is_supervised_by_viewer": false,
"is_supervised_user": false,
"is_supervision_enabled": false,
"is_verified": false,
"is_verified_by_mv4b": false,
"overall_category_name": null,
"pinned_channels_list_count": 0,
"profile_pic_url": "https://instagram.ftrn5-2.fna.fbcdn.net/v/t51.82787-19/786390890_18552994051079808_4987364567578203108_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.ftrn5-2.fna.fbcdn.net&_nc_cat=100&_nc_oc=Q6cZ2gHUNZVkibNxI5w_KKo2jkPiKLWhLogcZv-II7HBpjGTi99iB51-4uC35bz4mxTqKGM&_nc_ohc=EaF37zVW2EIQ7kNvwFPU2eC&_nc_gid=W06wPORokEp6_rwKOHhUhQ&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AQOulN1-PB8M1yKaw81L8qNpA6IA_1ZdNAQqqSIOCC2WIg&oe=6AC46F08&_nc_sid=8b3546",
"profile_pic_url_hd": "https://instagram.ftrn5-2.fna.fbcdn.net/v/t51.82787-19/786390890_18552994051079808_4987364567578203108_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.ftrn5-2.fna.fbcdn.net&_nc_cat=100&_nc_oc=Q6cZ2gHUNZVkibNxI5w_KKo2jkPiKLWhLogcZv-II7HBpjGTi99iB51-4uC35bz4mxTqKGM&_nc_ohc=EaF37zVW2EIQ7kNvwFPU2eC&_nc_gid=W06wPORokEp6_rwKOHhUhQ&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AQPvR9Z8CJWYmmcJjQ4GtKF2_Rag2P3pIbwd4vGXUnqiKQ&oe=6AC46F08&_nc_sid=8b3546",
"pronouns": [],
"remove_message_entrypoint": false,
"requested_by_viewer": false,
"restricted_by_viewer": null,
"should_show_category": false,
"should_show_public_contacts": false,
"show_account_transparency_details": true,
"show_text_post_app_badge": false,
"transparency_label": null,
"transparency_product": null,
"username": "__whoisashii"
}
},
"status": "ok"
}
}
]और जानें
| 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
प्रश्न
https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-username पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।
आवश्यक: username (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Instagram User Info by Username SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Instagram API access के लिए आवेदन करने की आवश्यकता नहीं है।