# Audius Tracks Scraper (`zerobreak/audius-tracks-scraper`) Actor

This Actor collects track listings and audio metadata from Audius, the decentralized music streaming platform, based on search keywords, genres, moods, or trending filters. It extracts track titles, artist details, genres, moods, durations, play counts, release timestamps, and artwork URLs.

- **URL**: https://apify.com/zerobreak/audius-tracks-scraper.md
- **Developed by:** [ZeroBreak](https://apify.com/zerobreak) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### Audius Tracks Scraper — Trending Music, Track Search, and Artist Profiles

![Audius Tracks Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/audius-tracks-scraper-cover.png)

### Overview

The Audius Tracks Scraper collects publicly available music track and artist information from Audius.

It allows users to discover trending tracks, search for specific music, and find artist profiles. The collected information includes track titles, descriptions, genres, moods, play counts, favorites, release dates, and artist details.

Music researchers, playlist creators, developers, and data analysts can use this actor to explore music trends, discover artists, analyze track popularity, and build structured music datasets.

### Features

- **Trending tracks:** Collect popular Audius tracks.
- **Track search:** Find tracks using keywords and search queries.
- **Artist discovery:** Search for artist and user profiles.
- **Genre information:** Collect available track genres and moods.
- **Engagement statistics:** Retrieve play counts, favorites, reposts, and comments.
- **Track metadata:** Extract titles, descriptions, tags, durations, and release dates.
- **Artist information:** Collect usernames, display names, biographies, and follower counts.
- **Content identifiers:** Retrieve available track content identifiers (CIDs).
- **Duplicate prevention:** Avoid collecting duplicate records using unique record identifiers.
- **Structured output:** Export collected information in JSON, CSV, and Excel formats.

### Collection Modes

The actor supports three collection modes:

| Mode | Description |
|---|---|
| `trending` | Collect trending Audius tracks based on the selected time period and optional genre. |
| `search` | Search for music tracks using a specified search query. |
| `users` | Search for artist and user profiles using a specified query. |

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `mode` | String | No | `trending` | Selects the collection mode: `trending`, `search`, or `users`. |
| `query` | String | Required for `search` and `users` | `lofi` | Search text used to find tracks or artist profiles. |
| `genre` | String | No | Empty | Optional genre filter for trending tracks. |
| `time` | String | No | `week` | Trending time period. Supported values: `week`, `month`, `year`, and `allTime`. |
| `appName` | String | No | `bigibyte` | Application name used for Audius discovery. |
| `maxItems` | Integer | No | `100` | Maximum number of successful records collected per run. Maximum supported value: `1,000`. |
| `requestDelayMs` | Integer | No | `500` | Delay between collection requests in milliseconds. |
| `userAgent` | String | No | `ActorResearch/1.0` | User-Agent value used during collection. |
| `timeoutSecs` | Integer | No | `300` | Overall actor execution timeout in seconds. |
| `requestTimeoutSecs` | Integer | No | `30` | Maximum time allowed for an individual request, in seconds. |

### Example Input

**1. Collect trending tracks**

```json
{
    "mode": "trending",
    "time": "week",
    "maxItems": 50,
    "requestDelayMs": 500
}
```

**2. Search for music tracks**

```json
{
    "mode": "search",
    "query": "lofi",
    "maxItems": 100,
    "requestDelayMs": 500
}
```

**3. Search for artists and users**

```json
{
    "mode": "users",
    "query": "lofi",
    "maxItems": 100,
    "requestDelayMs": 500
}
```

**4. Collect trending tracks by genre**

```json
{
    "mode": "trending",
    "genre": "House",
    "time": "month",
    "maxItems": 100,
    "requestDelayMs": 500
}
```

### What Data Does This Actor Extract?

The actor returns structured track and artist information. Available fields depend on the selected collection mode.

| Field | Description |
|---|---|
| `mode` | Collection mode used to retrieve the record. |
| `recordId` | Unique identifier assigned to the collected record. |
| `trackId` | Numeric identifier of the Audius track. |
| `trackTitle` | Title of the music track. |
| `trackDescription` | Description of the track. |
| `genre` | Music genre associated with the track. |
| `mood` | Mood classification associated with the track. |
| `tags` | Tags associated with the track. |
| `slug` | URL-friendly track identifier. |
| `duration` | Track duration in seconds. |
| `releaseDate` | Track release date and time. |
| `repostCount` | Number of reposts received by the track. |
| `favoriteCount` | Number of favorites received by the track. |
| `commentCount` | Number of comments associated with the track. |
| `playCount` | Total number of plays recorded for the track. |
| `trackCid` | Content identifier associated with the track. |
| `userName` | Artist or user display name, when available. |
| `handle` | Artist or user handle, when available. |
| `bio` | Artist or user biography, when available. |
| `followerCount` | Number of followers associated with the artist or user, when available. |
| `scrapedAt` | Timestamp indicating when the record was collected. |

*Note: Track-specific and artist-specific fields depend on the selected collection mode and the information available for each record.*

### Example Output

```json
{
    "mode": "trending",
    "recordId": "GEG9ZWx",
    "trackId": 429072918,
    "trackTitle": "Rowsfred - CLAWN (Original Mix) [Eclipse Records]",
    "trackDescription": "Rowsfred is a driving Tech House track built for the dancefloor.",
    "genre": "House",
    "mood": "Energizing",
    "tags": "Rowsfred,Eclipserecords,House,Audiusmusic",
    "slug": "rowsfred-clawn-original-mix-eclipse-records",
    "duration": 210,
    "releaseDate": "2026-10-06T16:37:15Z",
    "repostCount": 31,
    "favoriteCount": 41,
    "commentCount": 8,
    "playCount": 820,
    "trackCid": "baeaaaiqsebxuvshmwsjdfq4ikbocq7itr2vh7hlpi74nhg3p2kzbmuq4radgw",
    "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

### Use Cases

- **Trending music research:** Monitor popular tracks and identify changes in music trends.
- **Playlist discovery:** Find tracks matching specific keywords, genres, and moods.
- **Artist discovery:** Search for artists and collect their available profile information.
- **Music analytics:** Analyze play counts, favorites, reposts, and comments.
- **Genre research:** Explore music categories and mood classifications.
- **Music catalog research:** Build structured datasets containing track metadata and artist information.
- **Scheduled monitoring:** Refresh trending track collections periodically to compare music popularity over time.

### Working with Your Dataset

All collected track and artist records are stored in your Apify dataset.

You can:

- View individual track and artist records.
- Export collected information as JSON, CSV, or Excel.
- Analyze music popularity and engagement statistics.
- Build music research datasets and discovery dashboards.
- Organize tracks by genre, mood, and search query.
- Schedule recurring runs to refresh your collected information.

### FAQ

**Who is this actor for?**

This actor is designed for music researchers, playlist creators, developers, analysts, and anyone interested in Audius music and artist information.

**Can I collect trending tracks?**

Yes. Select `trending` mode and choose a time period such as `week`, `month`, `year`, or `allTime`.

**Can I search for specific tracks?**

Yes. Select `search` mode and provide your search keywords through the `query` parameter.

**Can I search for artists?**

Yes. Select `users` mode to search for artist and user profiles.

**Can I filter trending tracks by genre?**

Yes. Provide a genre through the optional `genre` parameter when using `trending` mode.

**How many records can I collect per run?**

You can collect up to 1,000 successful records per run by configuring `maxItems`.

**What information is available for each track?**

Available track information includes titles, descriptions, genres, moods, release dates, durations, play counts, favorites, reposts, comments, and content identifiers.

**What export formats are available?**

You can export your dataset in JSON, CSV, Excel, and other supported Apify dataset formats.

**Can I run this actor automatically?**

Yes. You can configure Apify Schedules to collect trending tracks or artist information periodically.

### Disclaimer

This actor is an independent data collection tool and is not officially affiliated with or endorsed by Audius. Track content, artist names, descriptions, and other creative materials belong to their respective owners. Users are responsible for ensuring that their use of collected information complies with applicable copyright, privacy, and other relevant regulations.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

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

What to collect from the Audius discovery API.

## `query` (type: `string`):

Search text for search or users mode (for example lofi or deadmau5).

## `genre` (type: `string`):

Optional genre filter for trending tracks (for example Electronic).

## `time` (type: `string`):

Trending window: week, month, year, or allTime.

## `appName` (type: `string`):

app_name query parameter required by the Audius API.

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

Stop after this many successful rows. Hard max is 1000.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait between requests. Raise if you see 429.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "trending",
  "query": "lofi",
  "time": "week",
  "appName": "bigibyte",
  "maxItems": 100,
  "requestDelayMs": 500,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "query": "lofi",
    "time": "week"
};

// Run the Actor and wait for it to finish
const run = await client.actor("zerobreak/audius-tracks-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 = {
    "query": "lofi",
    "time": "week",
}

# Run the Actor and wait for it to finish
run = client.actor("zerobreak/audius-tracks-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 '{
  "query": "lofi",
  "time": "week"
}' |
apify call zerobreak/audius-tracks-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zerobreak/audius-tracks-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/cumdp0oh7t6GkhMNi/builds/vAy5YKuHNddgpUDxe/openapi.json
