Skip to content
Esc

Popular

  • QuickstartFrom an API key to your campaigns, a campaign's summary, its posts, its audience and its sentiment.Get started
  • Search posts by keywordGET /v1/search/keywordSearch
  • List a post's commentsGET /v1/posts/{id}/commentsPosts & Comments
  • Formats taking offGET /v1/trendsTrends
  • Get a campaign summaryGET /v1/campaigns/{id}Campaigns
  • MCP for Claude and ChatGPTConnect Claude, ChatGPT or any MCP client to your Sonder workspace at https://sonderlabs.co.uk/mcp. Live today.MCP
Media & AITranscript

Get a video's transcript

GET/v1/posts/{id}/transcriptComing soon

What is said in a video: the platform's own captions where they exist, speech-to-text where they don't.

source says where the words came from: captions (the platform's) or speech (Sonder's speech-to-text). Speech-to-text covers the first 90 seconds of videos up to 10 minutes long.

With timed=true, YouTube captions come back with start and end times per line.

Platform support

  • TikTok: Live
  • Instagram: Limited
  • YouTube: Live
  • Facebook: Not available
  • X: Not available
  • Threads: Not available
  • Reddit: Not available
  • Snapchat: Limited
Instagram (Limited)
Speech-to-text on Reels with 20,000 views or more; Instagram has no captions to read.
Facebook (Not available)
No speech on this platform's posts: text posts, or no video file to read.
X (Not available)
No speech on this platform's posts: text posts, or no video file to read.
Threads (Not available)
No speech on this platform's posts: text posts, or no video file to read.
Reddit (Not available)
No speech on this platform's posts: text posts, or no video file to read.
Snapchat (Limited)
Spotlights only.

Parameters

Path parameters

idstringRequired
A Sonder post id, from any endpoint that returns posts or from post lookup.

Query parameters

timedboolean
Return lines with start and end seconds, where available.
Request
curl https://yourteam.sonderlabs.co.uk/v1/posts/abf505e6a8dd939360d5beaec605b807/transcript \
  -H "Authorization: Bearer $SONDER_API_KEY"
Response
{
  "postId": "abf505e6a8dd939360d5beaec605b807",
  "platform": "youtube",
  "source": "captions",
  "language": "en",
  "text": "As a child, did you fantasize about doing other things? Did you kind of think, \"When I grow up, I might not be king. I'll do this.\" >> Uh yes, there was elements of that growing up, >> [laughter] >> and I'm roughly trying to think about what I can say on telev…"
}
Get a video's transcript · Sonder APIs