Schemas

Transcript

Timed transcript of a public video: the platform's caption track, or speech-to-text on its audio when there is none.

Endpoints

5 endpoints return transcripts on Facebook, Instagram, Rumble, TikTok and YouTube.

Schema

Every endpoint above returns this object as data. The standard meta comes with every response.

FieldTypeDescription
platformstringPlatform the media is hosted on.
idstringPlatform-native ID of the post (equals post.id).
urlstring (uri)Canonical URL of the post.
languagestring or nullBCP-47 language of the returned transcript; null when unknown.
sourcestringcaptions = platform caption track; asr = speech-to-text on the audio. New values may be added.
One of captions, asr
is_auto_generatedbooleanTrue when the track was machine-generated (platform auto-captions or ASR).
available_languagesstring[]BCP-47 caption languages the platform offers for this post; [] if none or not listed.
duration_msinteger or nullMedia duration in milliseconds; null when unknown.
segmentsobject[]Timed cues in order; never empty on success.
segments[].start_msintegerStart time in milliseconds from the beginning of the media.
segments[].end_msintegerEnd time in milliseconds from the beginning of the media.
segments[].textstringCue text, whitespace-normalized.
textstringFull transcript: segment texts joined with single spaces.
platform_specificobjectFields only this platform has, under its ID (platform_specific.<platform>); each null when unknown.
platform_specific.rumbleobject or nullA Rumble transcript's own fields.
platform_specific.rumble.track_labelstring or nullRumble's label of the caption track used ("English (auto)"); null for speech-to-text.
platform_specific.rumble.caption_urlstring (uri) or nullThe WebVTT file of the caption track used; null for speech-to-text.
platform_specific.rumble.caption_tracksobject[]Every caption track Rumble offers for the video (WebVTT); [] when none.
platform_specific.rumble.caption_tracks[].languagestring or nullLanguage code (en, es, …).
platform_specific.rumble.caption_tracks[].labelstring or nullRumble's label ("English (auto)").
platform_specific.rumble.caption_tracks[].urlstring (uri) or nullWebVTT file URL.
platform_specific.rumble.caption_tracks[].is_auto_generatedboolean or nullGenerated by Rumble's speech recognition.
platformstring

Platform the media is hosted on.

idstring

Platform-native ID of the post (equals post.id).

urlstring uri

Canonical URL of the post.

languagestringnullable

BCP-47 language of the returned transcript; null when unknown.

sourcestring

captions = platform caption track; asr = speech-to-text on the audio. New values may be added.

One ofcaptionsasr

is_auto_generatedboolean

True when the track was machine-generated (platform auto-captions or ASR).

available_languagesstring[]

BCP-47 caption languages the platform offers for this post; [] if none or not listed.

duration_msintegernullable

Media duration in milliseconds; null when unknown.

segmentsobject[]

Timed cues in order; never empty on success.

ShowHide 3 child fields
start_msinteger

Start time in milliseconds from the beginning of the media.

end_msinteger

End time in milliseconds from the beginning of the media.

textstring

Cue text, whitespace-normalized.

textstring

Full transcript: segment texts joined with single spaces.

platform_specificobject

Fields only this platform has, under its ID (platform_specific.<platform>); each null when unknown.

ShowHide 1 child field
rumbleobjectnullable

A Rumble transcript's own fields.

ShowHide 3 child fields
track_labelstringnullable

Rumble's label of the caption track used ("English (auto)"); null for speech-to-text.

caption_urlstring urinullable

The WebVTT file of the caption track used; null for speech-to-text.

caption_tracksobject[]

Every caption track Rumble offers for the video (WebVTT); [] when none.

ShowHide 4 child fields
languagestringnullable

Language code (en, es, …).

labelstringnullable

Rumble's label ("English (auto)").

urlstring urinullable

WebVTT file URL.

is_auto_generatedbooleannullable

Generated by Rumble's speech recognition.

Item errors

Besides the request-level errors every endpoint can return, transcript endpoints return:

CodeHTTPRetryMeaningWhat to do
not_found404NoThe item does not exist or was deleted.Check the URL or ID; do not retry.
private_or_unavailable403NoThe item exists but is private, age- or region-gated, or requires a login to view. It shares 403 with forbidden (which is about the key): branch on the code.Only public items can be fetched; do not retry.
no_transcript404NoThe media exists but has no transcript: no caption track and no speech to transcribe.Do not retry; try another language with lang if the platform offers one.