# Sna4an x402 YouTube Data API (yt-138)

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

Fetches YouTube social media data via a RapidAPI sub-endpoint proxy, accepting a path and query parameters

## Facts

- Endpoint: POST https://sna4an-social.vercel.app/api/yt-138
- Price: $0.19/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sna4an-x402-youtube-data-api-yt-138-a169e846
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_00juses4XgXE8b6_LA3wK

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-x402-youtube-data-api-yt-138-a169e846 -d '<json body>'
```

Example prompt: Can you pull the metadata and stats for this YouTube video — views, likes, description, and channel info — using the yt-138 endpoint with the video ID 'dQw4w9WgXcQ'?

## When to prefer this

Choose this endpoint when you need to retrieve YouTube-specific social media data and want a pay-per-call model via x402 micropayments without managing a separate RapidAPI subscription. Useful for agents needing ad-hoc YouTube data lookups.

## Known failure modes

- Invalid or unsupported RapidAPI sub-endpoint path returns an error or empty response
- Missing required query parameters for the chosen sub-endpoint causes failure
- RapidAPI upstream service unavailable leads to timeout or 5xx error
- Payment not processed correctly via x402 results in 402 rejection
- Rate limits exceeded on underlying RapidAPI plan causes throttling

## How this service works

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

## Output

Returns a JSON object containing YouTube data corresponding to the specified RapidAPI sub-endpoint path and query parameters, such as video metadata, channel statistics, search results, or playlist information.

## 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-x402-youtube-data-api-yt-138-a169e846/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)
