Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Instagram Similar Users (V2)

API 文件
https://api.sandbase.ai/v1/api/instagram/v2/similar-users

Returns recommended similar accounts based on Instagram's recommendation algorithm. Accepts an Instagram username or numeric user ID.

價格
$0.002美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 2 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
User ID (either username or user_id required)
Username (either username or user_id required)
輸出範例
回應outputs · 2.5 KB · 36 行
[
  {
    "data": {
      "data": {
        "count": 78,
        "items": [
          {
            "full_name": "MrBeast",
            "id": "2278169415",
            "is_private": false,
            "is_verified": true,
            "profile_pic_url": "https://scontent-bru2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gF74OC_hXIS-XZAdfRQqufdEpw8tixsh78NSn2hQasMrnIUhkjhW4ZhSbOHtlBzfhU&_nc_ohc=u5raL-b-RnMQ7kNvwGdee7P&_nc_gid=1swf4g-w8-ZATvuLhwMXQg&edm=AGW0Xe4BAAAA&ccb=7-5&ig_cache_key=GPw12gEVelN7ccAAAAAAAAAENFsTbkULAAAB1501500j-ccb7-5&oh=00_AQPnxAafKOQOrEiGH0t75kffzDfaQZglWaUFk5rehWajeQ&oe=6AC18F0F&_nc_sid=94fea1",
            "username": "mrbeast"
          },
          {
            "full_name": "Instagram’s @Creators",
            "id": "8663171404",
            "is_private": false,
            "is_verified": true,
            "profile_pic_url": "https://scontent-bru2-1.cdninstagram.com/v/t51.82787-19/550419541_18241698418291405_6700969072948444449_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gF74OC_hXIS-XZAdfRQqufdEpw8tixsh78NSn2hQasMrnIUhkjhW4ZhSbOHtlBzfhU&_nc_ohc=VHtMnGrXq7cQ7kNvwFNvz05&_nc_gid=1swf4g-w8-ZATvuLhwMXQg&edm=AGW0Xe4BAAAA&ccb=7-5&ig_cache_key=GFW8ziDNclJius5AACF9_Fven-5cbmNDAQAB1501500j-ccb7-5&oh=00_AQPIw1L2HYi7JzWJWm37p8Xl0iQFrIgjF0F69H3BQSHnlQ&oe=6AC193E1&_nc_sid=94fea1",
            "username": "creators"
          },
          {
            "full_name": "김유정  KIM YOU JUNG 🇰🇷",
            "id": "2232871341",
            "is_private": false,
            "is_verified": true,
            "profile_pic_url": "https://scontent-bru2-1.cdninstagram.com/v/t51.2885-19/127922304_1807631382729332_8185127849317009159_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gF74OC_hXIS-XZAdfRQqufdEpw8tixsh78NSn2hQasMrnIUhkjhW4ZhSbOHtlBzfhU&_nc_ohc=zRk8xyoMBagQ7kNvwFEk_i6&_nc_gid=1swf4g-w8-ZATvuLhwMXQg&edm=AGW0Xe4BAAAA&ccb=7-5&ig_cache_key=GIDwnwd00nP6B2wGAAeHsotpapdxbkULAAAB1501500j-ccb7-5&oh=00_AQNvWkSBQAIDUJoSaJicToN1oKfqNIshPxvyQOMP14E-Aw&oe=6AC18FD0&_nc_sid=94fea1",
            "username": "you_r_love"
          },
          "… 75 more items in the full response"
        ]
      }
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Instagram Similar Users (V2) API

Returns a list of Instagram accounts that Instagram recommends as similar to a given account. You pass either a username or a numeric user_id.

Use cases

  • Find comparable creators to shortlist for a brand partnership.
  • Build a list of accounts in the same niche as a seed profile.
  • Map related accounts around a competitor to see who shares its audience space.
  • Expand a list of tracked accounts by adding the recommended ones.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/similar-users" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "instagram", "user_id": "18527"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
user_idstringNoUser ID (either username or user_id required)
usernamestringNoUsername (either username or user_id required)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "count": 78,
    "items": [
      {
        "full_name": "Sergei Kosenko",
        "id": "56499608746",
        "is_private": false,
        "is_verified": true,
        "profile_pic_url": "https://scontent-arn2-1.cdninstagram.com/v/t51.82787-19/541225038_18032030669880…",
        "username": "mr.thank.you"
      }
    ]
  }
}

Response fields

FieldMeaning
data.countNumber of similar accounts returned for the target account.
data.items[].usernameHandle of the recommended account. Use it as the username input for other Instagram calls.
data.items[].idNumeric ID of the recommended account, returned as a string. Use it as the user_id input.
data.items[].full_nameDisplay name shown on the recommended profile.
data.items[].is_verifiedtrue if the recommended account has a verified badge.
data.items[].is_privatetrue if the recommended account is private.
data.items[].profile_pic_urlLink to a 320x320 profile picture of the recommended account.

Notes

  • Send either username or user_id. The example uses instagram and 18527, which belong to the same account.
  • The response has no pagination parameters. All recommended accounts come back in data.items.
  • The response gives only basic identity fields. Call Instagram User Profile with a returned username for full profile details.
  • Profile picture links in profile_pic_url are long signed URLs, so download or store the image soon after you fetch it.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
Instagram每次呼叫 $0.002JSON
Instagram每次呼叫 $0.002JSON
Instagram每次呼叫 $0.002JSON
Instagram每次呼叫 $0.002JSON
Instagram每次呼叫 $0.002JSON
Instagram每次呼叫 $0.002JSON

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

問題

常見問題

我要如何使用 Instagram Similar Users (V2) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/instagram/v2/similar-users。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Instagram Similar Users (V2) API 的費用是多少?

每次 $0.002。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

Instagram Similar Users (V2) API 接受哪些參數?

不需要任何參數。 選填:user_id (string) 和 username (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Instagram Similar Users (V2) API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Instagram 開發者帳號或 API 金鑰嗎?

不需要。Instagram Similar Users (V2) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Instagram API 存取權。