Social platforms

YouTube trending

from $0.0750 per eventyoutube.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.

FieldTypeRequiredWhat it does
glstringoptionalCountry 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.
maxItemsintegeroptionalHow 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.md

Or plain HTTP

POST /v1/run

{
  "endpoint": "youtube.trending",
  "input": {
    "gl": "<gl>"
  }
}

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