# Magnum.ai YouTube API Endpoint

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

Fetches YouTube data via a pay-per-call API endpoint using x402 micropayments on Base chain

## Facts

- Endpoint: POST https://magnum-ai-flame.vercel.app/api/yt-api
- 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/magnum-ai-youtube-api-endpoint-dded30f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jIMKiSqisaKLG5omRZCDh

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-api-endpoint-dded30f7 -d '<json body>'
```

Example prompt: Can you pull YouTube data for the video or channel I'm looking for — search for 'machine learning tutorials 2024' and give me the top results including titles, view counts, and channel names?

## When to prefer this

Use this endpoint when you need YouTube data access via a pay-per-call micropayment model without setting up your own YouTube API key or quota. Ideal for agents that need occasional YouTube lookups billed per-use in USDC on Base chain.

## Known failure modes

- Payment failure: x402 payment not processed, returns 402 Payment Required
- Invalid request body: malformed or missing parameters returns error
- YouTube API quota exceeded upstream: returns error from underlying provider
- Endpoint unavailable: Vercel deployment may be cold-started or down, causing timeout
- Empty result: query returns no matching YouTube content

## How this service works

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

## Output

Returns a result object containing YouTube API response data such as video metadata, channel info, search results, or statistics depending on the query parameters sent in the request body.

## 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-api-endpoint-dded30f7/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)
