100 free credits. No credit card required. Get a key

Reddit video transcript API

The captions Reddit generated for a video post, as WebVTT, plain text and timed segments, in the language you ask for.

GET /v1/reddit/posts/{id}/transcript2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/reddit/posts/1q8u2ji/transcript?language=en",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"post_id": "1q8u2ji",
"language": "en",
"languages": [
"en"
],
"vtt": "WEBVTT\n\n00:00.000 --> 00:00.300\n<u>I</u> got it.\n\n00:00.300 --> 00:00.460\nI <u>got</u> it.\n\n00:00.460 --> 00:01.240\nI go…",
"text": "I got it. Hey, I'm sorry. There's nothing. Take it back here. Yeah, just send me that email. I'm just going to flip it. …",
"segments": [
{
"start": 0,
"end": 1.24,
"text": "I got it."
},
{
"start": 4.98,
"end": 9.4,
"text": "Hey, I'm sorry. There's nothing. Take it back here."
},
"… 8 more"
],
"transcript_not_available": false
}

Parameters

NameTypeDescription
idpath · requiredstringA post id, fullname (t3_…) or post URL. Example: 1q8u2ji.
languagequerystringCaption language code. Default en. Example: en.
Response fields

200 with a Transcript, in Reddit’s own Things and Listings.

FieldTypeDescription
post_idstring
languagestring | null
languagesstring[]
vttstring | nullThe caption track, WebVTT.
textstring | null
segmentsobject[]
transcript_not_availableboolean
Status codes
StatusMeaning
200The transcript.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The subreddit, post or user does not exist.
429Too many requests. Wait for Retry-After seconds.
503Reddit is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Is this AI transcription?

No: it reads the captions Reddit itself made. A video without captions answers 404 target_not_found and is not charged.

Reddit is a trademark of Reddit, Inc. We are not affiliated with or endorsed by Reddit.