How to Use TikTok Explore videos in Windsurf
Returns video data from TikTok Explore by category. Use it to find examples within a subject area when you do not have a specific search phrase.
Prompts to try with TikTok Explore videos in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use TikTok Explore videos to retrieve food examples and add the actual returned video data to this project's internal review screen.
Use TikTok Explore videos to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from TikTok Explore videos and tell me what changed since last week.
Check TikTok Explore videos and summarize what you find in three bullet points.
Pull the newest data from TikTok Explore videos and give me the result as a table.
How to set up TikTok Explore videos in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf 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 Explore 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-web-fetch-explore-post", "input": { "count": 16 } }'
Then paste one of the prompts above: Windsurf finds TikTok Explore videos on Spiral, shows the price and runs it.
TikTok Explore videos providers and prices
Spiral runs TikTok Explore videos through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Count | a whole number | 16 | Number per page |
Every API field of TikTok Web · Get explore video data is on its tool page: open its card above.
What can you do with TikTok Explore videos in Windsurf?
Build an internal TikTok research view using discovery results, public LIVE status, messaging parameters, or gift reference data. A coding agent can work with actual responses to implement pagination, batch limits, and empty-room handling.
Prepare a brand's content brief
Search for LEGO, review Explore examples in the relevant category, and compare them with home feed recommendations. Use the returned video data to assemble examples for an internal creative brief.
Compare discovery routes
Compare keyword results for espresso with food Explore results and a home feed sample. Identify which examples each route surfaces without treating their combined results as a complete TikTok inventory.
Build a recurring editorial shortlist
Collect search results for Nintendo Switch, gaming Explore results, and home feed recommendations on a recurring schedule. Keep the returned examples organized by discovery route for an editor to review.
Review a product category before a campaign
Gather running shoe search results, sports Explore examples, and a home feed sample. Give a campaign team a concrete set of TikTok examples to examine before choosing creative concepts.
More on TikTok Explore videos and Windsurf
Overview
TikTok Explore videos in other agents
Questions about TikTok Explore videos in Windsurf
Can Windsurf use TikTok Explore videos?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run TikTok Explore videos like any built-in tool.
How much does TikTok Explore videos cost in Windsurf?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need a TikHub account to use TikTok Explore videos in Windsurf?
No. Spiral runs TikTok Explore 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 Explore videos in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while TikTok Explore videos runs?
TikTok Explore videos runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.
Can TikHub return private TikTok content?
TikHub's privacy policy excludes private, restricted, and password-protected content from the platforms it supports.
Is every TikTok response newly fetched?
TikHub says it may cache and store publicly available data returned through its API. A response should therefore not be described as a guaranteed fresh read from TikTok.
Does TikHub guarantee accurate, complete, or current TikTok data?
No. TikHub's terms expressly disclaim a guarantee that delivered data is accurate, complete, or current.
Does access include permission to reuse TikTok content?
TikHub's terms require users to respect content creators' intellectual property rights. Retrieving content does not remove that requirement.
Do TikTok discovery results represent all eligible content?
TikTok describes its recommendation systems as selecting and ranking content from a larger eligible collection. Recommendation results are a selected view, so they should not be presented as a complete inventory.
Start using TikTok Explore videos in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


