# Yandex Music Scraper (`sashaebashu/yandex-music-scraper`) Actor

Scrape Yandex Music (Яндекс Музыка): top-100 charts for Russia and 10 more countries with daily listeners, artist profiles with monthly listeners and socials, albums, playlists, podcasts, tracks and search.

- **URL**: https://apify.com/sashaebashu/yandex-music-scraper.md
- **Developed by:** [Sasha Ebashu](https://apify.com/sashaebashu) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Yandex Music Scraper — Charts, Artists & Monthly Listeners

Yandex Music (Яндекс Музыка) is the biggest music streaming service in Russia and much of the CIS.
Spotify is not available there, so the numbers that matter for the Russian-speaking market live here.
This Actor reads them: the **top-100 charts for Russia and 10 more countries with daily listeners**,
**artist profiles with monthly listeners**, likes, chart ranks and social links, albums, playlists,
podcasts, tracks and search.

No account and no API key. The Actor uses the public Yandex Music API and returns clean JSON.

### Four modes

| Mode | What you get |
|---|---|
| **Charts** | Top 100 tracks per country: position, position change, daily listeners, track, artists, album, genre |
| **Artists** | One row per artist: monthly listeners and their monthly change, likes, day/week/month rank, tracks in the chart, socials, latest release, popular tracks, similar artists. Optionally the full discography and every track |
| **Search** | Artists, tracks, albums, playlists or podcasts by keyword. Found artists can be enriched with monthly listeners |
| **Links** | Any Yandex Music link: albums and playlists with all their tracks, podcasts with their episodes, tracks, artists |

Charts are available for **Russia, Global, Belarus, Kazakhstan, Uzbekistan, Armenia, Georgia,
Azerbaijan, Kyrgyzstan, Tajikistan and Turkmenistan**.

### What you get per artist

| | |
|---|---|
| **Audience** | Monthly listeners, change over the last month, likes |
| **Ranking** | Rank by day, week and month; number of tracks in the chart and the best chart position |
| **Contacts** | Official website and social links — VK, Telegram, YouTube and any others the artist lists, as separate columns plus the full links list |
| **Catalogue** | Number of tracks and albums, latest release with its date, popular tracks, similar artists |
| **Profile** | Genres, countries, years active, description and Wikipedia link, cover image |

Example:

```json
{
    "type": "artist",
    "artistId": "41126",
    "name": "Каста",
    "monthlyListeners": 3852719,
    "monthlyListenersChange": 202313,
    "likesCount": 2385749,
    "rankDay": 285,
    "genres": ["rusrap"],
    "latestReleaseTitle": "Мама, проснись",
    "latestReleaseDate": "2026-09-22",
    "website": "http://kasta.ru/",
    "vk": "https://vk.ru/kastanews",
    "telegram": "https://t.me/kastatlg",
    "url": "https://music.yandex.ru/artist/41126"
}
```

### What you get per chart entry

```json
{
    "type": "chart",
    "chartCountry": "russia",
    "position": 1,
    "positionChange": "same",
    "shift": 0,
    "dailyListeners": 337114,
    "title": "ДИНАСТИЯ",
    "artists": "VILLIAN, madk1d",
    "albumTitle": "Красивое Зло",
    "year": 2026,
    "genre": "rusrap",
    "explicit": true,
    "url": "https://music.yandex.ru/album/43177815/track/153919218"
}
```

Tracks carry title, version, artists, album, year, release date, genre, duration, explicit flag,
lyrics availability and cover. Podcast episodes add the publish date and the episode description.
Albums and podcasts carry type, track count, likes and label; playlists carry owner, track count,
likes, duration and dates.

### Use cases

- **Track artists' audience** in Russia and the CIS: schedule a daily run on a list of artists and
  chart monthly listeners over time.
- **Find artists to book or sign**: search a genre, sort by monthly listeners or by growth, and get
  their socials in the same row.
- **Follow the charts** in 11 countries every day.
- **Analyse playlists and podcasts**: full track lists with positions and dates added.

### Input

| Field | What it does |
|---|---|
| **What to scrape** | Charts, Artists, Search or Links. |
| **Chart countries** | Charts mode. One or more countries. |
| **Artists** | Artists mode. A `music.yandex.ru/artist/<id>` link, a bare id, or a name (the best match is used). |
| **Include discography / Include all tracks** | Artists and Links modes. Adds every album or every track of each artist. |
| **Search queries / Search for** | Search mode. |
| **Add monthly listeners to found artists** | Search mode. One extra request per found artist. |
| **Yandex Music links** | Links mode. Album, track, playlist or artist links from any Yandex Music domain. |
| **Maximum items** | Caps total rows across all types. |

### Notes & limits

- **Yandex Music only answers Russian IP addresses.** From other countries and from datacenter IPs
  the API returns HTTP 451. The default proxy is Apify's Russian residential proxy, which is why it
  is selected for you; if you change it, use another Russian proxy.
- **Monthly listeners and their change** are Yandex Music's own last-month figures for the artist,
  one number worldwide — they are not split by country.
- **Small artists with no listener statistics** on Yandex Music get `null` monthly listeners rather
  than a made-up zero.
- **The smaller country charts are numbered by Yandex Music with gaps**: a position can be skipped,
  so the last of the 100 entries can be numbered above 100 (103 seen). Positions are passed through
  as Yandex Music gives them.
  Children's podcast episodes also appear in some charts; they have no artist.
- **Search goes about 900 results deep per query**, which is where Yandex Music's own search stops.
  Results come in Yandex Music's relevance order.
- Artists, albums, tracks and playlists that don't exist are reported in the log and skipped; the
  rest of the run continues.
- Every row has a `type` field (`chart`, `artist`, `track`, `episode`, `album`, `podcast`,
  `playlist`), and the dataset has a separate view for each.
- The Actor honours your **Maximum cost per run** and stops when the cap is reached.

### Парсер Яндекс Музыки

Чарты Яндекс Музыки по 11 странам со слушателями за день, артисты со слушателями за месяц и
приростом, лайками, местом в рейтинге и ссылками на соцсети, альбомы, плейлисты, подкасты, треки и
поиск. Работает через российский резидентный прокси Apify, без аккаунта и ключей.

# Actor input Schema

## `mode` (type: `string`):

Charts pulls the top 100 by country; Artists returns monthly listeners and profile data; Search finds artists, tracks, albums, playlists or podcasts by keyword; Links takes any Yandex Music links.

## `chartCountries` (type: `array`):

For Charts mode. Each chart is 100 tracks with daily listeners and position change.

## `artists` (type: `array`):

For Artists mode. A music.yandex.ru/artist/<id> link, a bare artist id, or an artist name (the best match is used), one per line.

## `includeArtistAlbums` (type: `boolean`):

Also write every album and single of each artist (Artists and Links modes).

## `includeArtistTracks` (type: `boolean`):

Also write every track of each artist (Artists and Links modes).

## `searchQueries` (type: `array`):

For Search mode. One keyword or phrase per line.

## `searchType` (type: `string`):

For Search mode.

## `enrichArtists` (type: `boolean`):

Search mode, artists only. Loads each found artist's full profile (monthly listeners, socials, chart ranks). One extra request per artist.

## `maxResultsPerQuery` (type: `integer`):

For Search mode. Yandex Music's search goes about 900 results deep per query, so higher values are not offered.

## `urls` (type: `array`):

For Links mode. Album, track, playlist or artist links, one per line. Albums and playlists come with all their tracks; podcasts with their episodes.

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

Caps the total rows written, across all types.

## `proxyConfiguration` (type: `object`):

Yandex Music only answers Russian IP addresses, so a RU residential proxy is the default. You can plug in your own Russian proxies instead.

## Actor input object example

```json
{
  "mode": "chart",
  "chartCountries": [
    "russia"
  ],
  "artists": [
    "https://music.yandex.ru/artist/41126",
    "Zivert"
  ],
  "includeArtistAlbums": false,
  "includeArtistTracks": false,
  "searchQueries": [
    "рэп"
  ],
  "searchType": "artist",
  "enrichArtists": true,
  "maxResultsPerQuery": 50,
  "urls": [
    "https://music.yandex.ru/users/yamusic-bestsongs/playlists/41126"
  ],
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "RU"
  }
}
```

# Actor output Schema

## `chart` (type: `string`):

No description

## `artists` (type: `string`):

No description

## `tracks` (type: `string`):

No description

## `albums` (type: `string`):

No description

## `playlists` (type: `string`):

No description

## `full` (type: `string`):

No description

# 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 = {
    "artists": [
        "https://music.yandex.ru/artist/41126",
        "Zivert"
    ],
    "searchQueries": [
        "рэп"
    ],
    "urls": [
        "https://music.yandex.ru/users/yamusic-bestsongs/playlists/41126"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sashaebashu/yandex-music-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 = {
    "artists": [
        "https://music.yandex.ru/artist/41126",
        "Zivert",
    ],
    "searchQueries": ["рэп"],
    "urls": ["https://music.yandex.ru/users/yamusic-bestsongs/playlists/41126"],
}

# Run the Actor and wait for it to finish
run = client.actor("sashaebashu/yandex-music-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 '{
  "artists": [
    "https://music.yandex.ru/artist/41126",
    "Zivert"
  ],
  "searchQueries": [
    "рэп"
  ],
  "urls": [
    "https://music.yandex.ru/users/yamusic-bestsongs/playlists/41126"
  ]
}' |
apify call sashaebashu/yandex-music-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sashaebashu/yandex-music-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/GOQcakAdBaP3AAU9D/builds/NWSGdjHQekLcDkWbx/openapi.json
