# A YouTube data API with one key and clean JSON.

> A YouTube data API with one key: search, channels, videos, transcripts, comments and bulk lookups as clean JSON. Pay per answer, errors never charged.

Search, channels, videos, transcripts, comments and bulk lookups. You send JSON, you get JSON, and you pay only for answers that arrive.

[Get started](https://wagamiai.com/signup)

Sign up is open, no card needed. Got an invite code? [Set up your account](https://wagamiai.com/setup)

### Clean JSON, stable fields

Video IDs, watch links, shorts and youtu.be links all work. Errors come in plain words, and every answer says what is left on your key.

### Everything from one key

Search, channels and uploads, video details, transcripts, comments, bulk lookups and reports. One key, one bill.

### Pay only for answers

A lookup is 3 credits, $1.50 per 1,000 at the base rate. Errors and refusals are never charged.

One call

## You send JSON. You get JSON.

No SDK to learn. If you can make an HTTPS request, you can use it.

- Video IDs, watch links, shorts and youtu.be links all work
- Stable field names, plain word errors
- Every answer says what is left on your key

POST /v1/video

```
curl -X POST "https://wagamiai.com/v1/video" \
  -H "Authorization: Bearer $WAGAMI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ref": "dQw4w9WgXcQ"}'
```

answer

```
{ "ok": true,
  "video": {
    "id": "dQw4w9WgXcQ",
    "title": "…",
    "channel": "…",
    "views": …, "likes": …,
    "duration": …,
    "chapters": [ … ], "tags": [ … ],
    "resolutions": [144, …, 1080]
  } }
```

Questions

## Good to know

### What does a lookup cost?

A lookup is 3 credits, which is $1.50 per 1,000 at the base rate. 2,000 credits = $1, bigger deposits come with bonus credits, and errors are never charged. See [pricing](https://wagamiai.com/pricing).

### Which calls are there?

Search for videos, channels, playlists, shorts and live. Channels and their uploads, video details, transcripts and captions, comments, related videos, suggestions, bulk lookups and channel reports. Every endpoint is in the [docs](https://wagamiai.com/docs).

### Can I look up many videos at once?

Yes. Up to 25 videos in one batch call, as many such calls as your balance covers.

### Can an AI agent use it?

Yes. An agent sets itself up from one link, or connects over [MCP](https://wagamiai.com/mcp) from Claude Code, Cursor, VS Code, Windsurf or Claude Desktop.

## One key. Pay per answer.

2,000 credits = $1, from $25. Credits never expire and errors are never charged.

[Get started](https://wagamiai.com/signup) [See pricing](https://wagamiai.com/pricing)

---
This is the Markdown copy of https://wagamiai.com/youtube-data-api (WagamiAI). Every page has one: add `.md` to its address. All pages: https://wagamiai.com/llms.txt
