Skip to main content
skill CX Codex

scraping-youtube-channel-info — Claude Code skill: features and setup

Collect YouTube channel details from URLs, handles, or keywords. Use it to export channel stats or find channels by topic.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add apidojo-io/apidojo-skills --skill scraping-youtube-channel-info -a claude-code
Open on GitHub

What scraping-youtube-channel-info does

This skill runs Apify’s apidojo~youtube-channel-scraper. Inputs can include channel URLs, handles, or search keywords, along with country and language codes, a sort order, and a result limit. Use scripts/run_actor.js to save results as CSV or JSON.

The output includes channel names, descriptions, subscriber and video counts, verification status, keywords, tags, and other fields. The subscriberCount value can arrive as text such as 1.2M subscribers, so downstream parsing may be needed. Private or terminated channels return no results; channels without metadata keywords have an empty tags array.

What it helps with

  • find YouTube channels by search keywords
  • collect subscriber and video counts for channels
  • export channel metadata to CSV or JSON
  • check whether a channel has a verification badge

Example prompts for the agent

  • Find YouTube channels about cooking and save the results to results.csv.
  • Collect subscriber counts, video totals, and descriptions for these YouTube channels.
  • Search for channels by keyword and write their metadata to results.json.

How to install scraping-youtube-channel-info

1Skills CLI (Vercel)

npx skills add apidojo-io/apidojo-skills --skill scraping-youtube-channel-info -a claude-code

2Manually: put the files in place

~/.claude/skills/scraping-youtube-channel-info/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/scraping-youtube-channel-info/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about scraping-youtube-channel-info

How do I install scraping-youtube-channel-info in Claude Code?

Run npx skills add apidojo-io/apidojo-skills --skill scraping-youtube-channel-info -a claude-code. The skill file is available at ~/.claude/skills/scraping-youtube-channel-info/SKILL.md.

What does scraping-youtube-channel-info do?

It runs an Apify scraper to collect YouTube channel details, including descriptions, subscriber and video counts, verification status, and tags.

What should I do if a channel returns no results?

Check the handle or try the channel URL instead. Private or terminated channels produce no results.

Source text

SKILL.md · Apache-2.0
---
name: scraping-youtube-channel-info
description: >
  Extracts YouTube channel metadata, subscriber counts, video counts, and descriptions using
  apidojo's YouTube Channel Scraper on Apify. Triggers when the user asks to: get YouTube channel
  information, scrape YouTube channel stats, fetch subscriber count for a YouTube channel, export
  channel metadata in bulk, find YouTube channels by keyword, get channel descriptions and tags,
  check if a YouTube channel is verified, or research YouTube channels by niche. Returns channel
  name, subscriber count, video count, description, verification status, and keywords per channel.
  Ideal for influencer researchers, competitive analysts, and YouTube marketers.
license: Apache-2.0
metadata:
  author: apidojo
  version: "1.0"
  apify-actor: apidojo/youtube-channel-scraper
---

# Scraping Youtube Channel Info

Raw data collection. No assumed use case — returns the full dataset for downstream analysis.

---

## Inputs

| Parameter | Type | Required | Default | Notes |
|-----------|------|----------|---------|-------|
| `startUrls` | array | Optional | `[]` | YouTube channel URLs |
| `youtubeHandles` | array | Optional | `[]` | YouTube handles (e.g. `@kurzgesagt`) |
| `keywords` | array | Optional | `[]` | Search keywords to find channels |
| `gl` | string | Optional | `us` | Country code (e.g. `US`) |
| `hl` | string | Optional | `en` | Language code (e.g. `en`) |
| `sort` | string | Optional | `r` | Sort order |
| `maxItems` | number | Optional | Unlimited | Maximum channels to return |
| `customMapFunction` | string | Optional | — | JavaScript function to transform each output object |

## How to Run

### Using run_actor.js (recommended)

```bash
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~youtube-channel-scraper" --input '{"keywords": ["cooking channel"], "gl": "us", "maxItems": 20}'

# Save as CSV
node scripts/run_actor.js --actor "apidojo~youtube-channel-scraper" --input '{"keywords": ["cooking channel"], "gl": "us", "maxItems": 20}' --output results.csv --format csv

# Save as JSON
node scripts/run_actor.js --actor "apidojo~youtube-channel-scraper" --input '{"keywords": ["cooking channel"], "gl": "us", "maxItems": 20}' --output results.json --format json
```

### REST API fallback

```bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~youtube-channel-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["cooking channel"], "gl": "us", "maxItems": 20}'
```

If Apify MCP is available:
Use the Apify MCP `call_actor` tool with actor `apidojo~youtube-channel-scraper` and the input above.

---

## Output Fields

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | YouTube channel ID |
| `name` | string | Channel name |
| `url` | string | Channel URL |
| `description` | string | Channel description |
| `subscriberCount` | number | Subscriber count |
| `videosCount` | number | Total videos published |
| `thumbnails` | array | Channel thumbnails |
| `isVerified` | boolean | Verification badge |
| `isFamilySafe` | boolean | Family-safe flag |
| `keywords` | array | Channel keywords |
| `availableCountries` | array | Countries where available |
| `tags` | array | Channel tags |

## Edge Cases

- **Channel not found**: Check if handle is correct or try with URL instead.
- **subscriberCount as text**: Field returns '1.2M subscribers' not a number — parse downstream if needed.
- **No keywords in metadata**: Some channels don't set keywords — tags array will be empty.
- **Private/terminated channel**: Returns no results for that channel.

© apidojo · Apache-2.0 · apidojo-io/apidojo-skills

Similar skills

All skills for Browser and scraping →

From the same set57

finding-tiktok-creators-by-location Finds TikTok creators and their videos by geographic location through apidojo's scraper on Apify. Useful for local campaigns and regional research. CX Codex +1 766installs scraping-tiktok-posts-by-location Collects TikTok posts tied to a place through Apify. Use it to export post metrics, creator details, hashtags, and upload times from a location page. CX Codex +1 765installs finding-speaking-opportunities-on-twitter A skill that searches Twitter for conferences, podcasts, and summits actively recruiting speakers. CX Codex +1 763installs tracking-google-serp-rankings A skill that pulls Google results for a keyword list: positions, URLs, titles, snippets and SERP features. Useful for SEO audits and competitor checks. CX Codex +1 763installs tracking-hiring-signals-from-company-tweets Pulls hiring signals out of company tweets through apidojo's Apify scraper: who is recruiting, for which team, and how recently. CX Codex +1 760installs scraping-youtube-playlist Collects video details from a YouTube playlist through an Apify scraper. Use it to export playlist metadata and stats for analysis. CX Codex +1 759installs scraping-google-search-results Pulls Google search results for any query: URLs, titles, snippets, positions and SERP feature types. Handy when you need raw SERP data for SEO or competitor work. CX Codex +1 759installs benchmarking-instagram-influencer-engagement Pulls recent Instagram posts and turns them into engagement benchmarks: followers, average likes and comments, ER, posting frequency. CX Codex +1 757installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor