# YouTube Music Profile Scraper 🎵 (`easyapi/youtube-music-profile-scraper`) Actor

Extract YouTube Music channel profiles and details from search results. Get channel names, IDs, handles, thumbnails, and more for music-related profiles matching your keywords.

- **URL**: https://apify.com/easyapi/youtube-music-profile-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Social media, Integrations, Other
- **Features:** Limited permissions
- **Stats:** 12 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## YouTube Music Profile Scraper 🎵

Extract detailed information about YouTube Music channel profiles based on your search keywords. This actor helps you discover and collect data about music-related channels, artists, and profiles on YouTube Music.

### 🎯 Use Cases

- Music industry research and analysis
- Artist discovery and profiling
- Competitive analysis for music channels
- Building music channel databases
- Marketing research for music industry

### ✨ Features

- 🔍 Search-based profile extraction
- 📊 Detailed channel information
- 🖼️ Multiple thumbnail resolutions
- ⚡ Fast and efficient scraping
- 🔄 Automatic pagination handling
- 🎨 Clean, structured output

### 🔢 Output Dataset

Each record in the output dataset includes:

- Channel name
- Channel ID
- Channel handle (@username)
- Channel URL
- Profile type
- Thumbnail images in multiple sizes
- Scraping timestamp
- Search keyword used

### 💡 Input Parameters

- `keywords`: Array of search terms to find music profiles
- `maxItems`: Maximum number of profiles to scrape (default: 50)

### 📝 Note

This actor is designed for research and analysis purposes. Please ensure you comply with YouTube Music's terms of service when using this actor.

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "keywords": [
        "love"
    ],
    "maxItems": 70
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "keyword": "love",
        "data": {
            "channelName": "Oasis Of Love Community Church",
            "channelId": "UCblGrN2PL5JvN05EGSjbULw",
            "channelHandle": "@LoveOasis",
            "thumbnails": [
                {
                    "url": "https://yt3.googleusercontent.com/ytc/AIdro_lGToocwOmLeza7sHIWsacmQb7xQGVj6Zf0OHaS--FDl3Y=w60-c-h60-k-c0x00ffffff-no-l90-rj",
                    "width": 60,
                    "height": 60
                },
                {
                    "url": "https://yt3.googleusercontent.com/ytc/AIdro_lGToocwOmLeza7sHIWsacmQb7xQGVj6Zf0OHaS--FDl3Y=w120-c-h120-k-c0x00ffffff-no-l90-rj",
                    "width": 120,
                    "height": 120
                }
            ],
            "type": "Profile",
            "channelUrl": "https://music.youtube.com/channel/UCblGrN2PL5JvN05EGSjbULw"
        },
        "scrapedAt": "2025-02-10T00:56:17.248Z"
    },
    ...
]
```

### Related Actors

- 🎵 [YouTube Music Albums Scraper](https://apify.com/easyapi/youtube-music-albums-scraper) - Extract comprehensive album data including titles, artists, and release years from YouTube Music.
- 🎵 [YouTube Music Song Scraper](https://apify.com/easyapi/youtube-music-song-scraper) - Scrape detailed song information from YouTube Music search results.
- 🎵 [YouTube Music Video Scraper](https://apify.com/easyapi/youtube-music-video-scraper) - Extract video data from YouTube Music including titles, views, and channel details.
- 🎵 [YouTube Music Playlist Scraper](https://apify.com/easyapi/youtube-music-playlist-scraper) - Collect playlist information including titles, creators, and song counts.
- 🎵 [YouTube Music Artist Scraper](https://apify.com/easyapi/youtube-music-artist-scraper) - Extract artist profiles with subscriber counts and channel information.
- 🎧 [YouTube Music Podcast Scraper](https://apify.com/easyapi/youtube-music-podcast-scraper) - Scrape podcast playlists data with detailed creator information.
- 🎵 [All-in-One YouTube Music Scraper](https://apify.com/easyapi/all-in-one-youtube-music-scraper) - Comprehensive scraper for all YouTube Music content types.
- 📊 [YouTube Video Statistics Scraper](https://apify.com/easyapi/youtube-video-statistics-scraper) - Extract detailed video metrics and engagement data.
- 📊 [YouTube Channel Statistics Scraper](https://apify.com/easyapi/youtube-channel-statistics-scraper) - Collect channel performance metrics and subscriber data.
- 🎥 [YouTube Channel ID Extractor](https://apify.com/easyapi/youtube-channel-id-extractor) - Convert YouTube channel URLs to channel IDs automatically.
- 📝 [YouTube Description Extractor](https://apify.com/easyapi/youtube-description-extractor) - Extract complete video descriptions for content analysis.
- 🎯 [YouTube Hashtag Generator](https://apify.com/easyapi/youtube-hashtag-generator) - Generate relevant hashtags for YouTube content optimization.
- 🎯 [YouTube Tags Extractor](https://apify.com/easyapi/youtube-tags-extractor) - Extract and analyze tags from YouTube videos.
- 🎯 [YouTube Hashtag Extractor](https://apify.com/easyapi/youtube-hashtag-extractor) - Extract hashtags from YouTube videos automatically.
- 🎥 [YouTube Live Stream Scraper](https://apify.com/easyapi/youtube-live-stream-scraper) - Scrape live streams and upcoming events data.
- 📺 [YouTube Trending Videos/Shorts Scraper](https://apify.com/easyapi/youtube-trending-videos-shorts-scraper) - Extract trending content from YouTube.
- 💬 [YouTube Comments Scraper](https://apify.com/easyapi/youtube-comments-scraper) - Extract comprehensive comment data from YouTube videos.

# Actor input Schema

## `keywords` (type: `array`):

List of keywords to search for music profiles

## `maxItems` (type: `integer`):

Maximum number of profiles to scrape per keyword

## Actor input object example

```json
{
  "keywords": [
    "love"
  ],
  "maxItems": 50
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/youtube-music-profile-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/youtube-music-profile-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call easyapi/youtube-music-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/youtube-music-profile-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/WmQblVb9c1Nj9bhE1/builds/jJXJpxOoIgvw9Ef8r/openapi.json
