ScriptBase

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

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

PlatformExample URL
YouTubeyoutube.com/watch?v=... or youtu.be/...
TikToktiktok.com/@user/video/...
Instagraminstagram.com/reel/...
Facebookfacebook.com/watch/... or fb.watch/...
X (Twitter)x.com/.../status/...

Output Formats

FormatUse case
jsonSegments with timestamps (default)
srtSubtitle files for video players
vttWeb Video Text Tracks
textPlain text for LLMs, search, analysis