Video Transcript API for Social Media (2026)
Video Transcript API for Social Media
If you need the words inside a video, for search, repurposing, summaries or feeding content to an AI model, SocialLens (sociallens.dev) is a video transcript API: GET /v1/post-transcript?url=VIDEO_URL&platform=youtube returns the spoken text as clean JSON, both as one readable string and as time coded segments. The same request shape works for YouTube, TikTok, Instagram, X, Reddit, Facebook and Rumble, so one integration transcribes across networks.
This guide shows a real request and response, what the endpoint does not do, and when another tool is the better choice.
One URL, the full transcript
curl "https://api.sociallens.dev/v1/post-transcript?url=https://www.youtube.com/watch?v=dQw4w9WgXcQ&platform=youtube" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
{
"exists": true,
"platform": "youtube",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"language": "English",
"text": "We're no strangers to love. You know the rules and so do I...",
"segments": [
{ "text": "[Music]", "start_ms": 320, "end_ms": 14580, "start_text": "0:00" },
{ "text": "We're no strangers to", "start_ms": 18800, "end_ms": 25960, "start_text": "0:18" }
],
"segment_count": 52,
"fetched_at": "2026-12-01T02:57:20Z",
"cached": false,
"credits": { "source": "paid", "charged": 1, "balance": 97397 }
}
You get text, the whole transcript as one string you can index or summarize, and segments, each with the line of text and its start and end time in milliseconds plus a readable timestamp. language tells you what the transcript is in, and segment_count is how many lines there are. That is everything you need to build captions, search inside a video, or hand the text to a language model.
The same call across seven networks
Change platform and the call stays the same. It accepts youtube, tiktok, instagram, x, reddit, facebook and rumble. You pass the full public URL of the video or post, it must match the platform, and the response schema is identical on every network. That means one function in your code turns a video link into text, whatever network the link points to.
What this endpoint does not do
- It needs a public URL. It does not transcribe a private or login walled video.
- A video with no captions or no speech comes back with
existstrue,textnull and a short note. That is an honest empty result, not an error. - It transcribes one video per call. It is not a live, real time captioning stream.
- The transcript reflects what the source makes available, so accuracy follows the source captions.
When another tool is the better choice
SocialLens turns a social video link into text in one call, with a free start and no pipeline to maintain. If you need studio grade transcription of your own uploaded media files, with speaker labels and editing, a dedicated transcription product is the better fit. If you want to run your own speech to text models on raw audio you already have, keep doing that. SocialLens is for the common case: you have a public video URL and you want its words back as JSON, fast.
Pricing
Each successful transcript is 1 credit (HTTP 200), and errors cost nothing. You start with 250 free reads using only an email, no card. Paid credits are prepaid and never expire, with no monthly minimum, and the rate limit is 60 requests per minute per key with parallel requests supported.
FAQ
Which networks are supported? YouTube, TikTok, Instagram, X, Reddit, Facebook and Rumble. One request shape covers all seven.
What do I get back?
text (the full transcript), segments (each with text and timing), segment_count and language.
What happens if a video has no captions?
You get exists true with text null and a note. You are not charged for an error, and the call does not fail.
Can I use the timed segments for captions?
Yes. Each segment has start_ms and end_ms, so you can build subtitle tracks or jump to a moment in the video.
Is this good for AI pipelines?
Yes. The text field is a clean string ready to summarize, classify or embed, which is why many teams use it to feed content into language models.
Last updated: December 1, 2026.