Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Instagram Similar Users (V3)

API 文档
https://api.sandbase.ai/v1/api/instagram/v3/similar-users

Returns recommended Instagram accounts similar to a target profile. Provide a numeric user ID to look up related accounts, usernames, and profile details.

价格
$0.008美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选

Playground

输入
Target user ID (numeric), obtainable via get_user_id_by_username
输出示例
响应outputs · 3.3 KB · 65 行
[
  {
    "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"
      ]
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Instagram Similar Users (V3) API

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.

Use cases

  • Find accounts in the same niche as a creator or brand for influencer research.
  • Build a list of competitor or peer accounts around a known brand profile.
  • Expand an audience targeting list starting from one seed account.
  • Check which verified accounts Instagram groups with a given profile.

Request

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.

Parameters

NameTypeRequiredDescription
user_idstringYesTarget user ID (numeric), obtainable via get_user_id_by_username

Example response

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"
    }
  ]
}

Response fields

FieldMeaning
users[]List of suggested accounts similar to the target profile.
users[].usernameInstagram handle of the suggested account.
users[].full_nameDisplay 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_verifiedtrue if the suggested account has a verified badge.
users[].is_privatetrue if the suggested account is private.
users[].profile_pic_urlURL of the account's profile picture.
users[].profile_pic_idIdentifier of the profile picture. It ends with an underscore and the account ID.
users[].social_contextShort text label Instagram shows with the suggestion. In this response it repeats the full name.
follow_ranking_tokenToken string returned with the recommendations. It contains the pipe-separated parts of a ranking identifier.

Notes

  • Get the numeric user_id from a username with Instagram User ID Lookup.
  • The request has no pagination parameter. The response returns one list in users.
  • To see full details for a suggested account, pass its id to Instagram User Profile (V3).
  • The chaining_upsell_cards list is empty and chaining_info holds empty values in the sample response.

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
Instagram$0.008 每次调用JSON
Instagram$0.008 每次调用JSON
Instagram$0.008 每次调用JSON
Instagram$0.008 每次调用JSON
Instagram$0.002 每次调用JSON
Instagram$0.008 每次调用JSON

指南:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

问题

常见问题

如何使用 Instagram Similar Users (V3) API?

向 https://api.sandbase.ai/v1/api/instagram/v3/similar-users 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Instagram Similar Users (V3) API 的价格是多少?

每次调用 $0.008,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Instagram Similar Users (V3) API 接受哪些参数?

必填:user_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Instagram Similar Users (V3) API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Instagram 开发者账户或 API key 吗?

不需要。Instagram Similar Users (V3) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Instagram API 访问权限。