handlestringआवश्यक
Instagram username without the leading @.
https://api.sandbase.ai/v1/api/instagram/similar-profilesList the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
This API returns the accounts Instagram recommends as similar to a public profile. Send the handle of the profile, without the leading @. Each result has the account's username, display name, user ID, verified flag and avatar URL.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/similar-profiles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle": "nasa"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Instagram username without the leading @. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"profiles": [
{
"avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/265195576_626729471802765…",
"displayName": "HISTORY",
"private": null,
"userId": "1385204914",
"username": "history",
"verified": true
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.profiles[] | List of accounts Instagram recommends as similar to the requested profile. |
data.profiles[].username | Handle of the recommended account. Use it as handle in other Instagram APIs. |
data.profiles[].displayName | Public display name of the recommended account. |
data.profiles[].userId | Numeric Instagram ID of the account, returned as a string. |
data.profiles[].verified | true if the account has the verified badge, false if not. |
data.profiles[].avatarUrl | Link to the account's profile picture. The sample URLs point to a 150x150 image. |
data.profiles[].private | Whether the account is private. The sample response returns null for every account, so treat it as unknown. |
found | true when the lookup returned a result. A lookup that finds nothing returns false. |
handle is the username in the profile URL, for example nasa for instagram.com/nasa.handle. There are no pagination parameters.username to Instagram Profile or Instagram User Profile.userId instead, call Instagram User Profile by ID.Billed at the actual cost of each call, about $0.00175 for the request above. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/similar-profiles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"handle": "nasa"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
handlestringआवश्यकInstagram username without the leading @.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Instagram | $0.00175 प्रति कॉल से | 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/similar-profiles पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.00175 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: handle (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Instagram Similar Profiles SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Instagram API access के लिए आवेदन करने की आवश्यकता नहीं है।