TikTok Transcript API
TikTok Transcript API
Extract Captions from Any Video
Extract TikTok captions and subtitles programmatically. No TikTok API key required. Get auto-generated captions as structured transcript segments, ready for search, RAG, and AI analysis.
1,000 free requests/month. No credit card required.
pip install trawl-sdk
from trawl import TrawlClient
client = TrawlClient()
# Search TikTok videos by keyword
results = client.search.tiktok("productivity tips", max_results=10)
for v in results.results:
print(f"[@{v.author}] {v.title}")
# Extract captions from any TikTok video
transcript = client.tiktok.preview(
"https://www.tiktok.com/@user/video/7123456789"
)
for segment in transcript.segments:
print(f"[{segment.start:.1f}s] {segment.text}")
# Output in 5 formats: TXT, JSON, SRT, VTT, JSONLWhy developers choose Trawl
Auto-generated caption extraction
Search by keyword, hashtag, or user
No TikTok API key needed
User profile and video metadata
Comment extraction
Hashtag search
Python SDK + JS SDK + MCP server
5 output formats (TXT, JSON, SRT, VTT, JSONL)
Batch processing
10+
Content sources
5
Output formats
49
MCP tools for Claude
Start extracting TikTok captions in 30 seconds
pip install trawl-sdk
python -c "
from trawl import TrawlClient
t = TrawlClient().tiktok.preview(
'https://www.tiktok.com/@user/video/7123456789'
)
print(f'{len(t.segments)} segments extracted')
"