handlestringจำเป็น
Instagram username without the leading @.
https://api.sandbase.ai/v1/api/instagram/similar-profilesList the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
This API returns the accounts Instagram recommends as similar to a public profile. Send the handle of the profile, without the leading @. Each result has the account's username, display name, user ID, verified flag and avatar URL.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/similar-profiles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle": "nasa"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Instagram username without the leading @. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"profiles": [
{
"avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/265195576_626729471802765…",
"displayName": "HISTORY",
"private": null,
"userId": "1385204914",
"username": "history",
"verified": true
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.profiles[] | List of accounts Instagram recommends as similar to the requested profile. |
data.profiles[].username | Handle of the recommended account. Use it as handle in other Instagram APIs. |
data.profiles[].displayName | Public display name of the recommended account. |
data.profiles[].userId | Numeric Instagram ID of the account, returned as a string. |
data.profiles[].verified | true if the account has the verified badge, false if not. |
data.profiles[].avatarUrl | Link to the account's profile picture. The sample URLs point to a 150x150 image. |
data.profiles[].private | Whether the account is private. The sample response returns null for every account, so treat it as unknown. |
found | true when the lookup returned a result. A lookup that finds nothing returns false. |
handle is the username in the profile URL, for example nasa for instagram.com/nasa.handle. There are no pagination parameters.username to Instagram Profile or Instagram User Profile.userId instead, call Instagram User Profile by ID.Billed at the actual cost of each call, about $0.00175 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/instagram/similar-profiles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"handle": "nasa"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
handlestringจำเป็นInstagram username without the leading @.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Instagram Similar ProfilesAPI นี้ Instagram | เริ่มต้นที่ $0.00175 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0011 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.001 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0011 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0012 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0011 ต่อครั้ง | JSON |
คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/similar-profiles โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.00175 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: handle (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram Similar Profiles ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก