user_idstring
User ID (either username or user_id required)
https://api.sandbase.ai/v1/api/instagram/v2/similar-usersReturns recommended similar accounts based on Instagram's recommendation algorithm. Accepts an Instagram username or numeric user ID.
[
{
"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"
]
}
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | User ID (either username or user_id required) |
username | string | No | Username (either username or user_id required) |
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"
}
]
}
}
| Field | Meaning |
|---|---|
data.count | Number of similar accounts returned for the target account. |
data.items[].username | Handle of the recommended account. Use it as the username input for other Instagram calls. |
data.items[].id | Numeric ID of the recommended account, returned as a string. Use it as the user_id input. |
data.items[].full_name | Display name shown on the recommended profile. |
data.items[].is_verified | true if the recommended account has a verified badge. |
data.items[].is_private | true if the recommended account is private. |
data.items[].profile_pic_url | Link to a 320x320 profile picture of the recommended account. |
username or user_id. The example uses instagram and 18527, which belong to the same account.data.items.username for full profile details.profile_pic_url are long signed URLs, so download or store the image soon after you fetch it.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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 '{
"user_id": "18527",
"username": "instagram"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
user_idstringUser ID (either username or user_id required)
usernamestringUsername (either username or user_id required)
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"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"
]
}
}
}
]さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
ガイド:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/instagram/v2/similar-users に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.002。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。
必須パラメータはありません。 任意: user_id (string) と username (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Instagram Similar Users (V2) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Instagram の API アクセスを別途申請する必要はありません。