[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [TikTok search results](https://spiral.ai/integrations/n8n/tiktok-search-results)

# How to Use TikTok search results in n8n

Returns TikTok's general search results for a keyword. Use it for a named brand or topic, carrying the search identifier from the previous response when requesting another page.

|  |  |
| --- | --- |
| Model | TikTok search results |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with TikTok search results in n8n

- Every weekday, use TikTok search results to search for Nintendo Switch and add newly returned examples to my internal editorial digest.
- Every Monday at 9am: use TikTok search results to look this up and give me the result as a table.
- Pull the latest numbers from TikTok search results and tell me what changed since last week.
- Check TikTok search results and summarize what you find in three bullet points.
- Pull the newest data from TikTok search results and give me the result as a table.

## How to set up TikTok search results in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **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

1. **Create a key**: Create a key under API keys in the console.

2. **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:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run TikTok search results in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds TikTok search results, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run TikTok search results**: One request; the result comes back by polling or a webhook.

```bash
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-general-search",
    "input": {
      "keyword": "TikTok"
    }
  }'
```

Then paste one of the prompts above: n8n finds TikTok search results on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## TikTok search results tools and prices

- [TikTok Web · Get general search list](https://spiral.ai/tools/tikhub/tikhub/tiktok-web-fetch-general-search) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cookie |  | — | User cookie(if needed) |
| offset |  | 0 | Page cursor |
| search_id |  |  | Search id, need to provide when paging |

## What can you do with TikTok search results in n8n?

Maintain a recurring TikTok research digest from discovery results, public broadcast availability, or gift reference data. A scheduled agent can compare successive responses and keep an internal review queue current with what each check returns.

### 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.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## TikTok search results in other agents

- [Amp](https://spiral.ai/integrations/amp/tiktok-search-results)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/tiktok-search-results)
- [Claude](https://spiral.ai/integrations/claude-desktop/tiktok-search-results)
- [Claude Code](https://spiral.ai/integrations/claude-code/tiktok-search-results)
- [Cline](https://spiral.ai/integrations/cline/tiktok-search-results)
- [Codex](https://spiral.ai/integrations/codex/tiktok-search-results)
- [Cursor](https://spiral.ai/integrations/cursor/tiktok-search-results)
- [Devin](https://spiral.ai/integrations/devin/tiktok-search-results)
- [dots](https://spiral.ai/integrations/dots/tiktok-search-results)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/tiktok-search-results)
- [Gemini](https://spiral.ai/integrations/gemini/tiktok-search-results)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/tiktok-search-results)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/tiktok-search-results)
- [goose](https://spiral.ai/integrations/goose/tiktok-search-results)
- [Grok](https://spiral.ai/integrations/grok/tiktok-search-results)
- [Grok Build](https://spiral.ai/integrations/grok-build/tiktok-search-results)
- [Hermes](https://spiral.ai/integrations/hermes/tiktok-search-results)
- [Instinct](https://spiral.ai/integrations/instinct/tiktok-search-results)
- [Manus](https://spiral.ai/integrations/manus/tiktok-search-results)
- [Muse](https://spiral.ai/integrations/muse/tiktok-search-results)
- [Muse Code](https://spiral.ai/integrations/muse-code/tiktok-search-results)
- [Notion](https://spiral.ai/integrations/notion/tiktok-search-results)
- [OpenClaw](https://spiral.ai/integrations/openclaw/tiktok-search-results)
- [opencode](https://spiral.ai/integrations/opencode/tiktok-search-results)
- [Perplexity](https://spiral.ai/integrations/perplexity/tiktok-search-results)
- [Raycast](https://spiral.ai/integrations/raycast/tiktok-search-results)
- [VS Code](https://spiral.ai/integrations/vscode/tiktok-search-results)
- [Windsurf](https://spiral.ai/integrations/windsurf/tiktok-search-results)
- [Zapier](https://spiral.ai/integrations/zapier/tiktok-search-results)

## More n8n guides

- [TikTok recommended LIVE rooms](https://spiral.ai/integrations/n8n/tiktok-recommended-live-rooms)
- [TikTok search suggestions](https://spiral.ai/integrations/n8n/tiktok-search-suggestions)
- [TikTok profile share link](https://spiral.ai/integrations/n8n/tiktok-profile-share-link)
- [TikTok search topic statistics](https://spiral.ai/integrations/n8n/tiktok-search-topic-statistics)
- [TikTok profile search](https://spiral.ai/integrations/n8n/tiktok-profile-search)
- [TikTok search topic trends](https://spiral.ai/integrations/n8n/tiktok-search-topic-trends)

## Questions about TikTok search results in n8n

**Can n8n use TikTok search results?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run TikTok search results like any built-in tool.

**How much does TikTok search results 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 search results in n8n?**

You need no TikHub account. n8n uses one Spiral API key for every tool, and Spiral runs TikTok search results on its own TikHub account.

**How long does it take to set up TikTok search results in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while TikTok search results runs?**

TikTok search results runs in the background. n8n 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.

