# Coockies.ai YouTube Downloader

> Coockies.ai YouTube Downloader is a paid API for AI agents from coockies-ai.vercel.app, paid per call via x402, $0.155894/call, status unknown (last checked 2026-10-12).

Downloads YouTube videos and extracts media content from YouTube URLs via a pay-per-call API

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/youtube-downloader?utm_source=zero.xyz
- Price: $0.155894/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-youtube-downloader-a6395fa9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lnb5WiJ8pAP7b5GPdcuc0

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 coockies-ai-youtube-downloader-a6395fa9 -d '<json body>'
```

Example prompt: Can you download this YouTube video for me? Here's the link: https://www.youtube.com/watch?v=dQw4w9WgXcQ

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call YouTube video download without managing your own scraping infrastructure. Useful for agents that need to programmatically retrieve YouTube video content on demand without API key management for a dedicated YouTube service.

## Known failure modes

- Invalid or malformed YouTube URL returns an error response
- Private or age-restricted videos may not be downloadable
- Deleted or unavailable videos return a not found error
- Rate limiting or payment failure returns a 402 status
- YouTube anti-bot measures may intermittently block extraction

## How this service works

194 production-ready API endpoints. AI, Search, Social, Finance, Crypto. Pay-per-call with x402 on Base chain.

## Output

Returns a result object containing the downloadable video data or a direct download link for the requested YouTube video, along with relevant metadata about the media file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

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