# YouTube: what your agent can read

YouTube with Trawl: Channels and their newest long videos (not Shorts), single videos with comments, search, and transcripts of what is said in a video. Accepted URLs, a real answer and the price of each job.

Trawl reads channels and their newest long videos (not Shorts), single videos with comments, search, and transcripts of what is said in a video.

## Tools that work here

- `list_posts`: channels: long videos, not Shorts.
- `read_post`: videos, comments.
- `read_profile`: channels.
- `search_posts`: keywords.
- `read_transcript`: transcripts.

## Accepted URLs and short forms

Pass a full URL or the short form. Each input maps to one kind of object and one canonical URL, which is what the answer prints.

| Accepted form | Kind | Tools | Example | Canonical URL in the answer |
|---|---|---|---|---|
| youtube.com/watch?v=<id>, m.youtube.com/watch?v=<id>, music.youtube.com/watch?v=<id>, youtube.com/watch?v=<id>&list=<playlist>, youtu.be/<id> → the video, also when a playlist is named | video | `read_post`, `read_transcript` | `https://www.youtube.com/watch?v=jNQXAC9IVRw` | same |
| youtube.com/shorts/<id>, youtube.com/live/<id>, youtube.com/embed/<id> | video | `read_post`, `read_transcript` | `https://www.youtube.com/shorts/WN-JK-hMAyg` | `https://www.youtube.com/watch?v=WN-JK-hMAyg` |
| youtube.com/@<handle>, youtube.com/@<handle>/videos, youtube.com/@<handle>/shorts, youtube.com/@<handle>/about → the channel; list_posts answers with its long videos, also for the /shorts page, and read_profile answers not_found for a channel without long videos | channel | `read_profile`, `list_posts` | `https://www.youtube.com/@GoogleDevelopers` | `https://www.youtube.com/@googledevelopers` |
| youtube.com/channel/UC<22 chars>, youtube.com/c/<name>, youtube.com/user/<name> | channel | `read_profile`, `list_posts` | `https://www.youtube.com/channel/UC_x5XG1OV2P6uZZ5FSM9Ttw` | same |
| youtube.com/playlist?list=… → unsupported_url | playlist | not in this version (`unsupported_url`) | `https://www.youtube.com/playlist?list=PLOU2XLYxmsIIwGK7v7jg3gQvIAWJzdat_` | – |
| shorthand youtube:@<handle>, youtube:UC<id> | channel | `read_profile`, `list_posts` | `youtube:@GoogleDevelopers` | `https://www.youtube.com/@googledevelopers` |

## A real answer

Google for Developers on YouTube, read on 3 December 2026. This is the MCP form: one header line and minified JSON, indented here to read. Over REST the same `data` comes inside `{"meta": {…}, "data": {…}}` ([both forms](/docs/tools#output)).

Call

```
list_posts {"url":"youtube:@GoogleDevelopers","limit":2}
```

Answer

```json
2 posts · youtube · 11 credits · 9,989 left · fresh · long videos only (no Shorts)
{
  "author": {
    "name": "Google for Developers",
    "handle": "@googledevelopers"
  },
  "items": [
    {
      "url": "https://www.youtube.com/watch?v=WN5O4vWCa54",
      "kind": "video",
      "title": "5 developer tips for working with Gemini 4",
      "text": "Google DeepMind's Patrick Löber and Geneviève Huskens share five practical tips for handing off long, complex engineering tasks to Gemini 4.…[+266 chars]",
      "created_at": "2026-11-25T20:00Z",
      "stats": {
        "likes": 576,
        "comments": 42,
        "views": 40178
      }
    },
    {
      "url": "https://www.youtube.com/watch?v=fpQcDQJQLhg",
      "kind": "video",
      "title": "Google Antigravity in action: Building an offline wildlife field guide",
      "text": "Creative technologist and hardware builder Arden Schager demonstrates how he built GemmaDex - a pocket-sized, 100% offline wildlife and plan…[+262 chars]",
      "created_at": "2026-11-23T20:00Z",
      "stats": {
        "likes": 1805,
        "comments": 92,
        "views": 140252
      }
    }
  ]
}
```

Transcript call

```
read_transcript {"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw"}
```

Answer

```json
1 transcript · youtube · 14 credits · 9,986 left · fresh
{
  "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "lang": "en",
  "duration_s": 19,
  "text": "All right, so here we are, in front of the elephants the cool thing about these guys is that they have really... really really long trunks and that’s cool (baaaaaaaaaaahhh!!) and that’s pretty much all there is to say",
  "truncated": false,
  "total_chars": 217
}
```

## Prices

Credits. A fresh, successful read costs base + per item × min(items read, items asked for). Items are posts, videos, profiles, comments, transcripts or job ads. A search with a date filter also pays for the older items we read and leave out; a read that finds nothing to read pays only the base. Answers from the cache cost 1 credit, errors cost nothing, and the account tool is free. `read_post` with comments costs the post job plus the comments job. One Reddit thread with 20 comments: 23 + 80 = 103 credits.

| Tool | Job | Unit | Base | Per item | Example |
|---|---|---|---:|---:|---|
| `read_profile` | profile: channels | profile | 1 | 5 | 51 for 10 |
| `list_posts` | posts: channels | video | 1 | 5 | 51 for 10 |
| `read_post` | post | video | 0 | 18 | 180 for 10 |
| `read_post` | comments | comment | 27 | 3 | 57 for 10 |
| `search_posts` | search | video | 0 | 18 | 180 for 10 |
| `read_transcript` | transcript | transcript | 1 | 13 | 14 for 1 |

## Limits

- Default text length per item: 280 characters in lists (140 when the item has a title), 3,000 in `read_post`, 200 per comment. Longer text ends with `…[+N chars]`. `text_chars` takes 0 to 5,000; `0` leaves the text out and keeps titles.
- Channel lists and channel profiles cover long videos, not Shorts or live streams, and their header line ends with “long videos only (no Shorts)”. A channel without long videos answers `not_found` on `read_profile` and an empty list on `list_posts`.
- Transcripts are cut at 12,000 characters by default; pass `next_offset` as `offset` to continue.
- Playlists answer `unsupported_url`.
- Comments are YouTube’s top comments (the comment reader is asked for `top`); their `created_at` is often missing, because YouTube gives those dates only as “6 years ago”. There is no sort option.
- Only public data. No private or logged-in content, no e-mail addresses or phone numbers.

> Trawl is not affiliated with or endorsed by YouTube. The name describes which public pages it reads.

---
Updated 2026-12-03. HTML version: https://trawlmcp.com/docs/youtube
