Facebook Transcript API
A Facebook transcript API returns the spoken words of a public Facebook video as JSON text. You send the video link and your key, and you get back the transcript text when text exists for that video. Facebook usually exposes plain text, so there are no per-segment start times.
›Get the transcript of this Facebook video
└GET /v1/facebook/transcript?video=https://www.facebook.com/watch/?v=10153231379946729
✓200 OK · 1 transcript
{ "title": "How to Share With Just Friends", "transcript_source": "facebook_transcript", "text": "How to Share with Just Friends on Facebook. If you decided to learn how to paint…" }
●Facebook · real sample · text saved

G2
4.8 out of 5
Capterra
4.7 out of 5
Trustpilot
4.6 out of 5
Facebook transcript API: more details
Product Hunt
4.9 out of 5
Google Reviews
4.8 out of 5
Apify Store
4.7 out of 5
AppSumo
4.8 out of 5
GetApp
4.7 out of 5
TrustRadius
4.6 out of 5
Software Advice
4.8 out of 5
SourceForge
4.7 out of 5
Chrome Web Store
4.6 out of 5
Gartner Peer Insights
4.8 out of 5
AlternativeTo
4.7 out of 5
RapidAPI
4.8 out of 5
Quick answer
- You send the link of a public Facebook video and get back its transcript as JSON.
- Text must exist for the video. Also, the API does not turn sound into text.
- Private groups, friends-only posts and removed videos return nothing.
- The official Graph API is a different tool that needs access tokens and permissions.
- Billing is per transcript.
Endpoint
What data can I extract with Facebook Transcript API?
Of course, one endpoint covers it: send a link, get the transcript back as JSON for 1 transcript per successful call.
Try it live
Try Facebook Transcript API live
In fact, check the input, press Run and read the response. Besides, without an API key you see a response captured from the API, and nothing is billed.
{
"video": "https://www.facebook.com/watch/?v=10153231379946729"
}{
"platform": "facebook",
"video_id": "10153231379946729",
"video_url": "https://www.facebook.com/facebook/videos/10153231379946729/",
"title": "How to Share With Just Friends",
"author": "Facebook",
"length_seconds": 74,
"published_at": "2014-12-05T08:00:02Z",
"language_code": null,
"language_name": null,
"is_generated": true,
"transcript_source": "facebook_transcript",
"owner_id": "100064860875397",
"available_languages": [],
"transcript": [],
"text": "How to Share with Just Friends on Facebook. If you decided to learn how to paint, so you got an easel and some paints and your music and you found the perfect tree, and you started painting. And you painted for a while. And when you looked at how it was coming along, it was good. So, you wanted to show it to your friends but you weren't quite sure that you were ready to show it to the world. Then, you might like to know how to share with just friends on Facebook. Just put the finishing touches on your art, little more over there, Then when you make a post, just tap where it says two and select friends. Then hit back, then hit post.",
"cached": false
}| platform | |
|---|---|
| video_id | 10153231379946729 |
| video_url | https://www.facebook.com/facebook/videos/10153231379946729/ |
| title | How to Share With Just Friends |
| author | |
| length_seconds | 74 |
| published_at | 2014-12-05T08:00:02Z |
| language_code | null |
| language_name | null |
| is_generated | true |
| transcript_source | facebook_transcript |
| owner_id | 100064860875397 |
| available_languages | [] |
| transcript | [] |
| text | How to Share with Just Friends on Facebook. If you decided to learn how to paint, so you got an easel and some paints and your music and you found the perfect tree, and you started painting. And you painted for a while. And when you looked at how it was coming along, it was good. So, you wanted to show it to your friends but you weren't quite sure that you were ready to show it to the world. Then, you might like to know how to share with just friends on Facebook. Just put the finishing touches on your art, little more over there, Then when you make a post, just tap where it says two and select friends. Then hit back, then hit post. |
| cached | false |
Facebook transcript API: more details
Overview
What is a Facebook transcript API?
Think of Marta, who handles community updates for a regional chain of gyms. Also, each branch posts videos and live streams to its Facebook page, and Marta needs searchable text for all of them. She wants to answer questions like which branch announced the new class schedule, and when. In addition, watching hours of video to find out is not realistic.
Moreover, this guide explains how a Facebook transcript call works, how it differs from the official Graph API, and where it stops. Of course, it also covers cost, limits, a weekly routine and careful use of the data.
Want to try it? Get a free TranscriptAPI key and test one public Facebook video link. Furthermore, coverage of each platform can change, so a test is the best check.
In fact, a Facebook transcript API is a web service that returns the words spoken in a video on Facebook. Besides, you pass the link, and the service answers with JSON. Likewise, the response holds the transcript text and details about the video.
Overall, facebook video comes in several forms. Also, there are Facebook video posts, Facebook Reels and Facebook Live broadcasts that stay on the page as replays. In addition, many carry Closed captions, which are text that a transcript service can read when they exist as data.
Moreover, people describe this need in many ways. Of course, they search "facebook video caption extractor" and "facebook video to text" when they want the words of one clip. Furthermore, they search "facebook video subtitle api" and "facebook video speech to text" when they want the same in code. And they search "facebook live transcript api" and "facebook reels transcript api" when the video type matters.
Facebook transcript API: where the words come from
In short, the words come from caption data. Besides, a page can upload captions, or Facebook can create them from the audio. When the data exists, a transcript API returns it. When it does not, there is nothing to return.
Likewise, this is the main limit. In fact, a caption-based service reads text that already exists. Also, it does not listen to the sound.
How it works
How the Facebook transcript API works
In short, the steps are short.
Of course, you do not connect a Facebook account and you do not run OAuth. Besides, the API key is enough.
Check the video first
Before you call the API, open the video signed out. If you can watch it, it is public. If you see a sign-in wall, the API cannot read it either. Likewise, this one check removes most failed calls.
Input
Facebook transcript API: Input
In practice, every call takes the same kind of input: your API key in a header and the link of the video.
Of course, you already have the link: pass it as is.
// GET /v1/facebook/transcript // header: X-API-Key: YOUR_API_KEY { "video": "https://www.facebook.com/watch/?v=10153231379946729" }
Guide
The official Facebook routes
Overall, many developers search for "facebook api" and "facebook graph api" first. Moreover, the official Graph API documentation describes the Graph API as the main way to get data into and out of Facebook. Of course, it is HTTP-based and models data as nodes, edges and fields. Nearly all endpoints need an access token.
In practice, that model suits apps that manage pages, publish posts and read data from accounts that have granted permission. Meta, the company behind Facebook, controls access through tokens, permissions and review steps. Besides, it is not built to give a general reader the text of any public video.
Facebook transcript API: what this means for you
If you manage your own pages, the Graph API may give you the tools you need, and a Facebook Graph API token ties each request to an app and a user. If you only need the words of public videos, a transcript service is a closer match. Likewise, a facebook content api in the official sense is about content you own or that users have approved.
Compare
Options compared
| Route | Needs | Best for | Weak spot |
|---|---|---|---|
| Watch and type | A browser | One or two videos | Slow and not repeatable |
| Official Graph API | OAuth, tokens, permissions | Your own pages and apps | Not built for reading others' videos |
| Caption-based API | API key and a public link | Public videos with captions | Needs captions to exist |
| Speech recognition | Audio file and a model | Any audio with speech | Needs the audio and more compute |
Facebook transcript API: Speech recognition as a fallback
When captions are missing, a Speech-to-text model can listen to the audio. In fact, the open Whisper model is released under the MIT license and handles many languages, though accuracy varies. Also, you need the audio file and the right to use it. TranscriptAPI does not run speech recognition.
Output
What the response contains
Of course, a response is JSON with the video details and the transcript. Moreover, for Facebook the words usually come as plain text in the text field, and the transcript list stays empty when Facebook gives no timestamps. Furthermore, that is enough to rebuild the video as text and search it.
In practice, the transcript timestamps guide explains the values. Besides, the SRT, VTT and JSON formats guide compares output formats if you want subtitle files.
Facebook transcript API: Languages
Overall, language depends on the available caption data. In fact, many Facebook videos have one language. When more exist, you may get Multilingual text, but only what is there.
Also, the API does not translate. In addition, for another language, translate the text after you fetch it.
Output
Output
Of course, the one thing to know: the response is plain JSON with the same field names on every successful call. Furthermore, the sample below is a real response captured from the API.
// GET /v1/facebook/transcript?video=https://www.facebook.com/watch/?v=10153231379946729 // real captured response { "platform": "facebook", "video_id": "10153231379946729", "video_url": "https://www.facebook.com/facebook/videos/10153231379946729/", "title": "How to Share With Just Friends", "author": "Facebook", "length_seconds": 74, "published_at": "2014-12-05T08:00:02Z", "language_code": null, "language_name": null, "is_generated": true, "transcript_source": "facebook_transcript", "owner_id": "100064860875397", "available_languages": [], "transcript": [], "text": "How to Share with Just Friends on Facebook. If you decided to learn how to paint, so you got an easel and some paints and your music and you found the perfect tree, and you started painting. And you painted for a while. And when you looked at how it was coming along, it was good. So, you wanted to show it to your friends but you weren't quite sure that you were ready to show it to the world. Then, you might like to know how to share with just friends on Facebook. Just put the finishing touches on your art, little more over there, Then when you make a post, just tap where it says two and select friends. Then hit back, then hit post.", "cached": false }
Facebook transcript API: more details
In fact, a failed call returns {"error": {"code", "message"}, "request_id"} and bills 0 transcripts.
Field reference
| Field | Type | Description |
|---|---|---|
| platform | string | Platform the transcript came from. |
| video_id | string | ID of the video on the platform. |
| video_url | string | Canonical link of the video. |
| title | string | Title of the video. |
| author | string | Name or handle of the account that posted it. |
| length_seconds | number | Length of the video in seconds. |
| published_at | string | When the video was published. |
| language_code | string or null | Language code of the transcript. Null when the platform does not report one. |
| language_name | string or null | Language name of the transcript. Null when not reported. |
| is_generated | boolean | True if the text was generated automatically instead of written by hand. |
| transcript_source | string | Where the text came from, for example captions or the platform transcript. |
| owner_id | string | ID of the account that owns the video. |
| available_languages | array | Other languages offered for this video. Empty when there is only one text. |
| transcript | array | Timed segments, each with text, start and duration in seconds. Empty when the platform gives plain text only. |
| text | string | The full transcript as one string. |
| cached | boolean | True if the result was served from cache. |
Errors
| Code | HTTP | Meaning |
|---|---|---|
| UNAUTHORIZED | 401 | Missing or invalid API key. |
| INVALID_INPUT | 400 | The link or ID is not valid for this platform. |
| NO_TRANSCRIPT | 404 | The video has no text to return. |
| UNAVAILABLE | 404 | The post is deleted, private or not found. |
| PLATFORM_UNAVAILABLE | 503 | The platform is not available right now. |
Limits
Facebook transcript API: Limits and edge cases
In practice, plan for these before you build.
- No captions. Likewise, some videos have none, and the API returns nothing.
- Private content. In fact, groups, friends-only posts and limited audiences are out of scope.
- Live streams. Also, a broadcast in progress may lack final text until it ends.
- Removed videos. In addition, a deleted video returns an error.
- Shared videos. Moreover, a share may point to the original, so use the original link.
- Accuracy. Auto-captions can misspell names and terms.
Common mistakes
Of course, use the link of one video, not the page or the profile. Furthermore, copy the clean link without tracking text. If a call fails, log the link and the status code so you can check it later.
Guide
Facebook transcript API: a weekly routine for Marta
In short, here is a plan that keeps the work small.
Of course, the routine takes under an hour. Also, a facebook transcript api removes the slowest step, which is watching and typing.
Measuring coverage
In short, run the call on twenty recent videos. If sixteen return text, coverage is 80 percent. Moreover, that number tells you whether you need a speech route for the rest.
Guide
Facebook transcript API: Using the data responsibly
In practice, a transcript is public speech turned into text, but the people in the video still matter. Furthermore, use transcripts for search, records and accessibility. Besides, do not build lists of private details about people. Respect copyright and cite the speaker when you quote.
In fact, a facebook video downloader api gives you the video file, which is a separate step from text. Rights and platform rules apply to downloads. Also, a transcript is lighter, but the same care applies. Auto-captions can mishear words, so watch the clip before you publish a quote.
Limits
Error handling in your code
Overall, a reliable job expects failures. When a call returns an error, record the link, the status code and the time. Moreover, a rate limit calls for a pause and a retry.
In fact, a missing video calls for a note and no retry. Furthermore, a server error calls for a retry after a short wait.
Besides, keep a small log with three columns: link, status and next step. Likewise, review it once a week. In fact, over a month, the log shows which pages post private or caption-free video, and you can stop spending time on them.
Pricing
What the Facebook transcript API costs
Usage is measured in transcripts. Also, pay As You Go costs $3.00 per 1,000 transcripts, Pro costs $20 per month, Ultra costs $50 per month and Max costs $200 per month. Usage is billed proportionally and never rounded up.
Marta's twelve branches post about five videos a week each. In addition, that is about 260 transcripts a month, which costs less than a dollar at the pay-as-you-go rate. Moreover, the pricing table lists every plan.
Scale
Facebook transcript API: Rate limits and bulk work
In short, every API has limits. If you send many calls at once, you can get an HTTP 429 response. Furthermore, wait and retry with longer pauses. In practice, check your dashboard and the pricing page for the limits that apply to you, since they can change.
Of course, for a long list, use a queue. Process a small batch, save each result at once and put failures aside for a second pass. Likewise, keep the video link as the key so you never fetch the same video twice. In fact, the Facebook video transcript API page covers the one-video view.
Guide
Speech, metadata and other add-ons
Teams often want more than text. Also, here is how the extras fit with a transcript call.
Speech recognition. In addition, it listens to the sound track and creates words. Moreover, it works on videos with no captions, but it needs the audio file and more compute. Of course, use it as a fallback after the caption call.
Metadata. Furthermore, a facebook video metadata api returns fields such as the title, the date and view counts. In practice, the transcript response holds text and timing only. If you need both, match them by the video link and check that you have the right to use each source.
Languages. Besides, some pages speak more than one language in one video. Auto-captions may handle the switch badly. Likewise, read those transcripts with extra care.
Timing. In fact, facebook usually gives plain text without timestamps, so you cannot jump to an exact second. Also, link to the video and note the topic instead.
Use cases
Practical uses
Page records. In addition, keep searchable text of everything a page announces.
Customer service. Moreover, find the video where a policy change was explained.
Research. Of course, track how topics appear across many pages.
Repurposing. Furthermore, turn a live replay into an article or a newsletter.
Accessibility. Offer a text version of your own videos.
In practice, more patterns are in the use cases section.
Workflow
Working with the text
Of course, the text may lack punctuation. Break it at natural pauses and sentence ends. Also, store the link, the page, the date and the language beside the text.
In short, for analysis, count key phrases and compare them across weeks. Moreover, for summaries, send one transcript at a time to a language model. Of course, for search, keep the video link of each chunk so a result can point back to the video.
Guide
Quality checks before you trust a transcript
Overall, a transcript is useful only if it is right. Besides, these checks catch most errors.
- Read the first minute. Likewise, check names, places and numbers.
- Search for a key term. Fix odd spellings with a find and replace.
- Compare with the video. Play the moment of any quote you plan to publish.
- Check the length. In fact, a ten-minute video that yields twenty words probably had poor captions.
Of course, add an automatic check that flags transcripts with very few words per minute, and review those by hand.
Related
Related searches, answered
Overall, here is how the common searches line up.
API names. Moreover, a facebook api, a facebook graph api and a facebook content api usually mean the official developer tools. Of course, a facebook transcript api serves a narrower job, which is video text.
Video text. Furthermore, a facebook video transcript api, a facebook video to text job, a facebook video caption extractor and a facebook video subtitle api all aim at the same output. In practice, a facebook video speech to text service works from the audio.
Live and Reels. Besides, a facebook live transcript api depends on whether text exists after the stream ends. Likewise, a facebook reels transcript api covers short vertical clips.
Files and data. In fact, a facebook video downloader api gives you the file, and a facebook video metadata api gives fields such as dates and counts. Neither is a transcript call.
Glossary
Key terms for this guide
| Term | What it means here |
|---|---|
| The social network where the videos are posted | |
| Meta | The company that owns Facebook and Instagram |
| Facebook Graph API | The official Meta API for Facebook data |
| Facebook video posts | Posts that carry an uploaded video |
| Facebook Live | The live streaming feature of Facebook |
| Facebook Reels | Short vertical videos on Facebook |
| Closed captions | Text of the speech in a video |
| Speech-to-text | Software that turns audio into text |
| REST API | A web interface you call with HTTP requests |
| OAuth | A standard that lets an app act for a user |
| JSON | The structured format of the response |
| Multilingual | More than one language, when tracks exist |
Summary
Final Word
In practice, a Facebook transcript API gives you the words of a public video from one link. Moreover, it reads existing captions, so it is quick and cheap, and it stops where captions are missing or videos are private.
Of course, test it on a few videos. Create a free TranscriptAPI key, send a link and read the JSON. Then add a queue for volume. Likewise, see the pricing page for plans and the service list for other platforms.
FAQ
Frequently asked questions
Does the Facebook transcript API need my Facebook login?
Does it work on private groups?
Is the Graph API an alternative?
What if the video has no captions?
Does it work on Reels and Live replays?
How much does it cost?
Can I get subtitle files?
Ship transcription today, not next quarter.
In short, no waitlist, no sales call required to start. Also, get a key, make your first call, see structured JSON back in seconds.
Get your free API key →