# Magnum.ai YouTube v2 API

> Magnum.ai YouTube v2 API is a paid API for AI agents from magnum-ai-flame.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Fetches YouTube video, channel, or search data via a pay-per-call proxy endpoint on the Magnum.ai marketplace

## Facts

- Endpoint: POST https://magnum-ai-flame.vercel.app/api/youtube-v2
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magnum-ai-youtube-v2-api-04a478e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kc7SfSd0JWHxTcnrGkCYN

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 magnum-ai-youtube-v2-api-04a478e2 -d '<json body>'
```

Example prompt: Can you pull up the YouTube video details and stats for the video with ID dQw4w9WgXcQ — I want the title, view count, and channel name?

## When to prefer this

Use this endpoint when you need YouTube data (video stats, channel info, search results) without managing your own YouTube Data API credentials, and you are already set up to pay per call via the x402/Base chain payment protocol on Magnum.ai.

## Known failure modes

- Invalid or non-existent YouTube video/channel ID returns empty or error result
- Payment failure via x402 protocol blocks the request
- Rate limits from underlying YouTube API cause failures
- Malformed input schema returns a 400-level error
- YouTube API quota exhaustion on the provider side

## How this service works

Pay-per-call API marketplace with 150 endpoints powered by x402 payments on Base chain.

## Output

Returns YouTube video metadata, channel information, or search results depending on the query, including titles, descriptions, view counts, subscriber counts, and other YouTube API data fields.

## 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/magnum-ai-youtube-v2-api-04a478e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from magnum-ai-flame.vercel.app](https://www.zero.xyz/host/magnum-ai-flame.vercel.app/llms.txt)
