N8N Tools - TikTok Enhanced icon

N8N Tools - TikTok Enhanced

Comprehensive TikTok API integration for N8N workflows

Music → Get Music Videos

AI-generated

Overview

This node integrates with TikTok's API via the N8N Tools service to retrieve music-related video data. Specifically, for the "Music" resource and the "Get Music Videos" operation, it fetches a list of TikTok videos associated with a particular music track identified by its TikTok Music ID.

Use cases include:

  • Gathering videos that use a specific music track for content analysis or marketing insights.
  • Curating playlists or collections of videos based on popular or trending music.
  • Monitoring how a piece of music is being used across TikTok videos.

For example, you can input a TikTok Music ID and receive up to 100 videos that feature that music, optionally paginating through results using a cursor.

Properties

Name Meaning
Music ID The TikTok Music ID identifying the music track whose videos you want to retrieve.
Count Number of video items to return (maximum 100).
Cursor Pagination cursor to fetch the next set of results if available.

Output

The node outputs an array of JSON objects, each representing a TikTok video associated with the specified music track. Each item contains detailed information about a video as returned by the TikTok API, such as video metadata, creator info, statistics, and other relevant fields.

If multiple input items are processed, the output will be an array where each element corresponds to the result of one input.

No binary data output is produced by this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the N8N Tools API service.
  • The node internally uses the TikTok API client wrapped by the N8N Tools service.
  • Proper configuration of the API key credential in n8n is necessary.
  • Network access to the N8N Tools API endpoint is required.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that your API key credential is correctly configured and active.
  • Rate limiting or quota exceeded: The underlying TikTok API or N8N Tools API may enforce rate limits; consider reducing request frequency or upgrading your plan.
  • Empty or incomplete results: Ensure the provided Music ID is correct and that there are videos associated with it on TikTok.
  • Pagination issues: When using the cursor property, ensure the cursor value is from a previous response to paginate correctly.

Links and References

Discussion