Deezer icon

Deezer

Access public song data via the Deezer API

Overview

This node integrates with the Deezer API to retrieve public music data. Specifically, for the Artist resource and the Get Radio operation, it fetches a list of tracks recommended by Deezer's radio feature based on a given artist ID. This is useful for users who want to discover songs similar or related to a particular artist, enabling playlist creation, music recommendations, or personalized radio stations.

Practical examples:

  • Creating a playlist of songs similar to a favorite artist.
  • Generating radio-style recommendations for music discovery apps.
  • Fetching related tracks for DJ sets or background music curation.

Properties

Name Meaning
Resource ID The unique identifier of the artist for whom to get the radio recommendations.
Return All Whether to return all available results or limit the number of returned tracks.
Offset The starting position in the list of results (used when not returning all).
Limit The maximum number of results to return (used when not returning all).

Output

The output is a JSON array where each element represents a track recommended by Deezer's radio feature for the specified artist. Each track object contains metadata such as track title, artist info, album details, duration, and other relevant fields provided by the Deezer API.

If binary data were involved (e.g., audio files), it would be summarized here, but this node only returns JSON metadata about tracks.

Dependencies

  • Requires an OAuth2 API credential for Deezer to authenticate requests.
  • Uses the Deezer public API endpoint https://api.deezer.com.
  • Requires n8n environment configured with the appropriate Deezer OAuth2 credentials.

Troubleshooting

  • Invalid or missing Resource ID: The node requires a valid artist ID; ensure the ID is correct and exists on Deezer.
  • Authentication errors: If the OAuth2 token is invalid or expired, the node will fail. Refresh or reconfigure the Deezer API credentials.
  • API rate limits: Deezer may limit the number of requests; if hitting limits, consider using pagination (offset and limit) or reducing request frequency.
  • Empty results: If no radio recommendations are found, verify the artist ID and that the artist has sufficient data on Deezer.

Common error messages:

  • "error": "Invalid access token" — Reauthenticate the Deezer OAuth2 credentials.
  • "error": "Resource not found" — Check the artist ID parameter.
  • Network or timeout errors — Verify network connectivity and Deezer API status.

Links and References

Discussion