# Coockies.ai YouTube V2 API

> Coockies.ai YouTube V2 API is a paid API for AI agents from coockies-ai.vercel.app, paid per call via x402, $0.166572/call, status unknown (last checked 2026-09-15).

Fetches YouTube video data, metadata, or related information via a v2 API endpoint on the Coockies.ai hub

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/yt-v2
- Price: $0.166572/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-youtube-v2-api-ef552ebb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H5aL5YWdwp4UuYp-qkNDI

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-v2-api-ef552ebb -d '<json body>'
```

Example prompt: Can you get me the details for this YouTube video — title, view count, description, and channel name? Here's the video ID: dQw4w9WgXcQ.

## When to prefer this

Use this endpoint when you need to programmatically retrieve YouTube video metadata without managing YouTube Data API quotas or credentials directly, and when you are already operating within the x402 pay-per-call ecosystem on Base chain.

## Known failure modes

- Invalid or non-existent YouTube video ID returns an error or empty result
- Payment failure via x402 on Base chain results in 402 response
- Rate limiting may occur for high-frequency calls
- Malformed request body returns validation error
- Private or age-restricted videos may not return full metadata

## 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 YouTube video data such as title, description, view count, channel information, thumbnails, duration, and other metadata associated with the requested video.

## 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-v2-api-ef552ebb/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)
