Social media4 min readBy Purrkey teamUpdated

How to transcribe a public Facebook video post by URL

Get a normalized spoken-word transcript and video duration for a public Facebook video post by URL

On this page

You have 15 public Facebook video post URLs from a campaign and need the spoken words in each one for a review. Run anyapi.facebook.post_transcript once per URL, then scan data.transcript and data.durationSeconds to decide which posts need caption edits or clipping follow-up

The worksheet below is the deliverable: one row per URL, with the transcript, the post id, the duration, and the found or reason fields. No run has been executed for this guide; the table values are placeholders showing the shape. The companion guide for Facebook ad transcripts is at get a Facebook ad transcript

The task and the worksheet

For a campaign review, keep the input URL in the first column so you can trace each transcript back to the post. The agent fills the rest. Values here are placeholders showing the shape

Input URLpostIdtranscriptdurationSecondsfoundreason
https://www.facebook.com/reel/9876543210987654/(post id)(spoken words)(seconds)true(empty)

The example URL uses an invented numeric id on the facebook.com domain. Replace it with a real public Facebook video post URL. For 15 campaign URLs, the worksheet has 15 rows. A row with found: false has no transcript, so it stops at the reason column and does not feed a caption edit

Run one URL through the transcript tool

anyapi.facebook.post_transcript is a POST route in the catalog: the tool is called through POST /v1/runs with toolId anyapi.facebook.post_transcript. The input has a required url field. Copy the public Facebook post or video URL from the browser address bar

The tool gets the spoken-word transcript of a public Facebook video post by URL as normalized JSON. One limit sits next to this step: a video longer than the source can transcribe returns found: false with reason: too_long, and asking again returns the same answer. Do not retry that row with the same URL

Example input, invented for this guide:

Agent prompt
https://www.facebook.com/reel/9876543210987654/

If found is false with reason: not_found, the contract says the source states the target does not exist or returned nothing for it. That is a successful call, not an error

Read the output fields that drive the review

The output object has found and data. When found is true, data holds transcript, postId and, when the post has a transcribable video, durationSeconds. When found is false, data is null and reason is present

Use the fields like this:

  • data.transcript: the spoken words. Read it for caption edits or for choosing a section to clip
  • data.durationSeconds: length of the video in seconds, with fractional seconds. The contract says it is absent when the post has no transcribable video. Use it with the transcript to decide clipping follow-up
  • data.postId: numeric Facebook id of the transcribed post, as a string. Use it to match a row back to the URL
  • found: true when there is a result. false when there is no result
  • reason: present only when found is false. not_found means the source states the target does not exist or returned nothing for it. too_long means the video is longer than the source can transcribe, so asking again returns the same answer

A found: false answer is a successful call, not an error

The agent prompt

The 15 URLs below are invented examples. Replace them with your campaign URLs

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to transcribe the
15 public Facebook video post URLs below. Check the current inputs and
price of anyapi.facebook.post_transcript before running anything. Call
the tool once per URL. Return a table with input URL, postId, transcript,
durationSeconds, found and reason. Leave transcript and durationSeconds
empty when found is false. Do not guess a transcript and do not retry a
row with reason too_long.

https://www.facebook.com/reel/9876543210987654/
https://www.facebook.com/reel/9876543210987655/
https://www.facebook.com/reel/9876543210987656/
https://www.facebook.com/reel/9876543210987657/
https://www.facebook.com/reel/9876543210987658/
https://www.facebook.com/reel/9876543210987659/
https://www.facebook.com/reel/9876543210987660/
https://www.facebook.com/reel/9876543210987661/
https://www.facebook.com/reel/9876543210987662/
https://www.facebook.com/reel/9876543210987663/
https://www.facebook.com/reel/9876543210987664/
https://www.facebook.com/reel/9876543210987665/
https://www.facebook.com/reel/9876543210987666/
https://www.facebook.com/reel/9876543210987667/
https://www.facebook.com/reel/9876543210987668/

Estimated tool cost

The catalog lists anyapi.facebook.post_transcript at up to $0.036 per call, unit max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings because the unit is max_call. Model fees for the agent are not counted

StepFormulaUnit pricePlanned quantityTotal
Single URLcalls x max price$0.036 per call1$0.036
Campaign reviewcalls x max price$0.036 per call15$0.54

The single URL plan is at most $0.036. The 15 URL plan is at most $0.54

Next action

Open the Facebook tool page at post transcript and run the first URL

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 Facebook.
Explore Facebook tools and pricing

FAQ

How do I transcribe a public Facebook video post by URL?

Run the post URL through anyapi.facebook.post_transcript once per URL. The result gives found, data.transcript, data.postId and data.durationSeconds, with reason when found is false.

What input does anyapi.facebook.post_transcript take?

It takes a required url field containing the public Facebook post or video URL.

What does found false mean for a Facebook post transcript?

A found: false answer is a successful call, not an error. reason says why there is no result, with not_found or too_long.

What happens when a Facebook video is too long to transcribe?

The tool returns found: false with reason: too_long, and asking again returns the same answer.

How much does it cost to transcribe 15 Facebook video posts?

At up to $0.036 per call, 15 calls cost at most $0.54.

Can I use the example reel URL in the article?

The example URL is invented for the worksheet shape. Replace it with a real public Facebook video post URL before running the tool.

Next step

Try this with Facebook

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 Facebook tools

Share this article