How to get an Instagram Reel transcript

Get the spoken words from a public Instagram Reel. Try the Playground, copy a runnable API example, and understand empty results, long videos and credits.

InstagramUpdated
RequestGET /v2/instagram/media/DKuRMDEsbYB/transcript
const base = "https://api.socialfetch.dev";
const path = "/v2/instagram/media/DKuRMDEsbYB/transcript";
const res = await fetch(`${base}${path}`, {
headers: { "x-api-key": "YOUR_API_KEY" },
});
Response200 OK
{
"data": {
"lookupStatus": "found",
"transcript": {
"language": null,
"text": "I see the trolls. I hear the ch…",
"segments": null,
// …
On this page

Get the spoken words from a public Instagram Reel with GET /v2/instagram/media/{media}/transcript. Social Fetch returns plain text you can save for search, research or an AI workflow. AI transcription is included in the default lookup, so you do not need to turn on a fallback flag.

For a one-off lookup, try the free Instagram Reel transcript tool. For the steps below, sign in to Social Fetch and have credits available. To call the API from code, create an API key and store it as the SOCIALFETCH_API_KEY environment variable. The Quickstart explains that setup. To collect profiles, posts and comments as well, see how to scrape Instagram data.

Try one Reel in the Playground

  1. Open the Instagram transcript request in the Playground.
  2. In media, enter DKuRMDEsbYB, the shortcode for Duolingo's public chess announcement. A shortcode is the part after /reel/ in its URL. You can also paste the full public Reel URL into this field.
  3. Leave allowLongTranscription unset for this short video, then click Send. This makes a real request and spends credits.
Instagram transcript Playground with the media input and Send button annotated.
Use the media field for the Reel's shortcode or URL. Send runs the lookup in your workspace.
  1. Read data.transcript.text in the response. Check meta.creditsCharged for the actual charge and keep meta.requestId if you need help with the request.
Real Duolingo Reel response in the Playground, with plain spoken text and creditsCharged annotated.
The spoken text has no timing cues. This default short-video lookup costs 5 credits.

The API accepts a shortcode, a numeric media id, or a post, Reel or TV URL. When putting a full URL into the API's path, URL-encode it as one path segment. Using the shortcode avoids that extra step. Share links under instagram.com/share/ are refused: open the share link first and copy the post URL it opens.

Get the transcript in your code

With SOCIALFETCH_API_KEY set, run:

Request
bash

This saved real response is from Duolingo's chess Reel:

Request
json

For TypeScript, install the SDK with npm install @socialfetch/sdk, save this as transcribe.mts, then run npx tsx transcribe.mts:

Request
typescript

Read the result

found means the video was found and processed. It does not guarantee text: a silent video can return found with transcript.text: null. Check the text before calling string methods on it.

not_found has transcript: null. It covers missing or private posts and posts with no video, so this endpoint cannot tell you which of those caused the result. Both found and not_found are completed, billable lookups.

The Instagram response has no sentence timings. language and segments are null; durationSec can also be null. Do not infer the language from a null field or turn plain text into a subtitle file with guessed timings.

For carousels, returned video texts are joined in order with a blank line between them. Empty text rows are omitted. Those blank lines do not give you slide ids, and paragraphs within spoken text can contain blank lines too. Keep the flattened text as one transcript unless your application has separate slide data.

Save the source URL beside the words so a search result or AI answer can link back to the video. The example below uses the same saved real response printed above.

Saved Duolingo spoken text displayed with its Instagram source link, annotated to explain source retention and missing timings.
Keep the original link with the transcript. The text is ready for search, but it has no sentence timings.

TikTok and YouTube return different shapes. TikTok's caption tracks are WebVTT, while its AI fallback returns plain text. YouTube supplies segments and plainText. See transcripts across platforms before combining them in one pipeline.

Longer videos and credits

The default request includes AI transcription for videos up to 120 seconds and costs 5 credits per completed lookup. A video over that limit can return HTTP 400 with video_too_long_for_transcription; that outcome is free.

To allow longer transcription, explicitly add allowLongTranscription=true:

Request
bash

Replace the example shortcode with your longer video's shortcode. This flag changes pricing even for short AI clips: the charge is 5 credits plus 10 credits per started minute, capped at 60 billed minutes (605 credits). For example, 121 seconds of transcribed video costs 35 credits. A result with no transcript stays at the base price.

Long mode requires 605 available credits for the preflight check, even if the final charge is lower. Use meta.creditsCharged and the request log to reconcile the actual spend.

Use HTTP for Instagram long mode

The current TypeScript SDK's getMediaTranscriptV2 method sends only the media path. It does not forward allowLongTranscription. Use the HTTP example above when you need that flag. The earlier SDK example uses the default limit.

Transcribe an account's Reels

Start with profile media, requesting the Reels tab:

Request
bash

Read items from data.media. While data.page.hasMore is true and data.page.nextCursor is present, pass that cursor as the next request's cursor query parameter, keeping the same profile and tab. Each media page costs 1 credit.

For each item, keep its id, shortcode and url, then call the transcript endpoint with the shortcode. If you only want posts owned by the requested account, check owner.handle first; collaborator posts can have a different owner. Keep coauthors separately if collaborations matter to your archive.

Start with one page and a small batch. Store completed results by media id so you can skip them on later runs, including empty results you have already checked. Account for media-page requests and transcript requests separately; long-mode charges depend on the video length. The video transcription recipe shows how to store results across platforms.

Troubleshooting

"The video is too long to transcribe."

The default AI limit was exceeded. Use a shorter video or explicitly opt into long mode after checking its pricing. Do not repeatedly retry the same default request: the length-limit outcome is billed.

not_found with no transcript

Check the post opens publicly and that you copied a post or Reel URL. A private, deleted or photo-only post can produce this result. Repeating a completed lookup spends another credit.

found with null text

No spoken text was returned. Music-only clips, silent footage and text shown on screen may have no speech to transcribe. This route returns spoken words, not optical character recognition of text in the video. An empty transcript does not prove why the audio had no returned text.

bad_request for a share URL

Open the share URL and use the public post URL it redirects to, or its shortcode. The transcript route rejects share links directly.

insufficient_credits in long mode

Check the workspace balance. Long mode needs the maximum 605 credits available before it starts. This is a preflight requirement; it is not a promise that every video costs 605 credits.

For other failures, keep the error code and request id, check the error reference, or contact support.

FAQ

Can I get a transcript without an API key?

Use the free Instagram Reel transcript tool for a one-off lookup. The API needs a key; the signed-in Playground runs in your workspace.

Can I transcribe a private Reel?

No. Private posts are grouped under not_found, alongside missing posts and posts without video.

Does Instagram transcription include AI?

Yes. Default requests include AI for videos up to 120 seconds at 5 credits per completed lookup. Longer videos require the explicit long-mode flag and its different pricing.

Does the response include timestamps?

No. language and segments are null. Keep the source URL to open the original video.

Returned video texts are joined in order with a blank line between them. The flattened result does not preserve slide identifiers or timing cues.

Share this article

Try the API

Profiles, posts, comments and metrics on 87 platforms through one REST API.

Try the Playground