X Spaces API

Transcribe Twitter Spaces to text
Turn Live Audio into Searchable Data

Convert Twitter/X Spaces into full-text transcripts with timestamps. Powered by Whisper speech-to-text, extract searchable data from live audio discussions on crypto, politics, tech, and more.

1,000 free requests/month. No credit card required.

pip install trawl-sdk
# Transcribe an X Space
curl -X POST https://api.gettrawl.com/api/twitter/preview \
  -H "Content-Type: application/json" \
  -d '{"url": "https://twitter.com/i/spaces/1ABC..."}'

# Python SDK
from trawl import TrawlClient
client = TrawlClient()

# Transcribe any X Space
transcript = client.twitter.preview("https://twitter.com/i/spaces/1ABC...")
print(transcript.text)

# Download as SRT subtitles
segments = transcript.segments
for seg in segments:
    print(f"[{seg['start']:.1f}s] {seg['text']}")

Why developers choose Trawl

Transcribe any public X Space via URL
HLS audio stream download and processing
Whisper-powered speech-to-text transcription
Timestamped segments for navigation
Export as JSON, TXT, SRT, or VTT formats
No authentication needed for preview endpoint
Builder+ tier for production volume
Monitor crypto, political, and tech Space discussions

4

Export formats

Whisper

Speech-to-text engine

<60s

Avg transcription time

Start transcribing X Spaces in 30 seconds

pip install trawl-sdk

python -c "
from trawl import TrawlClient
t = TrawlClient().twitter.preview('https://twitter.com/i/spaces/1ABC...')
print(t.text[:200])
"
Get your free API key