Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Instagram Reel Transcript

API 文件
https://api.sandbase.ai/v1/api/instagram/reel-transcript

Transcribe 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.

價格
自 $0.0083 起美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
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.
Set true to include a precise timestamp for every word in the transcript (e.g. true).
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Instagram Reel Transcript API

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.

Use cases

  • Pull the spoken text of a creator's reel to quote it or build captions.
  • Index what is said across many reels so you can search them by keyword.
  • Split an interview reel by speaker to see who said what.
  • Check the language of a reel's speech before you route it to a translation step.

Request

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.

Parameters

NameTypeRequiredDescription
urlstringYesThe 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.
wordTimestampsbooleanNoSet true to include a precise timestamp for every word in the transcript (e.g. true).

Example response

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
}

Response fields

FieldMeaning
data.items[].textThe full transcript as one string, with a new line between segments.
data.items[].segments[].textThe words spoken in one segment of the transcript.
data.items[].segments[].start / data.items[].segments[].endStart and end time of the segment, as numbers measured from the start of the video.
data.items[].segments[].speakerLabel for the speaker of the segment, such as 0, 1, or 2. Segments with the same label come from the same voice.
data.items[].languageLanguage code of the transcript, such as en.
data.items[].durationSecondsLength of the video in seconds.
data.items[].ownerUsername / data.items[].likeCountUsername of the account that posted the reel and the like count of the post.
data.items[].shortcode / data.items[].idThe post shortcode taken from the URL and the numeric media ID.
data.items[].mediaTypeThe kind of media, such as XDTGraphVideo for a video post.
data.items[].thumbnailUrlLink to a thumbnail image of the post on the Instagram CDN.

Notes

  • Copy the url from the reel's address bar. Reel, /p/, and /tv/ links all work.
  • Set wordTimestamps to true to get a timestamp for every word. It is false by default.
  • If the post is not found, the call returns found: false. A photo post returns found: true with an empty transcript.
  • If you only need the text, use Instagram Media Transcript. For post metadata and the video file, use Instagram Post Details.

Pricing

Billed at the actual cost of each call, about $0.0083 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
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

問題

常見問題

我要如何使用 Instagram Reel Transcript API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/instagram/reel-transcript。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Instagram Reel Transcript API 的費用是多少?

每次起 $0.0083,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Instagram Reel Transcript API 接受哪些參數?

必要:url (string)。 選填:wordTimestamps (boolean)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Instagram Reel Transcript API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Instagram 開發者帳號或 API 金鑰嗎?

不需要。Instagram Reel Transcript 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Instagram API 存取權。