Instead of a youtube-scraper package or the YouTube Data API and its quota, a Python script can POST social.posts with platform youtube and the channel handle to the RouterGrowth API. The JSON lists the channel's videos with link, upload date, views, likes, comment count and description.
Ask your agent
Write a Python script that reads the last ten uploads of five design tool channels and charts views per video.
Connect RouterGrowth once, then ask in plain words. New workspaces start with $1 of credit. Get a key or read the setup guide.
A real run
One call to social.posts (social posts & content), run through RouterGrowth on October 19, 2026. These are the first rows it returned; fields that name a person are masked.
| url | created_at | views | likes | replies |
|---|---|---|---|---|
| https://www.youtube.com/watch?v=Sdh_I7PSuew | 2026-10-15 | 19496 | 149 | 17 |
| https://www.youtube.com/watch?v=ThXrNXxpS-o | 2026-10-17 | 9023 | 74 | 2 |
| https://www.youtube.com/watch?v=WEJ2cZBT3PA | 2026-10-17 | 7752 | 45 | 0 |
Six videos from Figma's channel, all from the week of the run, with views from about 6,000 to 34,000.
Step by step
Set ROUTERGROWTH_API_KEY in the environment and send it as a Bearer token.
Send capability social.posts, input platform youtube, handle @figma and a limit to /v1/run.
A channel read can take under a minute; this one took about 53 seconds. Poll the run id if your script should not block.
result.posts holds one dict per video with url, text, created_at and engagement.
Price
List prices on YouTube, read from the catalog when this page was built. The exact figure is quoted before every run, and a monthly plan lowers it.
In practice
You describe the job; the agent picks the calls, shows the price and runs them.
Write a Python script that reads the last ten uploads of five design tool channels and charts views per video.
From Python, get Figma's newest videos and then the comments under the one with the most views.
Connect
One MCP server for Claude, ChatGPT, Claude Code, Codex and Cursor, or the same call over the CLI and REST with the input above.
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
npm install -g routergrowth && routergrowth setup
routergrowth run -c social.posts -i '{"platform": "youtube", "handle": "@figma", "limit": 6}'curl -X POST https://api.routergrowth.com/v1/run \
-H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
-d '{"capability": "social.posts", "input": {"platform": "youtube", "handle": "@figma", "limit": 6}}'Worth knowing
There are no YouTube API units to budget; each call is billed per video returned.
The handle accepts @name or the channel URL.
Submit, keep the run id and poll /v1/runs/<id> so a long channel read does not hold the script.
FAQ
No. The call runs on RouterGrowth's providers; there is no Google key or quota.
requests or httpx for the call, and pandas if you want a DataFrame.
No. It returns the video records; transcripts are not part of social.posts.
Yes. Pass a video URL from the result to social.comments.
More on YouTube
Reading this as an agent? This page as markdown: /tools/youtube/scraper-python.md
Connect your agent once. The first calls run on the $1 that comes with signup.