user_idstringerforderlich
Target user ID (numeric), obtainable via get_user_id_by_username
https://api.sandbase.ai/v1/api/instagram/v3/similar-usersReturns recommended Instagram accounts similar to a target profile. Provide a numeric user ID to look up related accounts, usernames, and profile details.
[
{
"data": {
"chaining_upsell_cards": [],
"follow_ranking_token": "005cfbadf16c420db5167243e9b83b3a|22681466278|chaining",
"is_backup": false,
"is_recommend_account": false,
"status": "ok",
"users": [
{
"chaining_info": {
"algorithm": null,
"sources": ""
},
"full_name": "LISA",
"id": "8012033210",
"is_private": false,
"is_verified": true,
"pk": "8012033210",
"pk_id": "8012033210",
"profile_pic_id": "4001908869835700028_8012033210",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/839490332_18373632106265211_856628747694520110_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gG8gkUFMzGUmjZSz8GGrHwuqGEYhS9qTp5rwhW1KL3ebAUBw8sd11Fci5S3ZuEs_q8&_nc_ohc=6vW41sKNReoQ7kNvwGS_Qo_&_nc_gid=bt33eilM7E9PRXpPFCS2oA&edm=AIzrcHcBAAAA&ccb=7-5&oh=00_AQPv0b9CRvgZRqsnzO9dZa4EQiymIq-NEfcRbbPH_D_3ZQ&oe=6ACAAD1B&_nc_sid=e9f0d8",
"social_context": "LISA",
"strong_id__": "8012033210",
"username": "lalalalisa_m"
},
{
"chaining_info": {
"algorithm": null,
"sources": ""
},
"full_name": "Mark Zuckerberg",
"id": "314216",
"is_private": false,
"is_verified": true,
"pk": "314216",
"pk_id": "314216",
"profile_pic_id": "3994110090307245300_314216",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/825351924_18634676146058217_2225710527213743691_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gG8gkUFMzGUmjZSz8GGrHwuqGEYhS9qTp5rwhW1KL3ebAUBw8sd11Fci5S3ZuEs_q8&_nc_ohc=blkKkVoigoAQ7kNvwEhznHb&_nc_gid=bt33eilM7E9PRXpPFCS2oA&edm=AIzrcHcBAAAA&ccb=7-5&oh=00_AQNbL7kVy2slmvkTC-5Jygcv0gh68gYIbANT7b9nmfAyww&oe=6ACAB032&_nc_sid=e9f0d8",
"social_context": "Mark Zuckerberg",
"strong_id__": "314216",
"username": "zuck"
},
{
"chaining_info": {
"algorithm": null,
"sources": ""
},
"full_name": "BLΛƆKPIИK",
"id": "3253141467",
"is_private": false,
"is_verified": true,
"pk": "3253141467",
"pk_id": "3253141467",
"profile_pic_id": "3670804388211810207_3253141467",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/515449589_18420290254109468_6628211393776833691_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDAwLmMyIn0&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gG8gkUFMzGUmjZSz8GGrHwuqGEYhS9qTp5rwhW1KL3ebAUBw8sd11Fci5S3ZuEs_q8&_nc_ohc=_gv-CXs-42YQ7kNvwHm0qwg&_nc_gid=bt33eilM7E9PRXpPFCS2oA&edm=AIzrcHcBAAAA&ccb=7-5&oh=00_AQNM3VSdCU2JjWc8eh7_TunUfFYk4DktBi1PcodiXqSELA&oe=6ACAC2DA&_nc_sid=e9f0d8",
"social_context": "BLΛƆKPIИK",
"strong_id__": "3253141467",
"username": "blackpinkofficial"
},
"… 73 more items in the full response"
]
}
}
]Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
Returns a list of Instagram accounts that Instagram suggests as similar to a target profile. It needs one input, the numeric user_id of the target account. Each result includes the username, full name, verification and privacy flags, and a profile picture URL.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/similar-users" \
-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 | Target user ID (numeric), obtainable via get_user_id_by_username |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"chaining_upsell_cards": [],
"follow_ranking_token": "556cc6e8…",
"is_backup": false,
"is_recommend_account": false,
"status": "ok",
"users": [
{
"chaining_info": {
"algorithm": null,
"sources": ""
},
"full_name": "Kevin Systrom",
"id": "3",
"is_private": false,
"is_verified": true,
"pk": "3",
"pk_id": "3",
"profile_pic_id": "1295922680046102746_3",
"profile_pic_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/13732144_1764457777134045…",
"social_context": "Kevin Systrom",
"strong_id__": "3",
"username": "kevin"
}
]
}
| Field | Meaning |
|---|---|
users[] | List of suggested accounts similar to the target profile. |
users[].username | Instagram handle of the suggested account. |
users[].full_name | Display name shown on the suggested account's profile. |
users[].id / users[].pk / users[].pk_id / users[].strong_id__ | Numeric ID of the suggested account, returned as a string. All four hold the same value in this response. Use it as user_id in other calls. |
users[].is_verified | true if the suggested account has a verified badge. |
users[].is_private | true if the suggested account is private. |
users[].profile_pic_url | URL of the account's profile picture. |
users[].profile_pic_id | Identifier of the profile picture. It ends with an underscore and the account ID. |
users[].social_context | Short text label Instagram shows with the suggestion. In this response it repeats the full name. |
follow_ranking_token | Token string returned with the recommendations. It contains the pipe-separated parts of a ranking identifier. |
user_id from a username with Instagram User ID Lookup.users.id to Instagram User Profile (V3).chaining_upsell_cards list is empty and chaining_info holds empty values in the sample response.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/similar-users" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "25025320"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
user_idstringerforderlichTarget user ID (numeric), obtainable via get_user_id_by_username
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
[
{
"data": {
"chaining_upsell_cards": [],
"follow_ranking_token": "005cfbadf16c420db5167243e9b83b3a|22681466278|chaining",
"is_backup": false,
"is_recommend_account": false,
"status": "ok",
"users": [
{
"chaining_info": {
"algorithm": null,
"sources": ""
},
"full_name": "LISA",
"id": "8012033210",
"is_private": false,
"is_verified": true,
"pk": "8012033210",
"pk_id": "8012033210",
"profile_pic_id": "4001908869835700028_8012033210",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/839490332_18373632106265211_856628747694520110_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gG8gkUFMzGUmjZSz8GGrHwuqGEYhS9qTp5rwhW1KL3ebAUBw8sd11Fci5S3ZuEs_q8&_nc_ohc=6vW41sKNReoQ7kNvwGS_Qo_&_nc_gid=bt33eilM7E9PRXpPFCS2oA&edm=AIzrcHcBAAAA&ccb=7-5&oh=00_AQPv0b9CRvgZRqsnzO9dZa4EQiymIq-NEfcRbbPH_D_3ZQ&oe=6ACAAD1B&_nc_sid=e9f0d8",
"social_context": "LISA",
"strong_id__": "8012033210",
"username": "lalalalisa_m"
},
{
"chaining_info": {
"algorithm": null,
"sources": ""
},
"full_name": "Mark Zuckerberg",
"id": "314216",
"is_private": false,
"is_verified": true,
"pk": "314216",
"pk_id": "314216",
"profile_pic_id": "3994110090307245300_314216",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/825351924_18634676146058217_2225710527213743691_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gG8gkUFMzGUmjZSz8GGrHwuqGEYhS9qTp5rwhW1KL3ebAUBw8sd11Fci5S3ZuEs_q8&_nc_ohc=blkKkVoigoAQ7kNvwEhznHb&_nc_gid=bt33eilM7E9PRXpPFCS2oA&edm=AIzrcHcBAAAA&ccb=7-5&oh=00_AQNbL7kVy2slmvkTC-5Jygcv0gh68gYIbANT7b9nmfAyww&oe=6ACAB032&_nc_sid=e9f0d8",
"social_context": "Mark Zuckerberg",
"strong_id__": "314216",
"username": "zuck"
},
{
"chaining_info": {
"algorithm": null,
"sources": ""
},
"full_name": "BLΛƆKPIИK",
"id": "3253141467",
"is_private": false,
"is_verified": true,
"pk": "3253141467",
"pk_id": "3253141467",
"profile_pic_id": "3670804388211810207_3253141467",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.82787-19/515449589_18420290254109468_6628211393776833691_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDAwLmMyIn0&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gG8gkUFMzGUmjZSz8GGrHwuqGEYhS9qTp5rwhW1KL3ebAUBw8sd11Fci5S3ZuEs_q8&_nc_ohc=_gv-CXs-42YQ7kNvwHm0qwg&_nc_gid=bt33eilM7E9PRXpPFCS2oA&edm=AIzrcHcBAAAA&ccb=7-5&oh=00_AQNM3VSdCU2JjWc8eh7_TunUfFYk4DktBi1PcodiXqSELA&oe=6ACAC2DA&_nc_sid=e9f0d8",
"social_context": "BLΛƆKPIИK",
"strong_id__": "3253141467",
"username": "blackpinkofficial"
},
"… 73 more items in the full response"
]
}
}
]Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Instagram Similar Users (V3)Diese API Instagram | $0.008 pro Aufruf | JSON |
Instagram | $0.008 pro Aufruf | JSON |
Instagram | $0.008 pro Aufruf | JSON |
Instagram | $0.008 pro Aufruf | JSON |
Instagram | $0.002 pro Aufruf | JSON |
Instagram | $0.008 pro Aufruf | JSON |
Anleitungen:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/instagram/v3/similar-users mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.008 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: user_id (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Instagram Similar Users (V3) läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Instagram API beantragen.