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.
npx skills add apidojo-io/apidojo-skills --skill scraping-youtube-channel-info -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/scraping-youtube-channel-info/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/scraping-youtube-channel-info/
1Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill scraping-youtube-channel-info -a codex2Manually: put the files in place
.agents/skills/scraping-youtube-channel-info/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill scraping-youtube-channel-info -a cursor2Manually: put the files in place
.cursor/skills/scraping-youtube-channel-info/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install apidojo-io/apidojo-skills scraping-youtube-channel-info2Manually: put the files in place
.github/skills/scraping-youtube-channel-info/SKILL.md1Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill scraping-youtube-channel-info -a gemini-cli2Platform CLI
gemini skills install https://github.com/apidojo-io/apidojo-skills --path skills/primitives/scraping-youtube-channel-infoManually: put the files in place
.devin/skills/scraping-youtube-channel-info/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add apidojo-io/apidojo-skills --skill scraping-youtube-channel-info -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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