DocsIntegrationsPlaygroundPricing
Get API Key
SUPACRAWL
StatusSupportDashboard
SUPACRAWL
Docs/API Reference/Transcript
API Reference

Universal Transcript

Extract a transcript from any supported video URL — YouTube, TikTok, Instagram, Facebook, Twitter/X, or any public video file. Automatically detects the platform and uses the optimal extraction method.

GET/v1/transcript1 credit (native) · 2 credits/min (AI-generated)

Parameters

NameTypeRequiredDefaultDescription
urlstringrequiredFull video URL from any supported platform
langstringoptionalautoLanguage code (ISO 639-1), e.g. en, es, fr
timestampsbooleanoptionalfalseInclude segment-level timestamps in response
modestringoptionalautoExtraction mode: auto, native, or generate

Code Examples

from supacrawlx import Client

client = Client("YOUR_API_KEY")
result = client.transcript(
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    lang="en",
    timestamps=True
)
print(result.text)

Response

JSON
{
  "videoId": "dQw4w9WgXcQ",
  "platform": "youtube",
  "language": "en",
  "text": "We're no strangers to love...",
  "segments": [
    { "start": 0.0, "duration": 4.08, "text": "We're no strangers to love" },
    { "start": 4.08, "duration": 3.44, "text": "You know the rules and so do I" }
  ],
  "creditsUsed": 1
}

Extraction modes

  • auto — Uses native if available, falls back to AI generation (recommended)
  • native — Only uses platform-provided captions (1 credit, fails if unavailable)
  • generate — Always uses AI speech-to-text (2 credits/min, works on any video)