Introduction
ScriptBase — Video transcription API for YouTube, TikTok, Instagram, Facebook, and X
ScriptBase
One API to transcribe videos from YouTube, TikTok, Instagram, Facebook, and X. Pass a URL, get a transcript — JSON, SRT, VTT, 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 -L "https://scriptbase.app/api/v1/transcribe?url=https://www.youtube.com/watch?v=dQw4w9WgXcQ" \
-H "X-API-Key: your_api_key"{
"success": true,
"data": {
"platform": "youtube",
"language": "en",
"duration_sec": 213,
"segments": [
{ "start": 18.0, "end": 21.5, "text": "We're no strangers to love" },
{ "start": 21.5, "end": 24.7, "text": "You know the rules and so do I" }
],
"full_text": "We're no strangers to love. You know the rules and so do I."
},
"meta": {
"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/... |
Output Formats
| Format | Use case |
|---|---|
json | Segments with timestamps (default) |
srt | Subtitle files for video players |
vtt | Web Video Text Tracks |
text | Plain text for LLMs, search, analysis |