SkillMachine
All skills

YouTube Data Fetcher

Data & Research web

Fetches video, channel, comment, and trending data via the YouTube Data API v3; returns it as normalized JSON rows.

Live output preview

A plan is required to view this content

Choose a plan to access input format, sample outputs, and live previews.

View Plans →

About the skill

YouTube Data Fetcher

A data collector that fetches video, channel, comment, and trending data through the YouTube Data API v3 via a single standard interface. It reads the API key credential from the environment file and frees every calling agent from managing its own curl or API key.

What does it do?

It works in six different modes: video search by keyword (search), single/multiple video statistics (views, likes, comments, duration, tags), channel profile (subscribers, total views, video count), playlist contents, video comments, and country-specific trending list. The output is returned as JSON rows with normalized, consistent keys.

When is it used?

  • When you want to scan Turkey's trending videos daily
  • To track competitor channels' new videos in the last 24 hours
  • To gather metadata + comments in a deep analysis of a video
  • When you want to pull view/engagement data as raw rows for content strategy

Output

Each row is a JSON array containing the fields video_id, title, channel_title, published_at, views, likes, comments, duration, category, tags, and engagement_rate. It is ready to feed directly into tables, dashboards, or another analysis agent.

It tracks the daily quota of 10,000 units; a search call costs 100 units, other calls cost 1 unit. It warns when approaching the quota limit.

How do I use this skill?

You don't "run" a skill — after installing it you just tell the agent your task (e.g. ask for the relevant job), and the skill kicks in by itself when its description matches.

Upload the youtube-data-fetcher.zip you downloaded as-is — no packaging needed, the format is already correct (folder at root).

  1. Open Settings → Customize → Skills
  2. Upload → select the youtube-data-fetcher.zip you downloaded
  3. Claude reads SKILL.md; the name + description appear. Ready ✅

Scripts run in Anthropic's code-execution environment (sandbox) — not on your machine.