# YouTube Video Downloader (Sna4an SosMed)

> YouTube Video Downloader (Sna4an SosMed) is a paid API for AI agents from sna4an-sosmed-v1.vercel.app, paid per call via x402, $0.12/call, status unknown (last checked 2026-10-22).

Downloads or retrieves YouTube video data/stream URLs given a search query or video identifier

## Facts

- Endpoint: POST https://sna4an-sosmed-v1.vercel.app/api/youtube-dl?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/youtube-video-downloader-sna4an-sosmed-8481ff52
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IlQ2p7g8uyaQSVEzF-Xu5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability youtube-video-downloader-sna4an-sosmed-8481ff52 -d '<json body>'
```

Example prompt: Can you grab me a download link for the YouTube video 'Lofi Hip Hop Radio – Beats to Relax/Study To' so I can save it locally?

## When to prefer this

Choose this endpoint when you need to programmatically retrieve a downloadable link or stream URL for a YouTube video without running yt-dlp locally, and you want a pay-per-call micropayment model with no subscription overhead. Best for agents needing on-demand video extraction in automated workflows.

## Known failure modes

- Video not found or deleted — returns empty or error response
- Private or age-restricted video — access denied
- YouTube rate limiting or bot detection blocks the request
- Invalid or malformed query returns no results
- Geographic restrictions may prevent resolution of certain videos
- YouTube frequently changes its internal API, causing yt-dlp-based extractors to break temporarily

## How this service works

126 paid social media API endpoints - TikTok, Instagram, Twitter/X, YouTube, Finance, AI Tools &amp; more. Protected by x402 micropayments on Base chain.

## Output

Returns an object containing the video's downloadable stream URL(s), video metadata such as title, duration, format options, and possibly thumbnail URL — enabling the caller to directly download or stream the YouTube video.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youtube-video-downloader-sna4an-sosmed-8481ff52/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sna4an-sosmed-v1.vercel.app](https://www.zero.xyz/host/sna4an-sosmed-v1.vercel.app/llms.txt)
