# Deezer Charts Search Scraper (`kawsar/deezer-charts-search-scraper`) Actor

Collect Deezer charts, search hits, artists, and playlists into structured JSON, CSV, or Excel datasets. Perfect for music analytics and monitoring.

- **URL**: https://apify.com/kawsar/deezer-charts-search-scraper.md
- **Developed by:** [Kawsar](https://apify.com/kawsar) (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

## Deezer Charts and Search Scraper

![Deezer Charts and Search Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/deezer-charts-search-scraper-cover.png)

Collect music chart rankings, track search results, artist information, and playlist details from Deezer. Retrieve track titles, artists, albums, rankings, durations, and other available metadata. Export structured results in JSON, CSV, Excel, or other supported Apify dataset formats.

### What It Does

This actor supports four collection modes for exploring Deezer music data. It collects chart tracks, searches for tracks by keyword, retrieves artist information, and gathers playlist details.

Results are organized into structured dataset records with source references and collection timestamps. Duplicate records are removed based on their IDs.

### Available Modes

- **Chart Tracks:** Collect tracks from Deezer charts. The default genre ID is `0`, and the default chart type is `tracks`.
- **Search Tracks:** Find tracks matching a search query, such as `eminem`.
- **Artist:** Retrieve information about an artist using their artist ID. The default ID is `27` (Daft Punk).
- **Playlist:** Retrieve playlist information using a playlist ID. The default playlist is Top Worldwide.

### Input Example

**Collect chart tracks**

```json
{
  "mode": "chart",
  "genreId": 0,
  "chartType": "tracks",
  "maxItems": 50,
  "requestDelayMs": 500
}
```

### Output Example

```json
{
  "record_id": 3816307292,
  "item_title": "Toota Jo Kabhi Tara",
  "title_short": "Toota Jo Kabhi Tara",
  "title_version": "",
  "link": "https://www.deezer.com/track/3816307292",
  "duration": 305,
  "rank": 118277,
  "explicit_lyrics": false,
  "explicit_content_lyrics": 0,
  "explicit_content_cover": 0,
  "preview": "https://cdnt-preview.dzcdn.net/api/1/1/c/e/e/0/cee9f0644b85573e1efa904bcb436734.mp3",
  "md5_image": "f61b5f3cb7e3bbb069e425866dd172bc",
  "position": 1,
  "artist": {
    "id": 1452924,
    "name": "Sachin-Jigar",
    "link": "https://www.deezer.com/artist/1452924"
  },
  "album": {
    "id": 909499982,
    "title": "A Flying Jatt Original Motion Picture Soundtrack"
  },
  "item_type": "track",
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Description |
|---|---|
| `record_id` | Unique record identifier |
| `item_title` | Track or item title |
| `title_short` | Short track title |
| `title_version` | Track version information |
| `link` | Deezer item page |
| `duration` | Track duration in seconds |
| `rank` | Chart ranking value |
| `explicit_lyrics` | Explicit lyrics indicator |
| `explicit_content_lyrics` | Explicit lyrics content classification |
| `explicit_content_cover` | Explicit cover content classification |
| `preview` | Available track preview reference |
| `md5_image` | Image identifier |
| `position` | Position in the returned list |
| `artist` | Artist information |
| `album` | Album information |
| `item_type` | Record type |
| `scraped_at` | Collection timestamp |

### Use Cases

- **Chart Monitoring:** Track Deezer chart positions and rankings over time.
- **Music Research:** Collect tracks matching specific keywords for analysis.
- **Artist Research:** Organize artist information, fan counts, and image references.
- **Playlist Analysis:** Collect playlist titles, fan counts, and cover information.
- **Music Catalog Building:** Create structured music datasets for research and downstream applications.
- **Scheduled Tracking:** Run recurring collections to compare chart and search results.

### FAQ

**What types of Deezer data can I collect?**

The actor supports chart tracks, track search results, artist information, and playlist details.

**Can I search for tracks by keyword?**

Yes. Select Search Tracks mode and provide a search query.

**Can I collect a specific artist's information?**

Yes. Select Artist mode and provide the artist ID.

**Can I retrieve playlist information?**

Yes. Select Playlist mode and provide the playlist ID.

**Does the actor remove duplicate records?**

The actor stores an error row and continues running instead of stopping the entire collection.

**Can I export the results to Excel or CSV?**

Yes. Apify supports JSON, CSV, Excel, and other dataset export formats.

**Can I schedule recurring collections?**

Yes. Use Apify Schedules to refresh chart data or repeat other collections automatically.

### Trademark Notice and Disclaimer

Deezer and its related names, logos, and trademarks belong to their respective owners. This actor is an independent data collection tool and is not affiliated with, sponsored by, or endorsed by Deezer.

### Is Web Scraping Legal?

This actor collects publicly accessible music metadata without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the source website's policies.

- **Personal Data:** Artist profiles and related records may contain identifying information. Handle personal information responsibly and follow applicable privacy laws, including GDPR or CCPA where relevant.
- **Copyright and Licensing:** Music metadata, artwork, and audio previews may be subject to different copyright and licensing conditions. Do not assume that publicly accessible previews, images, or music content can be freely reproduced or redistributed. Review the applicable rights before reuse.
- **Platform Terms and Rate Limits:** Respect Deezer's policies, applicable usage conditions, and reasonable request intervals.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified legal professional if you have questions about your intended use.

[Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

# Actor input Schema

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

What to collect from Deezer public API.

## `genreId` (type: `integer`):

Chart genre id (0 = all).

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

Search query for search mode.

## `chartType` (type: `string`):

Chart resource: tracks, albums, artists, playlists, or podcasts.

## `artistId` (type: `integer`):

Deezer artist id for artist mode (default Daft Punk).

## `playlistId` (type: `integer`):

Deezer playlist id for playlist mode (default Top Worldwide).

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

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

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

User-Agent header sent with each request.

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

Milliseconds to wait between requests.

## `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": "chart",
  "genreId": 0,
  "query": "eminem",
  "chartType": "tracks",
  "artistId": 27,
  "playlistId": 3155776842,
  "maxItems": 100,
  "userAgent": "ActorResearch/1.0",
  "requestDelayMs": 500,
  "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 = {
    "genreId": 0,
    "query": "eminem",
    "chartType": "tracks",
    "artistId": 27,
    "playlistId": 3155776842
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/deezer-charts-search-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 = {
    "genreId": 0,
    "query": "eminem",
    "chartType": "tracks",
    "artistId": 27,
    "playlistId": 3155776842,
}

# Run the Actor and wait for it to finish
run = client.actor("kawsar/deezer-charts-search-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 '{
  "genreId": 0,
  "query": "eminem",
  "chartType": "tracks",
  "artistId": 27,
  "playlistId": 3155776842
}' |
apify call kawsar/deezer-charts-search-scraper --silent --output-dataset

```

## MCP server setup

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