Social media5 min readBy Purrkey teamUpdated

How to get an Instagram reel transcript by URL

Get the spoken-audio transcript text for an Instagram post or reel from its public URL

On this page

You have 12 Instagram reel URLs from a campaign and need the spoken words for a messaging review. Run each URL through anyapi.instagram.media_transcript, then compare the returned text and durationSeconds to decide which reels to reuse

The deliverable is a worksheet with one row per URL and these columns: url, shortcode, id, text, durationSeconds, found, reason. No run has been executed for this guide, so the table below is a design. Values here are placeholders showing the shape

The worksheet and an example URL

Example URL, invented and to be replaced with a real public post or reel: https://www.instagram.com/reel/C8rT2mXqL9p/

ColumnWhat it holdsDecision use
urlThe public Instagram post or reel URL you sentJoin key
shortcodeThe transcript entry shortcodeIdentify the reel
idThe transcript entry idIdentify the source record
textThe spoken-audio transcript textRead for the messaging review
durationSecondsLength of the transcribed video in seconds, with fractional seconds; null when the serving source does not report itCompare reel length
foundThe boolean from the outputRead first; false carries reason
reasonPresent when found is false: not_found or too_longStop or drop

Use found as the first filter. A found: false row is a successful call with no transcript text; do not retry a too_long row. Keep not_found rows out of the messaging comparison. For rows with data, text is the spoken-audio transcript. durationSeconds can be null when the serving source does not report it, so compare length only on rows with a number

The companion article for this campaign workflow is Instagram reels for an account

What the tool takes

anyapi.instagram.media_transcript runs through POST /v1/runs with toolId anyapi.instagram.media_transcript. The required input is url, a public Instagram post or reel URL. requireFields is optional. Omit it and routing is unchanged, with the cheapest source serving. Fields you do not name are still returned whenever the serving source has them

Name durationSeconds when that field must be returned. 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge

Run each URL and read the decision fields

Start with the one Example URL, then run the 12 campaign URLs through the tool. Read found first. When found is false, reason is present: not_found means the source states the target does not exist or returned nothing, and too_long means the video is longer than the source can transcribe, and asking again returns the same answer. A found: false answer is a successful call, not an error. When data is present, read data.transcripts. Each entry carries shortcode, id, text and durationSeconds. Put the text beside the URL and compare it with the messaging brief; use durationSeconds to compare reel length. If transcripts holds more than one entry, repeat the URL on an extra worksheet row so each shortcode and text pair stays separate

The agent prompt

The prompt below carries one Example URL and asks for the worksheet columns

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to get spoken-audio transcripts for Instagram post or reel URLs from a campaign. Check the current inputs and price of anyapi.instagram.media_transcript before running. Call it once per URL. Return a table with url, shortcode, id, text, durationSeconds, found and reason. Keep one row per URL, and add a row when a URL returns more than one transcript entry. Do not invent transcript text. Start with this Example URL, then replace it with the campaign list: https://www.instagram.com/reel/C8rT2mXqL9p/

Estimated tool cost

Prices from the Purrkey catalog, read November 13, 2026. The catalog lists the unit as max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. The totals below are ceilings for the listed price. Naming durationSeconds in requireFields can bring a dearer source and a higher quoted price, so a run that raises the quoted price sits above this table

StepFormulaUnit pricePlanned quantityTotal
Single URL checkcalls x max priceup to $0.036 per call1$0.036
Ten-URL batchcalls x max priceup to $0.036 per call10$0.36
Campaign batchcalls x max priceup to $0.036 per call12$0.432

The planned quantity counts each URL once, including a URL that returns found: false. Model fees for the agent are not counted

Next action

Open the tool page and run the first Example URL before the campaign batch: Instagram media transcript

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Instagram.
Explore Instagram tools and pricing

FAQ

How do I get an Instagram reel transcript by URL?

Call anyapi.instagram.media_transcript with a public Instagram post or reel URL. The response returns found, data.transcripts with text, shortcode, id and durationSeconds, or reason when found is false.

What input does anyapi.instagram.media_transcript take?

It takes a required url for a public Instagram post or reel. requireFields is optional and can name durationSeconds when that field must be returned.

What does found false mean for an Instagram reel transcript?

A found: false answer is a successful call, not an error. reason says why there is no result: not_found means the source states the target does not exist or returned nothing, and too_long means the video is longer than the source can transcribe.

Why does requireFields raise the price?

Naming durationSeconds can raise your price when the cheapest source cannot return it, because a dearer source serves and you are quoted and charged its price. A named field can still be absent on a video that genuinely lacks it.

How much does a reel transcript cost?

The catalog lists anyapi.instagram.media_transcript at up to $0.036 per call. A single URL is at most $0.036 and a ten-URL batch is at most $0.36.

Can I retry a reel that returns reason too_long?

No. too_long means the video is longer than the source can transcribe, and asking again returns the same answer.

Do I need durationSeconds for a messaging review?

It is optional. Omit requireFields and routing is unchanged, with the cheapest source serving. Fields you do not name are still returned whenever the serving source has them.

Next step

Try this with Instagram

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Instagram tools

Share this article