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

# How to Use TikTok photo search in n8n

Returns TikTok photo search results for a keyword. Use it to research photo-based content separately from livestreams and account matches.

|  |  |
| --- | --- |
| Model | TikTok photo search |
| 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 photo search in n8n

- Every Friday, use TikTok photo search for 'ceramic mug' and summarize the returned examples for our product content meeting.
- Every Monday at 9am: use TikTok photo search to look this up and give me the result as a table.
- Pull the latest numbers from TikTok photo search and tell me what changed since last week.
- Check TikTok photo search and summarize what you find in three bullet points.
- Pull the newest data from TikTok photo search and give me the result as a table.

## How to set up TikTok photo search 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 photo 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 photo search, 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 photo search**: 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-search-photo",
    "input": {
      "keyword": "TikTok"
    }
  }'
```

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

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

## TikTok photo search tools and prices

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

## Settings you can ask for

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

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

Produce a recurring TikTok topic report from repeated category, search, or post checks. A scheduled agent can compare its collected responses and flag changes for human review.

### Research a product launch topic

For a coffee equipment launch, gather suggested searches, find public coffee creators, inspect photo results, and explore livestream topics and available LIVE categories.

### Build a public creator research shortlist

Find public cooking creators and collect photo and livestream examples for manual review. Use search suggestions and LIVE categories to broaden the topics represented in the shortlist.

### Plan a livestream series

Explore available LIVE categories and broadcasts about home baking, then find public creator accounts, related search phrases, and photo examples to inform an episode plan.

### Prepare a topic brief across formats

Research museum education through account matches, photo posts, livestream results, suggested searches, and LIVE categories. Give an editor concrete topics and public accounts to review.

## Overview

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

## TikTok photo search in other agents

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

## More n8n guides

- [TikTok music search](https://spiral.ai/integrations/n8n/tiktok-music-search)
- [TikTok profile QR code](https://spiral.ai/integrations/n8n/tiktok-profile-qr-code)
- [TikTok music details](https://spiral.ai/integrations/n8n/tiktok-music-details)
- [TikTok profile country](https://spiral.ai/integrations/n8n/tiktok-profile-country)
- [TikTok music charts](https://spiral.ai/integrations/n8n/tiktok-music-charts)
- [TikTok profile details](https://spiral.ai/integrations/n8n/tiktok-profile-details)

## Questions about TikTok photo search in n8n

**Can n8n use TikTok photo search?**

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

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

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

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

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

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

TikTok photo search runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Can this data include private TikTok content?**

TikHub says it accesses only publicly available data. Private or restricted content falls outside that stated coverage.

**Is the TikTok data guaranteed to be complete and current?**

TikHub expressly disclaims guarantees about data accuracy, completeness, reliability, and timeliness. A successful response does not establish complete TikTok coverage.

**Why can TikTok discovery results differ between searches?**

TikTok says search results and suggested terms can depend on previous interactions, language, location, and how well content matches the query. Results should therefore be read as a discovery view rather than a platform-wide ranking.

**Does public TikTok content show every audience comment?**

No. TikTok lets creators filter all comments, keeping them hidden until approved, so visible discussions can exclude submitted feedback.

**Does access grant permission to republish TikTok content?**

TikHub’s terms say retrieved content may remain subject to third-party intellectual property rights. Data access alone does not establish republication rights.

