How to Use TikTok music search in n8n
Returns TikTok music matches for a keyword search. Use it to find sounds by song or artist before investigating videos that use a selected sound.
Prompts to try with TikTok music search in n8n
Copy an example into n8n, or ask in your own words.
Every Monday, use TikTok music search for 'Sabrina Carpenter' in the United States and report music matches that were absent from the previous report.
Every Monday at 9am: use TikTok music search to look this up and give me the result as a table.
Pull the latest numbers from TikTok music search and tell me what changed since last week.
Check TikTok music search and summarize what you find in three bullet points.
Pull the newest data from TikTok music search and give me the result as a table.
How to set up TikTok music search in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run TikTok music search in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds TikTok music search, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run TikTok music search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "tikhub", "model": "tikhub/tiktok-app-v3-fetch-music-search-result", "input": { "keyword": "Cat" } }'
Then paste one of the prompts above: n8n finds TikTok music search on Spiral, shows the price and runs it.
TikTok music search providers and prices
Spiral runs TikTok music search through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Count | a whole number | 20 | Number |
| Offset | a whole number | 0 | Offset |
| Filter by | a whole number | 0 | Filter type |
| Sort type | a whole number | 0 | Sort type |
Every API field of TikTok App · Get music search results of specified keywords is on its tool page: open its card above.
What can you do with TikTok music search in n8n?
Keep a TikTok campaign reference board refreshed with public post data, sound samples, account suggestions, and sharing assets. A scheduled agent can repeat selected retrievals and prepare a digest of changes for review.
Campaign research brief
Find candidate sounds, collect videos using them, and inspect reference posts by ID or shared link. Add similar public creator suggestions, returned video regions where available, profile QR codes, and short links for the review meeting.
Public creator showcase kit
Prepare an event program with public creator recommendations, selected post data, and sound examples for discussion. Retrieve posts from IDs or sharing links, check country-specific availability, and prepare profile QR codes and compact links for attendees.
Agency campaign handoff
Package researched sounds, example videos, and suggested public collaborators for a client's next production cycle. Refresh reference posts from saved IDs or links, include regional retrieval results, and supply profile QR images and short links alongside the brief.
TikTok reference library
Build a searchable collection of sound discoveries, sound-linked video samples, individual post records, and public creator suggestions. Accept post IDs or sharing links, retain returned regions where available, and attach profile QR codes and short links for browsing.
Sound adoption samples
Search for a song or artist, select a sound, and collect a paginated sample of videos associated with it. Use the sample to choose posts for creative review.
More on TikTok music search and n8n
Overview
TikTok music search in other agents
Questions about TikTok music search in n8n
Can n8n use TikTok music search?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run TikTok music search like any built-in tool.
How much does TikTok music search cost in n8n?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need a TikHub account to use TikTok music search in n8n?
You need no TikHub account. n8n uses one Spiral API key for every tool, and Spiral runs TikTok music search on its own TikHub account.
How long does it take to set up TikTok music search in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while TikTok music search runs?
TikTok music search runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.
Does TikHub provide private TikTok content?
TikHub describes its service as access to publicly available social media data. That coverage boundary does not promise access to private TikTok posts.
How fresh are TikHub's TikTok results?
TikHub says its API returns fresh, real-time data and never serves cached data through repeat endpoint calls. This is the provider's stated freshness behavior, rather than a measured TikTok update delay.
Are TikTok search results a complete inventory?
A requested page size is not a completeness guarantee: TikHub says paginated endpoints frequently return fewer items than requested. Music search also has a documented ceiling of 20 results per request.
Is TikTok content available in every country?
No. TikHub explicitly notes that some TikTok videos are unavailable in certain countries or regions, so a regional retrieval can produce a different availability result.
Does retrieving TikTok content grant permission to reuse it?
TikHub's terms say retrieved content may carry third-party intellectual property rights. TikTok also says its licenses for music outside the Commercial Music Library do not cover commercial use in content.
Start using TikTok music search in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


