YouTube downloads as an x402 API.
POST a YouTube URL. StableTube downloads the video server-side, stores the mp4 in S3, and returns a temporary StableTube-owned URL when it is ready.
Pricing
100 MB$0.05
500 MB$0.10
1 GB$0.20
Floor
$0.05
Format
mp4
Try it
One paid job. Direct S3 download when ready.
# Start a paid download job.
curl -s -X POST https://stabletube.dev/api/download \
-H "Content-Type: application/json" \
-d '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","quality":"720p","tier":"tube-500mb"}'
# Poll with SIWX until status is complete, then download from downloadUrl.
curl -s https://stabletube.dev/api/downloads/{jobId}Add an x402 client (or send via @agentcash/router) for the 402 payment flow. /api/download returns a JSON job status. Poll /api/downloads/:jobId with SIWX, then fetch the returned downloadUrl directly from S3.