YouTube trending
The videos on YouTube's trending shelf for one country right now, in rank order, each with view, like and comment counts, duration, category, publish date and the channel behind it.
What a call costs
Billed on actual usage, minimum $0.0020 per call, capped at $0.25 per call.
a price before every call. failed calls are never charged.
When to use it
Use when the question is what YouTube is pushing RIGHT NOW rather than what matches a search term: spotting a format or topic while it is surfacing, checking whether a niche is having a moment in one market, or sampling what the algorithm currently rewards. This is the trending shelf itself, which is not the same set as a search: it is where a format shows up before anyone searches for it by name. Use youtube.videos for search terms and channel catalogues, trends.search for Google search demand (it cannot be scoped to YouTube), and tiktok.api for the equivalent on TikTok. One country per call, since gl takes a single code, so a five-market sweep is five calls. Price is FLAT per call: 100 videos cost exactly what 5 cost, so always ask for more. Be careful piping this straight into a context window, rows carry full streaming and caption metadata and run roughly 38 KB each.
Inputs
YouTube trending takes 2 fields, none of them required. Anything you leave out falls back to the tool's own default.
| Field | Type | Required | What it does |
|---|---|---|---|
| gl | string | optional | Country whose trending shelf to read, as a lowercase two-letter code, e.g. us, gb, de, ro. One country per call. The actor uses us when you leave it out. |
| maxItems | integer | optional | How many trending videos to return. This does NOT change the price: the call bills one flat query event whatever the count, verified at 5 and at 100 videos for the identical $0.025. Ask for as many as you can use. Every row is large, so the practical ceiling is what you can afford to read, not what you can afford to buy. |
How to call it
Connect once and your agent can reach YouTube trending the same way it reaches everything else in the catalog. Add Goro as an MCP connector, or paste the setup line into an agent that reads skills.
MCP
Add this server in Claude, Claude Code, or any MCP client.
https://mcp.usegoro.ai/mcp
Skill
One line in your agent's chat. It sets itself up.
set up https://usegoro.ai/SKILL.mdOr plain HTTP
POST /v1/run
{
"endpoint": "youtube.trending",
"input": {
"gl": "<gl>"
}
}Related tools
More from social platforms, or browse the full tool catalog.
YouTube channel search
YouTube channels matching a topic keyword, ranked by YouTube's own channel search, each with subscriber count, lifetime views, video count, creation...
from $0.0030 per eventYouTube comments
Comments on one or more YouTube videos, with author, comment text, vote count, reply count, whether the channel owner wrote it, and how long ago it...
from $0.0045 per resultYouTube similar channels
Channels similar to one or more seed channels, ranked by what they actually publish rather than by keyword, each with a 0 to 1 similarity score,...
from $0.36 per resultYouTube transcript
Full transcript of a YouTube video as timestamped lines and optionally as one plain text block, alongside the video's title, channel, duration, view...
from $0.0150 per resultFurther reading: Social listening with AI agents: track mentions, trends and competitors
Run YouTube trending from your agent.
One balance for every tool in the catalog. Start with Build, $25 of credit for $19 a month.
Get started