How to Use TikTok search topic videos in opencode
Returns popular videos related to a search term from creator search insights. Use it to collect examples for a topic brief after reviewing search demand.
Prompts to try with TikTok search topic videos in opencode
Copy an example into opencode, or ask in your own words.
Use TikTok search topic videos to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from TikTok search topic videos and tell me what changed since last week.
Check TikTok search topic videos and summarize what you find in three bullet points.
Pull the newest data from TikTok search topic videos and give me the result as a table.
Check TikTok search topic videos every morning and tell me only when something changed.
How to set up TikTok search topic videos in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 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 search topic videos
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-creator-search-insights-videos", "input": { "keyword": "headshots 2 2 3" } }'
Then paste one of the prompts above: opencode finds TikTok search topic videos on Spiral, shows the price and runs it.
TikTok search topic videos providers and prices
Spiral runs TikTok search topic videos through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Count | a whole number | 20 | Number per page |
| Offset | a whole number | 0 | Pagination offset |
Every API field of TikTok App · Creator Search Insights Videos is on its tool page: open its card above.
What can you do with TikTok search topic videos in opencode?
Build a TikTok research report in your project from retrieved search results, topic insights, or hashtag data. Your coding agent can turn the returned records into tables and translate supplied text for an editorial review.
Prepare a multilingual product launch brief
Research a product category through keyword results, matching hashtags, hashtag details, and hashtag videos. Add search topics, their statistics, regional trends, and related videos; review public shopping creator information and translate selected text for the launch team.
Build an editorial calendar for a retail category
Use search insights, topic statistics, and regional trends to propose subjects. Ground each proposal in keyword results, hashtag research, and related video examples; add potential shopping collaborators and translations of relevant text.
Plan a seasonal retail campaign
Compare seasonal search topics using their statistics, geographic interest, and related videos. Combine keyword and hashtag research with public shopping creator information, then translate selected phrases for a campaign planning brief.
Write a creator partnership brief
Combine a public shopping creator's storefront and audience counts with category keyword results and hashtag details and videos. Use search insights, topic statistics, regional trends, and related videos to suggest subjects, translating selected text for collaborators.
Find subjects for a cooking series
Discover food search topics, inspect their search statistics and regional trends, and collect related popular videos as references for episode proposals.
More on TikTok search topic videos and opencode
Overview
TikTok search topic videos in other agents
Questions about TikTok search topic videos in opencode
Can opencode use TikTok search topic videos?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TikTok search topic videos like any built-in tool.
How much does TikTok search topic videos cost in opencode?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need a TikHub account to use TikTok search topic videos in opencode?
No. Spiral runs TikTok search topic videos on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up TikTok search topic videos in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while TikTok search topic videos runs?
TikTok search topic videos runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does TikHub return private TikTok content?
TikHub's privacy policy says it does not access or store private, restricted, or password-protected platform content. Public availability is the access boundary.
How fresh is TikHub's data?
TikHub describes repeat requests as fresh, real-time retrievals. Its terms still disclaim guarantees that the returned data is current.
Does TikHub guarantee complete or accurate results?
No. TikHub's terms explicitly disclaim guarantees that retrieved data is accurate, complete, or current.
Can retrieved TikTok content be reused freely?
TikHub's terms say retrieved content may carry third-party intellectual property rights. Retrieval does not establish permission to republish a creator's work.
Does TikHub document every returned data field?
No. TikHub says its responses vary by platform and its documentation describes endpoints and parameters rather than every payload key.
Start using TikTok search topic videos in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


