Introduction
ScriptBase — Video transcription API for YouTube, TikTok, Instagram, and more
ScriptBase
One API to transcribe videos from YouTube, TikTok, Instagram, Facebook, X, and Rumble. Pass a URL, get a transcript — JSON, SRT, or plain text.
Quick Start
Quickstart
Get your API key and make your first request.
API Reference
Full endpoint documentation.
Authentication
API key setup and best practices.
Pricing
Credits, plans, and costs.
Example
curl "https://api.scriptbase.app/api/v1/transcribe?url=https://www.youtube.com/watch?v=dQw4w9WgXcQ" \
-H "X-API-Key: your_api_key"{
"success": true,
"data": {
"segments": [
{ "text": "We're no strangers to love", "start": 18.0, "duration": 3.5 },
{ "text": "You know the rules and so do I", "start": 21.5, "duration": 3.2 }
]
},
"meta": {
"platform": "youtube",
"format": "json",
"credits_used": 1,
"credits_remaining": 19
}
}Supported Platforms
| Platform | Example URL |
|---|---|
| YouTube | youtube.com/watch?v=... or youtu.be/... |
| TikTok | tiktok.com/@user/video/... |
instagram.com/reel/... | |
facebook.com/watch/... or fb.watch/... | |
| X (Twitter) | x.com/.../status/... |
| Rumble | rumble.com/... |
Output Formats
| Format | Use case |
|---|---|
json | Segments with timestamps (default) |
srt | Subtitle files for video players |
text | Plain text for LLMs, search, analysis |