usernamestringआवश्यक
The Instagram username whose profile details are to be retrieved.
https://api.sandbase.ai/v1/api/instagram/user-detailGet an Instagram user profile by username. Use it to review a known account before creator research, brand monitoring, or related post analysis.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns the public profile of one Instagram account, including bio, bio links, follower and following counts, and the first page of recent posts and videos. It needs one input: the account username.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/user-detail" \
-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 | The Instagram username whose profile details are to be retrieved. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"attempts": "0",
"data": {
"user": {
"ai_agent_owner_username": null,
"ai_agent_type": null,
"bio_links": [
{
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Fhelp.instagram.com%2F&e=AUB7qfn3OfnzWlG5…",
"title": "",
"url": "http://help.instagram.com"
}
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_with_entities": {
"entities": [],
"raw_text": "Discover what's new on Instagram 🔎✨"
},
"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
}
},
"status": "ok"
}
| Field | Meaning |
|---|---|
data.user.full_name | Display name of the account. |
data.user.biography | Bio text shown on the profile. biography_with_entities.raw_text holds the same text. |
data.user.edge_followed_by.count / data.user.edge_follow.count | Number of followers and number of accounts the user follows. |
data.user.edge_owner_to_timeline_media.count | Total number of posts on the account. |
data.user.edge_owner_to_timeline_media.edges[].node | One recent post. It includes __typename (such as GraphVideo or GraphSidecar), display_url, dimensions, comments_disabled, accessibility_caption and edge_liked_by.count. |
data.user.edge_owner_to_timeline_media.page_info.end_cursor / data.user.edge_owner_to_timeline_media.page_info.has_next_page | Cursor for the next page of posts and a flag that shows whether more posts exist. |
data.user.edge_felix_video_timeline.count | Total number of videos in the video timeline. The edges list holds the first page of those videos. |
data.user.bio_links[].url / data.user.bio_links[].title | Links listed in the bio with their titles. lynx_url is the Instagram redirect version of the same link. |
data.user.external_url | Main external link on the profile. |
data.user.edge_related_profiles.edges[].node.username / data.user.edge_related_profiles.edges[].node.is_verified | Username and verified flag of each related account. Each node also has full_name and id. |
data.user.business_email / data.user.business_phone_number / data.user.business_category_name | Business contact and category details. They are null when the account does not set them. |
@ sign as username, for example instagram.end_cursor values appear in each page_info, but this API takes only username as input.$0.014286 per successful call. Failed calls 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/user-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "instagram"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
usernamestringआवश्यकThe Instagram username whose profile details are to be retrieved.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Instagram User Profileयह API Instagram | $0.014286 प्रति कॉल | JSON |
Instagram | $0.0011 प्रति कॉल से | JSON |
Instagram | $0.001 प्रति कॉल से | JSON |
Instagram | $0.0011 प्रति कॉल से | JSON |
Instagram | $0.0012 प्रति कॉल से | JSON |
Instagram | $0.0011 प्रति कॉल से | JSON |
गाइड्स:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/instagram/user-detail पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.014286 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: username (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Instagram User Profile SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Instagram API access के लिए आवेदन करने की आवश्यकता नहीं है।