Actions46
- Videos Actions
- Users Actions
- Hashtags Actions
- Music Actions
- Analytics Actions
- Marketing/Ads Actions
- Business Actions
- Creator Actions
- Commerce/Shopping Actions
Music → Search Music
AI-generatedOverview
The node provides enhanced integration with the TikTok API, enabling users to interact with various TikTok resources such as videos, users, hashtags, music, analytics, marketing, business, creator, and commerce. Specifically for the Music resource with the Search Music operation, the node allows searching for music tracks on TikTok based on a query string. This is useful for workflows that need to find trending or specific music tracks to analyze, feature in content, or gather metadata.
Practical examples include:
- Searching for music tracks related to a particular genre or artist.
- Finding popular music to use in TikTok video campaigns.
- Automating discovery of new music trends for content creation or marketing analysis.
Properties
| Name | Meaning |
|---|---|
| Query | The search query string used to find music tracks on TikTok. |
| Count | Number of music items to return (maximum 100). Defaults to 20 if not specified. |
| Cursor | Pagination cursor for fetching subsequent pages of results. |
Output
The output is an array of JSON objects where each object represents a music item returned by the TikTok API search. Each item contains detailed information about a music track matching the search query, such as its ID, title, artist, and other metadata provided by TikTok.
The node does not output binary data for this operation.
Dependencies
- Requires an active subscription and valid API key credential for the external "N8N Tools API" service, which acts as a proxy or validation layer for TikTok API requests.
- The node internally uses a TikTok API client library bundled within the node's codebase.
- Proper configuration of the API key credential in n8n is necessary to authenticate requests.
Troubleshooting
- Invalid subscription or API key error: If you receive an error indicating invalid subscription or API key, verify that your API key credential is correctly configured and active.
- API rate limits or quota exceeded: The external API may enforce rate limits; consider handling errors gracefully or implementing retry logic.
- Empty or no results: Ensure the query string is valid and specific enough to return results. Also, check the
countparameter to request an adequate number of items. - Pagination issues: Use the
cursorproperty correctly to paginate through large result sets.
Links and References
- TikTok Developer Documentation
- N8N Documentation
- (No direct link to the external "N8N Tools API" as it is proprietary)