querystringจำเป็น
Bio or caption keyword/phrase to search for.
https://api.sandbase.ai/v1/api/instagram/search-profilesSearch public Instagram profiles by a bio or caption keyword.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a list of public Instagram profiles whose bio or captions match a keyword or phrase. It needs one input, query, such as coffee roaster. Each profile includes the handle, bio, follower counts, links, and flags like verified and private.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/search-profiles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "coffee roaster"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Bio or caption keyword/phrase to search for. |
cursor | string | No | Pagination cursor returned by a previous response. |
requireFields | array | No | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example private, and it is served only by a source that returns every one of |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"nextCursor": null,
"profiles": [
{
"avatarUrl": "https://scontent-ord5-2.cdninstagram.com/v/t51.2885-19/236918550_117710895947947…",
"bio": "🌍Showing you the BEST coffee scene #worldwide \n☕️Curated best coffee Branding & …",
"bioLinks": [
{
"title": "",
"url": "https://linktr.ee/roasterdaily"
}
],
"category": "Brand",
"displayName": "Coffee Roasters & Coffee community ®️ #roasterdaily",
"externalUrl": "https://linktr.ee/roasterdaily",
"followers": 306433,
"following": 1669,
"handle": "roasterdaily",
"id": "7138727443",
"isBusiness": false,
"posts": null
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.profiles[].handle | The Instagram username of the profile. |
data.profiles[].id | The Instagram user ID as a string. |
data.profiles[].displayName | The name shown on the profile. |
data.profiles[].bio | The profile bio text. It can contain line breaks, emoji, and @mentions. |
data.profiles[].followers / data.profiles[].following | The number of followers the profile has and the number of accounts it follows. |
data.profiles[].bioLinks[].url / data.profiles[].bioLinks[].title | Each link listed in the profile bio, with its label. The title can be an empty string. |
data.profiles[].externalUrl | The main external link on the profile. |
data.profiles[].category | The profile category label, for example Brand. It is null when none is set. |
data.profiles[].verified / data.profiles[].private / data.profiles[].isBusiness | Boolean flags for verified status, private account status, and business account status. |
data.nextCursor | The cursor for the next page of results. It is null when there is no further page. |
nextCursor value as cursor in the next request with the same query.posts is null in this response, so use a profile API to get post data for a handle. Try Instagram Profile or Instagram Basic Profile.requireFields with values such as bioLinks, category, isBusiness, or private when your workflow needs those fields to be present. This can change the price of the call.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/instagram/search-profiles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "coffee roaster"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
querystringจำเป็นBio or caption keyword/phrase to search for.
cursorstringPagination cursor returned by a previous response.
requireFieldsarrayOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `private`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Instagram Profile SearchAPI นี้ Instagram | เริ่มต้นที่ $0.0012 ต่อครั้ง | 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/search-profiles โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.0012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: query (string). ตัวเลือก: cursor (string) และ requireFields (array). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram Profile Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก