audioIdstringจำเป็น
Audio identifier from the Instagram audio page URL.
https://api.sandbase.ai/v1/api/instagram/audio-reelsList Instagram reels that use a given audio track by audio id.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a page of Instagram reels that use a given audio track. Each reel includes the creator, caption, engagement counts, and location data when present. The only required input is audioId.
likes, comments, and reshares across reels that share one audio track.curl -X POST "https://api.sandbase.ai/v1/api/instagram/audio-reels" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"audioId": "1392969992841787"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
audioId | string | Yes | Audio identifier from the Instagram audio page URL. |
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 reshares, and it is served only by a source that returns every one o |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"hasMore": true,
"nextCursor": "cur_5wMl39Ie9zJrkNOUjs_d3A",
"reels": [
{
"avatarUrl": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-19/795554226_18091598798677…",
"caption": "SOMEONE GET IN THE BOAT\n\n#crowdsurf #moshpit #grunge #rockmusic #concerts",
"code": "DeFBkTapVop",
"comments": 77,
"createdUtc": 1791130067,
"displayName": "Dexter and The Moonrocks",
"durationSeconds": 29.882,
"handle": "the_moonrocks",
"hashtags": [
"#crowdsurf"
],
"id": "4000610736784366121",
"image": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-15/836512536_18093524156677…",
"likes": 16593
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.reels[].code | Short code of the reel. It is the identifier used in Instagram post URLs. |
data.reels[].id | Numeric ID of the reel as a string. |
data.reels[].handle / data.reels[].displayName | Username and display name of the account that posted the reel. |
data.reels[].caption | Caption text of the reel. |
data.reels[].plays / data.reels[].likes / data.reels[].comments / data.reels[].reshares | Engagement counts for the reel: plays, likes, comments, and reshares. |
data.reels[].createdUtc | Time the reel was posted, as a Unix timestamp in seconds. |
data.reels[].durationSeconds | Length of the reel in seconds. |
data.reels[].hashtags / data.reels[].mentions | Hashtags and @handles found in the caption, as lists of strings. |
data.reels[].locationName / data.reels[].locationLat / data.reels[].locationLng | Place tagged on the reel with its coordinates. These are null when no location is tagged. |
data.hasMore / data.nextCursor | Whether more reels exist, and the cursor that fetches the next page. |
audioId from the Instagram audio page URL.data.nextCursor as cursor along with the same audioId. Stop when hasMore is false.requireFields with names such as reshares or taggedUsers when you need those fields on every reel. The call may then cost more.code to Instagram Post Details.Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/instagram/audio-reels" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"audioId": "1392969992841787"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
audioIdstringจำเป็นAudio identifier from the Instagram audio page URL.
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 `reshares`, 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 reel 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 Reels by AudioAPI นี้ Instagram | เริ่มต้นที่ $0.0011 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.001 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0011 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0012 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0011 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0012 ต่อครั้ง | JSON |
คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/audio-reels โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.0011 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: audioId (string). ตัวเลือก: cursor (string) และ requireFields (array). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram Reels by Audio ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก