Actions43
- Album Actions
- Artist Actions
- Chart Actions
- Playlist Actions
- Podcast Actions
- Track Actions
- User Actions
Overview
This node interacts with the Deezer API to retrieve popular music chart data, specifically focusing on fetching popular tracks when using the "Chart" resource with the "Get Tracks" operation. It allows users to obtain a list of trending or top-ranked tracks from Deezer's public charts.
Common scenarios include:
- Building playlists based on current popular tracks.
- Displaying trending music in an app or website.
- Analyzing popular music trends over time.
For example, a user can configure this node to fetch the top 50 popular tracks globally or specify pagination parameters to get subsequent sets of tracks.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all results or only up to a given limit. |
| Offset | The offset index of the first track to retrieve (used when not returning all). |
| Limit | Maximum number of tracks to return (used when not returning all). |
Output
The node outputs an array of JSON objects representing tracks from the Deezer chart. Each object contains detailed information about a track, such as its title, artist, album, duration, and ranking on the chart.
If the node is configured to return all results, it will paginate through the Deezer API until all tracks are retrieved.
No binary data output is produced 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
- Authentication errors: If the node fails due to authentication issues, verify that the OAuth2 credentials are correctly set up and have not expired.
- Rate limiting: Deezer API may impose rate limits; if you encounter errors related to too many requests, consider adding delays or reducing request frequency.
- Invalid parameters: Ensure that the
offsetandlimitvalues are within acceptable ranges (offset ≥ 0, limit ≥ 1). - Empty results: If no tracks are returned, check if the chart data is available for the requested parameters or if there are network connectivity issues.
Links and References
- Deezer API Documentation: https://developers.deezer.com/api/chart
- Deezer OAuth2 Authentication Guide: https://developers.deezer.com/api/oauth