# Deezer Scraper — Tracks, Artists, Albums & Charts (`thirdwatch/deezer-scraper`) Actor

Search Deezer's catalog via the official public API — tracks with preview links, artists, albums, genres, and country charts for 30+ markets. No login or API key. Built for music data pipelines, playlist research, and catalog analysis.

- **URL**: https://apify.com/thirdwatch/deezer-scraper.md
- **Developed by:** [Thirdwatch](https://apify.com/thirdwatch) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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.
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

## Deezer Scraper - Tracks, Artists, Albums & Charts

> **Thirdwatch portfolio:** 8,800+ users across 140+ public Actors, 2M+ records delivered, >95% run success. [Explore all Thirdwatch Actors](https://apify.com/thirdwatch).

> Search Deezer's music catalog for tracks, artists and albums, or pull the current top-tracks chart by genre. Export titles, artists, albums, durations, popularity rank, explicit flags, 30-second preview links and cover art.

### What you get

For **track searches** and **charts**, one row per track with the title, artist, album, duration, Deezer popularity rank, explicit-lyrics flag, a 30-second MP3 preview link, the Deezer track link and 1000x1000 cover art.

For **artist searches**, one row per artist with the name, fan count, album count, picture and track-list link. For **album searches**, one row per album with the title, cover and track-list link.

### Why use this Deezer scraper

- **Tracks, artists, albums and charts** from one Actor, selected with a single setting.
- **Preview links included.** Every track row carries a 30-second preview MP3 URL.
- **Popularity rank.** Deezer's `rank` score lets you sort tracks by popularity.
- **Genre charts.** Pull the current top tracks overall or for Pop, Rap/Hip Hop, Rock, Dance, Latin, Indian and more.
- **No account or key.** Paste search terms and run.
- **Works with empty input.** With no search terms, the Actor returns the current top-tracks chart.

### Scrape Deezer data in minutes

1. Add search terms (artist, song or album names).
2. Pick a **Search type**: `track`, `artist`, `album` or `chart`.
3. Set **Max results per query** and click **Start**. Download the results as JSON, CSV or Excel, or read them through the Apify API.

Tracks for two artists:

```json
{
  "queries": ["daft punk", "justice"],
  "searchType": "track",
  "maxResults": 50
}
```

Top 100 Rap/Hip Hop tracks right now:

```json
{
  "searchType": "chart",
  "chartGenre": "116",
  "maxResults": 100
}
```

### Input parameters

| Parameter | Required | Description |
|---|---:|---|
| `queries` | No | Artist, track or album search terms. Leave empty, or set `searchType` to `chart`, to get the top-tracks chart. |
| `searchType` | No | `track`, `artist`, `album` or `chart`. Default: `track`. |
| `chartGenre` | No | Genre of the chart, used with `chart` or when no search terms are given. `0` = all genres (default), `132` = Pop, `116` = Rap/Hip Hop, `152` = Rock, `113` = Dance, and more in the input form. |
| `maxResults` | No | Rows per search term (or for the chart), 1 to 200. Default: `25`. |

### Output fields

Track rows (track search and chart):

| Field | Description |
|---|---|
| `type` | `track`. |
| `id` | Deezer track ID. |
| `title` | Track title. |
| `artist`, `artistId` | Main artist name and Deezer ID. |
| `album`, `albumId` | Album title and Deezer ID. |
| `durationSeconds` | Track length in seconds. |
| `rank` | Deezer popularity score; higher is more popular. |
| `explicit` | `true` when the track has explicit lyrics. |
| `preview` | 30-second MP3 preview URL. The link is signed and expires after some time, so download or refresh it promptly. |
| `link` | Track page on deezer.com. |
| `cover` | 1000x1000 album cover URL. |
| `chartPosition` | Position in the chart (chart rows only). |
| `query` | Search term, or `chart:<genre id>` for chart rows. |

Artist and album rows carry `type`, `id`, `name` or `title`, `link`, `picture_xl` or `cover_xl`, `nb_fan` and `nb_album` (artists), `tracklist` and `query`.

#### Example result

```json
{
  "type": "track",
  "id": 67238732,
  "title": "Instant Crush (feat. Julian Casablancas)",
  "artist": "Daft Punk",
  "artistId": 27,
  "album": "Random Access Memories",
  "albumId": 6575789,
  "durationSeconds": 337,
  "rank": 942491,
  "explicit": false,
  "preview": "https://cdnt-preview.dzcdn.net/api/1/1/d/6/b/0/d6bc80aadfa1d7625d59a6620f229371.mp3?hdnea=exp=1793636274~acl=...",
  "link": "https://www.deezer.com/track/67238732",
  "cover": "https://cdn-images.dzcdn.net/images/cover/311bba0fc112d15f72c8b5a65f0456c1/1000x1000-000000-80-0-0.jpg",
  "query": "daft punk"
}
```

### Common use cases

- **Music data pipelines:** map song and artist names to Deezer IDs, album details and durations.
- **Playlist and A\&R research:** find an artist's most popular tracks by `rank`, and compare fan counts across artists.
- **Chart tracking:** schedule a daily chart run per genre and keep a history of what is trending.
- **Preview players:** feed 30-second previews and cover art into a music discovery app or quiz.

### Compared to alternatives

- **vs other Deezer scrapers on the Store:** search and genre charts in one Actor, and pay-per-result billing means a search with no matches costs nothing.
- **vs building your own:** no paging, retries or field mapping to maintain; paste search terms and consume the dataset.

### Limitations

- Charts are Deezer's current top tracks for the chosen genre as listed for the United States. Charts for other countries are not available.
- Deezer returns up to a few hundred results per search term; `maxResults` caps at 200.
- Search results include only tracks Deezer makes available in the United States. Artists with regional licensing (for example Metallica) can return few tracks; artist and album searches still return them.
- Preview URLs are signed links that expire; store the MP3 or re-run to refresh them.
- Lyrics, play counts and full-length audio are not available.

### FAQ

**Do I need a Deezer account or API key?**

No. The Actor reads Deezer's public catalog. There is nothing to configure.

**How do I get only the chart?**

Set `searchType` to `chart` and pick a `chartGenre`. Search terms are ignored for charts.

**Can I run it on a schedule?**

Yes. Save your input as a task and attach a daily or weekly schedule to build a chart history.

**What happens when a search returns nothing?**

The run finishes with no rows for that term. You are not charged for empty results.

### Related Actors

- [Spotify Scraper](https://apify.com/thirdwatch/spotify-scraper) — Thirdwatch
- [MusicBrainz Scraper](https://apify.com/thirdwatch/musicbrainz-catalog-scraper) — Thirdwatch

Last verified: 2026-11

More scrapers at [thirdwatch.dev](https://thirdwatch.dev).

# Actor input Schema

## `queries` (type: `array`):

Artist, track or album search terms. Leave empty (or choose Search type 'chart') to get the current top-tracks chart.

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

What to search Deezer for. Choose 'chart' to get the current Deezer top tracks instead of a search.

## `chartGenre` (type: `string`):

Genre of the top-tracks chart. Used only when Search type is 'chart' or no search terms are given.

## `maxResults` (type: `integer`):

Maximum rows per search term (or for the chart).

## Actor input object example

```json
{
  "queries": [
    "daft punk"
  ],
  "searchType": "track",
  "chartGenre": "0",
  "maxResults": 25
}
```

# Actor output Schema

## `results` (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 = {
    "queries": [
        "daft punk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thirdwatch/deezer-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 = { "queries": ["daft punk"] }

# Run the Actor and wait for it to finish
run = client.actor("thirdwatch/deezer-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 '{
  "queries": [
    "daft punk"
  ]
}' |
apify call thirdwatch/deezer-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thirdwatch/deezer-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/t1Q5VI1s6vgcexLDM/builds/CME3CMlhNP8m25qoo/openapi.json
