TikTok Transcript API gives AI agents, content research pipelines, and developer scripts a direct endpoint to extract timestamped video subtitles, watermark-free MP4/MP3 streams, post engagement metrics, and nested comment threads from any public TikTok video. Powered by our social media MCP server infrastructure, TikTok Transcript API eliminates headless browser scraping and works natively inside Google Antigravity, Claude, Cursor, ChatGPT, Dify, and n8n. For full copy-paste Python, Node.js, and cURL scripts, read how to get a TikTok transcript via API (with code).
TikTok video transcript API
When analyzing viral short-form videos at scale, feeding raw video files into multimodal LLMs is slow and costly. Our TikTok video transcript API turns any public TikTok URL or aweme_id into clean, timestamped JSON text in under two seconds whenever native WebVTT/SRT caption tracks exist, returning full_text, detected ISO language, and millisecond-aligned segments:
curl -sS -X POST "https://socialtoai.app/v1/call" \
-H "Authorization: Bearer stai_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"capability": "tiktok.transcript",
"url": "https://www.tiktok.com/@creator/video/743928192038471"
}'
| Endpoint Capability | REST Path / MCP Tool | Credit Cost | Returned JSON Fields |
|---|---|---|
| Video Transcript | POST /v1/call (tiktok.transcript) | 2–4 credits | language, full_text, segments[{start, end, text}] |
| Watermark-Free Media | POST /v1/detail (platform: "tiktok") | 2 credits | video_no_watermark, audio_url, cover_url, duration |
| Comment & Reply Tree | POST /v1/comments (platform: "tiktok") | 2 credits | cid, user, text, likes, reply_count, created_at |
| Keyword & Trend Search | POST /v1/search / POST /v1/trending | 2 credits | aweme_id, author, desc, views, likes, shares |
Get a TikTok transcript without captions
Roughly 30% to 40% of UGC clips, street interviews, and music-backed tutorials on TikTok are uploaded without creator-burned subtitles or platform closed captions—causing basic caption-only scrapers to return an empty array. To get a TikTok transcript without captions, our pipeline automatically detects missing subtitle tracks, pulls the clean original M4A/MP3 audio stream on the server, and runs automatic Whisper speech-to-text recognition across 50+ languages before returning the exact same JSON segment schema:
{
"envelope_status": "ok",
"platform": "tiktok",
"source": "whisper_speech_fallback",
"language": "en",
"full_text": "Here are the three fastest ways to test viral hooks before filming...",
"segments": [
{ "start": "00:00.00", "end": "00:03.82", "text": "Here are the three fastest ways to test viral hooks before filming..." }
]
}
TikTok comments API
Spoken video scripts tell you what the creator pitched, while comment threads reveal buyer objections, product questions, and slang trends. Pairing transcript extraction with the TikTok comments API lets an AI agent pull top-liked comments and nested creator replies using cursor pagination (2 credits per page, deduplicated by cid):
curl -sS -X POST "https://socialtoai.app/v1/comments" \
-H "Authorization: Bearer stai_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "tiktok",
"url": "https://www.tiktok.com/@creator/video/743928192038471",
"limit": 20
}'
Using TikTok Transcript API via MCP and Pay-Per-Call Pricing
Mount https://socialtoai.app/mcp in Google Antigravity, Claude, or Cursor to combine TikTok scripts with cross-platform research on our Xiaohongshu MCP Server and Meta Ad Library API. Every new account receives 100 free credits with no credit card required, failed calls cost 0 credits, and prepaid packs start at $10 = 3,000 credits on our pricing page.
Developer Questions & Integration Feedback (0)
Testing an endpoint or wiring up an MCP client? Leave a question or share which agent stack you are connecting.