Deezer icon

Deezer

Access public song data via the Deezer API

Overview

This node integrates with the Deezer API to access public music data, specifically focusing on chart-related information when using the "Chart" resource. The "Get Albums" operation retrieves a list of popular albums from Deezer's charts. This is useful for workflows that need to display trending or top albums, create playlists based on current popular music, or analyze music trends.

For example, you could use this node to:

  • Automatically fetch the latest popular albums and add them to a playlist.
  • Display trending albums in a music app dashboard.
  • Aggregate popular album data for reporting or analytics.

Properties

Name Meaning
Return All Whether to return all available results or limit the number of results returned.
Offset The starting position (offset) in the list of results from which to begin fetching data.
Limit The maximum number of results to return if not returning all.

Output

The output is a JSON array where each item represents an album retrieved from the Deezer chart albums endpoint. Each album object contains metadata such as album title, artist, cover image, release date, and other relevant details provided by Deezer's public API.

No binary data is output by this node.

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

  • Common issues:

    • Invalid or expired OAuth2 token: Ensure the Deezer OAuth2 credentials are correctly set up and refreshed.
    • Rate limiting by Deezer API: If too many requests are made in a short time, the API may throttle responses.
    • Incorrect offset or limit values: Negative or out-of-range values can cause errors or empty results.
  • Error messages:

    • Errors returned from the Deezer API will be included in the output if "Continue On Fail" is enabled.
    • Authentication errors typically indicate issues with the OAuth2 credentials.
    • Parameter validation errors occur if offset or limit values are invalid.

Links and References

Discussion