keywordstringจำเป็น
Search keyword
https://api.sandbase.ai/v1/api/instagram/v2/search-usersSearches for Instagram users matching a specified keyword. Returns a list of user accounts including user IDs, usernames, full names, and profile picture URLs.
[
{
"data": {
"data": {
"count": 49,
"items": [
{
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"can_coauthor_posts": true,
"can_coauthor_posts_with_music": true,
"full_name": "OpenAI",
"has_anonymous_profile_picture": false,
"id": "45374573700",
"is_private": false,
"is_ring_creator": false,
"is_verified": true,
"latest_reel_media": 1791211486,
"profile_pic_id": "3973928817672774008",
"profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.82787-19/788716177_18115256264517701_8401817653356104064_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4zMjAuYzIifQ&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFkBsn6WUDhe3iijeJgQ9eve9NxPaAMx8UA2j8T6_DMw8-NYnfQUtRrNI2eAhlvuBo&_nc_ohc=qjrncDNF5UEQ7kNvwFCBae3&_nc_gid=3JlDnREjnABybmFw5B7nOA&edm=AM7KJZYBAAAA&ccb=7-5&ig_cache_key=GJHaAi9FaKnGultAAICJ5RekQJl0bmNDAQAB1501500j-ccb7-5&oh=00_AQNJROFZMiZmLEYYgUkIQ7tuBekLcJ-6mKDGePi0AmYi5Q&oe=6ACABFE6&_nc_sid=8ec269",
"show_ring_award": false,
"unseen_count": 0,
"username": "openai"
},
{
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"can_coauthor_posts": true,
"can_coauthor_posts_with_music": true,
"full_name": "OpenAI Developers",
"has_anonymous_profile_picture": false,
"id": "35456104534",
"is_private": false,
"is_ring_creator": false,
"is_verified": false,
"latest_reel_media": 0,
"profile_pic_id": "3875520694680036283",
"profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.82787-19/670815237_18080716229176535_1278459534956580752_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby40MDAuYzIifQ&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_cat=111&_nc_oc=Q6cZ2gFkBsn6WUDhe3iijeJgQ9eve9NxPaAMx8UA2j8T6_DMw8-NYnfQUtRrNI2eAhlvuBo&_nc_ohc=hqDtkc-fDuEQ7kNvwGlz8AM&_nc_gid=3JlDnREjnABybmFw5B7nOA&edm=AM7KJZYBAAAA&ccb=7-5&ig_cache_key=GAXU_yfX7B-MUDxAAJBPzGgsAL4RbmNDAQAB1501500j-ccb7-5&oh=00_AQNfP890Kns39BAybE4oHzVGjTtStMEAoPCKD3rMgoJlmQ&oe=6ACAA624&_nc_sid=8ec269",
"show_ring_award": false,
"unseen_count": 0,
"username": "openaidevs"
},
{
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"can_coauthor_posts": true,
"can_coauthor_posts_with_music": true,
"full_name": "Open Air Brasil",
"has_anonymous_profile_picture": false,
"id": "29970427",
"is_private": false,
"is_ring_creator": false,
"is_verified": true,
"latest_reel_media": 1791223208,
"profile_pic_id": "3612251590704857945",
"profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.2885-19/491041728_683672207360914_3173598743623234556_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2gFkBsn6WUDhe3iijeJgQ9eve9NxPaAMx8UA2j8T6_DMw8-NYnfQUtRrNI2eAhlvuBo&_nc_ohc=HDSdQWT055kQ7kNvwHwEDxM&_nc_gid=3JlDnREjnABybmFw5B7nOA&edm=AM7KJZYBAAAA&ccb=7-5&ig_cache_key=GMCzRB2SAxDXy20CAPzzSS0_4wosbkULAAAB1501500j-ccb7-5&oh=00_AQMxB6rkoFGvMKrWWN1ZZ4TBpv3vomiC5yS69BxLYt7C0Q&oe=6ACAA87D&_nc_sid=8ec269",
"show_ring_award": false,
"unseen_count": 0,
"username": "openairbrasil"
},
"… 46 more items in the full response"
]
}
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a list of Instagram accounts that match a search keyword. Each item has the account ID, username, full name, profile picture URL and a few status flags. The only input is keyword.
openai.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/search-users" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "openai"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"count": 50,
"items": [
{
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"full_name": "OpenAI",
"has_anonymous_profile_picture": false,
"id": "45374573700",
"is_private": false,
"is_ring_creator": false,
"is_verified": true,
"latest_reel_media": 1793643587,
"profile_pic_id": "3973928817672774008",
"profile_pic_url": "https://scontent-bru2-1.cdninstagram.com/v/t51.82787-19/788716177_18115256264517…",
"show_ring_award": false,
"unseen_count": 0
}
]
}
}
| Field | Meaning |
|---|---|
data.count | Number of users in the result. The sample response shows 50. |
data.items[].id | Instagram user ID as a string. Use it to identify the account in other calls. |
data.items[].username | The account handle, without the @. |
data.items[].full_name | Display name shown on the profile. |
data.items[].is_verified | true when the account has a verified badge. |
data.items[].is_private | true when the account is private. |
data.items[].profile_pic_url | URL of a small profile picture. The URL carries query parameters. |
data.items[].profile_pic_id | ID of the current profile picture. |
data.items[].latest_reel_media | Number that looks like a Unix timestamp in seconds, for the latest story reel. It is 0 when the sample shows no value. |
data.items[].has_anonymous_profile_picture | true when the account uses the default profile picture. |
keyword. The request has no pagination parameter.id is a numeric string. Keep it as a string to avoid losing digits.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/search-users" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "openai"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringจำเป็นSearch keyword
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"data": {
"count": 49,
"items": [
{
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"can_coauthor_posts": true,
"can_coauthor_posts_with_music": true,
"full_name": "OpenAI",
"has_anonymous_profile_picture": false,
"id": "45374573700",
"is_private": false,
"is_ring_creator": false,
"is_verified": true,
"latest_reel_media": 1791211486,
"profile_pic_id": "3973928817672774008",
"profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.82787-19/788716177_18115256264517701_8401817653356104064_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4zMjAuYzIifQ&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFkBsn6WUDhe3iijeJgQ9eve9NxPaAMx8UA2j8T6_DMw8-NYnfQUtRrNI2eAhlvuBo&_nc_ohc=qjrncDNF5UEQ7kNvwFCBae3&_nc_gid=3JlDnREjnABybmFw5B7nOA&edm=AM7KJZYBAAAA&ccb=7-5&ig_cache_key=GJHaAi9FaKnGultAAICJ5RekQJl0bmNDAQAB1501500j-ccb7-5&oh=00_AQNJROFZMiZmLEYYgUkIQ7tuBekLcJ-6mKDGePi0AmYi5Q&oe=6ACABFE6&_nc_sid=8ec269",
"show_ring_award": false,
"unseen_count": 0,
"username": "openai"
},
{
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"can_coauthor_posts": true,
"can_coauthor_posts_with_music": true,
"full_name": "OpenAI Developers",
"has_anonymous_profile_picture": false,
"id": "35456104534",
"is_private": false,
"is_ring_creator": false,
"is_verified": false,
"latest_reel_media": 0,
"profile_pic_id": "3875520694680036283",
"profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.82787-19/670815237_18080716229176535_1278459534956580752_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby40MDAuYzIifQ&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_cat=111&_nc_oc=Q6cZ2gFkBsn6WUDhe3iijeJgQ9eve9NxPaAMx8UA2j8T6_DMw8-NYnfQUtRrNI2eAhlvuBo&_nc_ohc=hqDtkc-fDuEQ7kNvwGlz8AM&_nc_gid=3JlDnREjnABybmFw5B7nOA&edm=AM7KJZYBAAAA&ccb=7-5&ig_cache_key=GAXU_yfX7B-MUDxAAJBPzGgsAL4RbmNDAQAB1501500j-ccb7-5&oh=00_AQNfP890Kns39BAybE4oHzVGjTtStMEAoPCKD3rMgoJlmQ&oe=6ACAA624&_nc_sid=8ec269",
"show_ring_award": false,
"unseen_count": 0,
"username": "openaidevs"
},
{
"aigm_account_label_info": {
"is_auto_detected": false,
"is_enabled": false,
"is_manually_enabled": false
},
"can_coauthor_posts": true,
"can_coauthor_posts_with_music": true,
"full_name": "Open Air Brasil",
"has_anonymous_profile_picture": false,
"id": "29970427",
"is_private": false,
"is_ring_creator": false,
"is_verified": true,
"latest_reel_media": 1791223208,
"profile_pic_id": "3612251590704857945",
"profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.2885-19/491041728_683672207360914_3173598743623234556_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2gFkBsn6WUDhe3iijeJgQ9eve9NxPaAMx8UA2j8T6_DMw8-NYnfQUtRrNI2eAhlvuBo&_nc_ohc=HDSdQWT055kQ7kNvwHwEDxM&_nc_gid=3JlDnREjnABybmFw5B7nOA&edm=AM7KJZYBAAAA&ccb=7-5&ig_cache_key=GMCzRB2SAxDXy20CAPzzSS0_4wosbkULAAAB1501500j-ccb7-5&oh=00_AQMxB6rkoFGvMKrWWN1ZZ4TBpv3vomiC5yS69BxLYt7C0Q&oe=6ACAA87D&_nc_sid=8ec269",
"show_ring_award": false,
"unseen_count": 0,
"username": "openairbrasil"
},
"… 46 more items in the full response"
]
}
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Instagram User Search (V2)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
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/v2/search-users โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.002 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: keyword (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram User Search (V2) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก