Facebook Video Transcript
Facebook Video Transcript records contain spoken text from public video posts and Reels, with source URLs, transcript text, format, and collection time. These records support speech indexing, selected-content review, source-linked archives, and enrichment alongside separately collected post metadata.
Features
- Known-URL transcript batchesAccept a list of public Facebook video post or Reel URLs and remove exact duplicate strings before transcript retrieval.
- Source-linked transcript recordsReturn each available transcript with its submitted source URL and a record ID that falls back to that URL.
- Explicit text formatIdentify returned text as plaintext or WebVTT and include the transcript collection time for downstream handling.
- Available-only resultsCreate a normalized record only when a submitted public URL yields non-empty transcript text, so result counts can be lower than input counts.
Parameters
| Parameters | Required | Description |
|---|---|---|
urls | Required | Known public Facebook video post or Reel URLs, separated by commas or new lines. |
How to Use
Submit known public Facebook video post or Reel URLs, then reconcile returned source URLs because only non-empty transcript text produces result items.
- Prepare one or more known public Facebook video post or Reel URLs; this endpoint does not discover a Page video feed.
- POST urls to /v1/facebook/video-transcript and store the returned task_id.
- Poll /v1/tasks/{task_id} until the task succeeds or fails.
- Read data.results.items, follow next_cursor while has_more is true, and use each url and format when storing text.
curl -X POST "https://api.socq.ai/v1/facebook/video-transcript" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls":["https://www.facebook.com/reel/1535656380759655"]}'
# Poll GET /v1/tasks/{task_id}
# Read GET /v1/tasks/{task_id}?limit=50Best Use Cases
- Spoken-content search indexing: Index transcript text with its source URL, record ID, format, and collection time so selected public videos can be searched by spoken words.
- Selected video and Reel review: Use source-linked transcript text to review the spoken material in a curated set of known public video post and Reel URLs.
- Post metadata enrichment: Join transcript text to separately collected post details by source URL when a dataset needs both spoken content and public post context.
Pro Tips
- Submit known public video post or Reel URLs after checking that each target is reachable; malformed, private, removed, or unsupported media can produce no record.
- Canonicalize URL strings before batching when the same video can appear with tracking parameters or alternate URL forms, because the backend removes exact duplicates only.
- Compare returned url values with the submitted list after success so URLs without non-empty transcript text remain visible to your workflow.
- Read format before parsing text; a webvtt record can retain cue markup that should not be processed as unstructured plaintext.
- Continue with results.next_cursor while has_more is true when a URL batch spans more than one result page.
Related APIs
Use these APIs when you need a different type of public Facebook data.
- Facebook Pages API — Retrieve public Page profiles, contact details, images, and visible audience ratings.
- Facebook Posts API — Collect public posts, media, reactions, comments, and shares from supported Facebook URLs.
- Facebook Comments API — Collect public comments, authors, engagement, media, and source links from post URLs.
- Facebook Group Posts API — Collect public posts from Facebook group URLs with selectable ordering, per-group limits, author context, video media, and visible engagement.
- Facebook Events Search API — Search public events by keyword with schedule, place, attendance, cover media, and event-state fields.
- Facebook Ad Transcript API — Extract available spoken-word text, language, format, and source context from Facebook Ad Library URLs.
- Facebook Comment Replies API — Retrieve public replies for a known comment using its feedback ID and expansion token, with text, author identity, engagement, and parent context.
- Facebook Company Reviews API — Collect public Page reviews with review text, reviewer links, ratings, likes, timestamps, and company context.
- Facebook Event Details API — Collect normalized metadata, schedules, locations, media, and visible engagement from known public event URLs.
- Facebook Profile Events API — Collect public events associated with profile or Page URLs, including names, schedules, locations, media, visible metrics, and source context.
- Facebook Profile Photos API — Collect public photos from profile or Page URLs with captions, author context, engagement, image metadata, and source references.
- Facebook Profiles API — Look up public profiles or Pages from known Facebook URLs with identity, bio, avatar, visible counters, and input context.
- Facebook Reels API — Collect public Reels from profile or Page URLs with captions, author context, video metadata, visible engagement, and source references.
Combine Facebook data with public data from other supported social platforms.