Instagram similar accounts API
GET /ig/user/similar/{user_id} · base https://api.getsocialapi.com/v1
Suggested / chained accounts for a user — what Instagram shows in
"Suggested for you" on the profile. Upstream: discover/chaining/?target_id=.
Request
| Parameter | In | Required | Description |
|---|---|---|---|
user_id | path | yes | Numeric user id, 1–20 digits |
Example
curl https://api.getsocialapi.com/v1/ig/user/similar/25025320 \
-H "X-API-Key: gsa_live_..."
Response
{
"users": [
{
"pk": 56499608746,
"pk_id": "56499608746",
"id": "56499608746",
"strong_id__": "56499608746",
"username": "mr.thank.you",
"full_name": "Sergei Kosenko",
"is_private": false,
"is_verified": true,
"profile_pic_id": "3712056331219000717_56499608746",
"profile_pic_url": "https://…",
"chaining_info": { "sources": "", "algorithm": null },
"social_context": "Sergei Kosenko"
}
],
"is_backup": false,
"is_recommend_account": false,
"chaining_upsell_cards": [],
"follow_ranking_token": "e931c32f…|chaining",
"status": "ok"
}
User fields
| Field | Type | Description |
|---|---|---|
users[].pk | int | Numeric user id — same value as pk_id, id, strong_id__ |
users[].username | string | Handle, no @ |
users[].full_name | string | Display name |
users[].is_private | bool | Private account flag |
users[].is_verified | bool | Verified badge |
users[].profile_pic_url | string | Avatar URL (signed, expires) |
users[].chaining_info | object | Ranking metadata — pass-through |
users[].social_context | string | The "follows X" hint Instagram would show |
Top-level is_backup / is_recommend_account / chaining_upsell_cards /
follow_ranking_token are ranking artifacts — safe to ignore.
Errors
| HTTP | Meaning |
|---|---|
401 / 403 / 429 | see Rate limits |
404 | user does not exist |