Deezer icon

Deezer

Access public song data via the Deezer API

Overview

This node integrates with the Deezer API to retrieve detailed information about playlists. Specifically, the "Get" operation for the "Playlist" resource fetches a playlist by its unique identifier. This is useful when you want to obtain metadata and details of a specific playlist, such as its title, description, creator, number of tracks, and other related data.

Common scenarios include:

  • Fetching a playlist's details to display or process in workflows.
  • Using playlist metadata to curate music recommendations or analytics.
  • Integrating Deezer playlist data into other applications or services.

Example: Retrieve the playlist with ID 1234567 to get its name, creator, and track count.

Properties

Name Meaning
Resource ID The unique identifier of the playlist to retrieve (e.g., "1234567").
Return All Not applicable for this operation (only shown for other operations).
Offset Not applicable for this operation (only shown for other operations).
Limit Not applicable for this operation (only shown for other operations).

Note: For the Playlist "Get" operation, only the Resource ID property is required and used.

Output

The output is a JSON array where each item corresponds to the retrieved playlist data. Each JSON object contains detailed information about the playlist, including but not limited to:

  • Playlist ID
  • Title/name of the playlist
  • Description (if available)
  • Creator/user who created the playlist
  • Number of tracks
  • Duration
  • Link to the playlist on Deezer
  • Other metadata fields provided by the Deezer API for playlists

No binary data is returned by this operation.

Dependencies

  • Requires an OAuth2 API credential for Deezer to authenticate requests.
  • Uses the Deezer public API endpoint (https://api.deezer.com).
  • Requires proper configuration of the OAuth2 credentials within n8n to obtain a valid access token.

Troubleshooting

  • Invalid or missing Resource ID: The node requires a valid playlist ID. Ensure the ID is correct and exists on Deezer.
  • Authentication errors: If the OAuth2 token is invalid or expired, authentication will fail. Refresh or reconfigure the Deezer OAuth2 credentials.
  • API rate limits: Deezer may limit the number of requests; if exceeded, the node might throw errors. Implement retry logic or reduce request frequency.
  • Network issues: Connectivity problems can cause request failures. Verify network access to Deezer API endpoints.

Common error messages:

  • "error": "Invalid access token" — Check OAuth2 credentials.
  • "error": "Playlist not found" — Verify the playlist ID.
  • "error": "Rate limit exceeded" — Wait and retry later.

Links and References

Discussion