Deezer icon

Deezer

Access public song data via the Deezer API

Overview

This node integrates with the Deezer API to retrieve a user's favorite radios. It allows fetching either the currently authenticated user's favorite radios or those of a specified user by their user ID. This is useful for scenarios where you want to analyze or display personalized radio station preferences from Deezer, such as building music recommendation dashboards, syncing favorite radios to other platforms, or creating custom playlists based on favorite radios.

For example, you could use this node to:

  • Automatically fetch and list your own favorite radios for personal music management.
  • Retrieve another user's favorite radios (with permission) to explore their music tastes.
  • Aggregate favorite radios data across multiple users for analytics.

Properties

Name Meaning
Return My User Boolean option to choose whether to return the favorite radios of the logged-in user (true) or a specific user (false).
User ID The unique identifier of the user whose favorite radios you want to retrieve. Required if "Return My User" is false.
Return All Whether to return all favorite radios or limit the number of results returned.
Offset The starting index offset for the results when not returning all.
Limit The maximum number of favorite radios to return when not returning all.

Output

The node outputs an array of JSON objects representing the favorite radios of the specified user. Each object corresponds to a radio station with details as provided by the Deezer API, such as radio ID, title, description, and other metadata related to the radio station.

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

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 in n8n to obtain a valid access token.

Troubleshooting

  • Authentication errors: If the node fails due to invalid or expired tokens, ensure that the OAuth2 credentials are correctly set up and refreshed.
  • User ID required: When "Return My User" is set to false, providing a valid user ID is mandatory; otherwise, the request will fail.
  • API rate limits: Deezer API may impose rate limits; excessive requests might result in temporary blocking.
  • Empty results: If no favorite radios are returned, verify that the user has favorite radios saved and that the correct user ID is used.
  • Offset and limit misuse: Setting offset or limit incorrectly can lead to unexpected pagination results or empty responses.

Links and References

Discussion