StableTube YouTube Video Downloader is a paid API for AI agents from stabletube.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14, last successful call 2026-07-04).
Downloads a YouTube video server-side at a specified quality and returns a temporary S3 URL for the file, billed per call via x402/USDC.
Create a paid StableTube download job. StableTube downloads the video server-side, uploads the mp4 to S3, and returns a temporary StableTube-owned download URL when ready.
A temporary S3 URL pointing to the downloaded MP4 video file, which can be accessed for a limited time after the server-side download completes.
POSThttps://stabletube.dev/api/downloadUse this endpoint when you need a server-side YouTube download returned as a temporary S3 link without running a local downloader, especially in agent workflows that need a hosted file URL rather than a local file. Prefer this over browser-based tools or client-side solutions when you need a clean API call with predictable pricing per download.
{
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"tier": "tube-500mb",
"type": "stabletube.download",
"format": "mp4",
"quality": "720p",
"clientRequestId": "test-qa-001"
}| Field | Type | Description |
|---|---|---|
| url | string | Full YouTube URL of the video to download. |
| tier | string | Required output size tier: tube-100mb (100 MB, $0.05) | tube-500mb (500 MB, $0.10) | tube-1gb (1 GB, $0.20). |
| type | string | |
| format | string | Output container format. mp4 only for now. |
| quality | string | Required target video quality. The request fails if unavailable. |
| clientRequestId | string | Optional idempotency key scoped to the paying wallet. |
{
"tier": "tube-500mb",
"jobId": "10b55260-6ede-4fe7-a997-2e4b7cee4ba3",
"price": "0.10",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"format": "mp4",
"status": "complete",
"quality": "720p",
"videoId": "dQw4w9WgXcQ",
"maxBytes": 524288000,
"mimeType": "video/mp4",
"expiresAt": "2026-06-18T07:25:11.803Z",
"downloadUrl": "https://x402-upload-prod.s3.us-east-1.amazonaws.com/uploads/stabletube/videos/dQw4w9WgXcQ/720p/10b55260-6ede-4fe7-a997-2e4b7cee4ba3.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2AUOO7BRDDQPWDEV%2F20260618%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260618T062511Z&X-Amz-Expires=3600&X-Amz-Signature=bc24c0f3e4eeffc90533eb0df4d94198fdd005fe20c5e5fbe5d1fa619c4f08d0&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3D%22Rick%20Astley%20-%20Never%20Gonna%20Give%20You%20Up%20_Official%20Video_%20_4K%20Remaster_.mp4%22&response-content-type=video%2Fmp4&x-amz-checksum-mode=ENABLED&x-id=GetObject",
"durationSec": 213,
"contentLengthBytes": 29901608
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"