# Sna4an YouTube Downloader API

> Sna4an YouTube Downloader API is a paid API for AI agents from sna4an-social.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Downloads YouTube video content or retrieves video metadata via a RapidAPI-backed sub-endpoint

## Facts

- Endpoint: POST https://sna4an-social.vercel.app/api/yt-downloader
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sna4an-youtube-downloader-api-53e1b6c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zxxpy8Q0I_A7rqTNgbJ84

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 sna4an-youtube-downloader-api-53e1b6c7 -d '<json body>'
```

Example prompt: Can you get me a download link for this YouTube video: https://www.youtube.com/watch?v=dQw4w9WgXcQ — I want the video file, not just the metadata.

## When to prefer this

Use this endpoint when you need to programmatically download or extract a direct stream URL from a YouTube video, especially when operating within an x402 micropayment-enabled agent workflow. Best suited for single video download requests rather than bulk scraping.

## Known failure modes

- Invalid or unsupported YouTube URL returns error response
- RapidAPI sub-endpoint path not recognized returns 400 or empty result
- Payment of 0.15 USDC not completed results in 402 Payment Required
- Video unavailable or region-locked returns no download links
- Missing or malformed params object causes query failure

## How this service works

Social media data APIs - YouTube, TikTok, Instagram, Twitter, Medium

## Output

Returns a JSON object containing download URLs, video metadata (title, duration, format), and available stream options for the requested YouTube video, sourced via RapidAPI.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "path": {
   "type": "string",
   "description": "RapidAPI sub-endpoint path"
  },
  "params": {
   "type": "object",
   "description": "Query parameters"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sna4an-youtube-downloader-api-53e1b6c7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sna4an-social.vercel.app](https://www.zero.xyz/host/sna4an-social.vercel.app/llms.txt)
