urlstringจำเป็น
The URL of a public Instagram reel or video post (e.g. https://www.instagram.com/reel/C8yKXdRxKqK/), or an Instagram CDN media URL you already hold.
https://api.sandbase.ai/v1/api/instagram/reel-transcriptTranscribe any public Instagram reel or video post: the full speech transcript, speaker labels, and word-level timestamps, from a reel, /p/, or /tv/ URL or an Instagram CDN media URL you already hold. A video post is transcribed exactly like a reel. A photo post comes back found with its record and an empty transcript, charged the request price only. Transcription runs on MAI-Transcribe-2, chosen for its accuracy and its speaker labels. If you only want the text, instagram.media_transcript is the cheaper transcript-only option; if you only want the file, instagram.post is where you go.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
This API returns the speech transcript of a public Instagram reel or video post. The transcript comes as one text string and as timed segments with speaker labels. It needs one input, the url of a reel, /p/, or /tv/ post, or an Instagram CDN media URL.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/reel-transcript" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.instagram.com/reel/CfY6jCIgH-P/", "wordTimestamps": false}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The URL of a public Instagram reel or video post (e.g. https://www.instagram.com/reel/C8yKXdRxKqK/), or an Instagram CDN media URL you already hold. |
wordTimestamps | boolean | No | Set true to include a precise timestamp for every word in the transcript (e.g. true). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"items": [
{
"durationSeconds": 67.319,
"id": "2871302256618143631",
"language": "en",
"likeCount": 769107,
"mediaType": "XDTGraphVideo",
"ownerUsername": "garyvee",
"segments": [
{
"end": 4.799,
"speaker": "0",
"start": 0.16,
"text": "How can I keep my daughter, 9 years old, away from these dangers from the intern…"
}
],
"shortcode": "CfY6jCIgH-P",
"source": "audio_asr",
"text": "How can I keep my daughter, 9 years old, away from these dangers from the intern…",
"thumbnailUrl": "https://scontent-fra3-1.cdninstagram.com/v/t51.71878-15/496316259_10363060147067…",
"url": "https://www.instagram.com/reel/CfY6jCIgH-P/"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.items[].text | The full transcript as one string, with a new line between segments. |
data.items[].segments[].text | The words spoken in one segment of the transcript. |
data.items[].segments[].start / data.items[].segments[].end | Start and end time of the segment, as numbers measured from the start of the video. |
data.items[].segments[].speaker | Label for the speaker of the segment, such as 0, 1, or 2. Segments with the same label come from the same voice. |
data.items[].language | Language code of the transcript, such as en. |
data.items[].durationSeconds | Length of the video in seconds. |
data.items[].ownerUsername / data.items[].likeCount | Username of the account that posted the reel and the like count of the post. |
data.items[].shortcode / data.items[].id | The post shortcode taken from the URL and the numeric media ID. |
data.items[].mediaType | The kind of media, such as XDTGraphVideo for a video post. |
data.items[].thumbnailUrl | Link to a thumbnail image of the post on the Instagram CDN. |
url from the reel's address bar. Reel, /p/, and /tv/ links all work.wordTimestamps to true to get a timestamp for every word. It is false by default.found: false. A photo post returns found: true with an empty transcript.Billed at the actual cost of each call, about $0.0083 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/instagram/reel-transcript" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.instagram.com/reel/CfY6jCIgH-P/",
"wordTimestamps": false
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
urlstringจำเป็นThe URL of a public Instagram reel or video post (e.g. https://www.instagram.com/reel/C8yKXdRxKqK/), or an Instagram CDN media URL you already hold.
wordTimestampsbooleanSet true to include a precise timestamp for every word in the transcript (e.g. true).
ค่าเริ่มต้น: false
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Instagram Reel TranscriptAPI นี้ Instagram | เริ่มต้นที่ $0.0083 ต่อครั้ง | 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/reel-transcript โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.0083 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: url (string). ตัวเลือก: wordTimestamps (boolean). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram Reel Transcript ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก