# YouTube data for AI agents

Explore YouTube API capabilities, per-call prices, pagination and documented limits.

Canonical: https://socialtoai.com/platforms/youtube/

## Choose your next call

Each supported action below uses the same core envelope. Price and parameter support come from the current reference card.

| Platform | Verb | Credits | Availability |
|---|---|---|---|
| YouTube | [search](https://socialtoai.com/youtube-search-api/) | 0.3 | Available |
| YouTube | [trending](https://socialtoai.com/youtube-trending-api/) | 0.2 | Available |
| YouTube | [detail](https://socialtoai.com/youtube-detail-api/) | 0.2 | Available |
| YouTube | [comments](https://socialtoai.com/youtube-comments-api/) | 0.2 | Available |
| YouTube | [user_profile](https://socialtoai.com/youtube-user-profile-api/) | 0.2 | Available |
| YouTube | [user_posts](https://socialtoai.com/youtube-user-posts-api/) | 0.2 | Available |

## Know the boundaries

Content search returns videos; user search returns channels. Playlists and movies are excluded. User discovery supports relevance/all; unsupported content filters produce warnings.

Use an 11-character video ID or standard watch/shorts/youtu.be URL for items. Profiles and creator posts require a UC channel ID or /channel/ URL, not an @handle.

Replies require both reply_of and the cursor returned with that comment branch.

Trending currently supports Gaming only. Other categories are not claimed as available.

Count trims projected results. Encrypted cursors preserve remaining items and omit adjacent duplicates with warnings.
