[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [TikTok top search posts](https://spiral.ai/integrations/factory-droid/tiktok-top-search-posts)

# How to Use TikTok top search posts in Factory Droid

Returns TikTok Top search results containing videos and photo carousels. Use it when a topic review needs both formats; keyword search returns videos only.

|  |  |
| --- | --- |
| Model | TikTok top search posts |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TikTok top search posts in Factory Droid

- Use TikTok top search posts for 'coffee recipes' and add separate displays for videos and photo carousels.
- Scrape https://example.com/pricing with TikTok top search posts and turn it into a comparison table. Save the result in ./assets.
- Crawl the docs at https://docs.example.com with TikTok top search posts and summarize each section.
- Pull the latest posts from this blog with TikTok top search posts and list their titles and dates.
- Scrape the job listings at https://example.com/careers with TikTok top search posts and give me a CSV.

## How to set up TikTok top search posts in Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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 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 top search posts**: 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": "scrapecreators",
    "model": "scrapecreators/tiktok-search-top",
    "input": {
      "query": "funny"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds TikTok top search posts on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## TikTok top search posts tools and prices

- [TikTok · Top Search](https://spiral.ai/tools/scrapecreators/scrapecreators/tiktok-search-top) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| trim |  | — | Set to true to get a trimmed response |
| cursor |  | — | Cursor to get more videos. Get 'cursor' from previous response. |
| region |  | — | Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country. Use 2 letter country codes like US, GB, FR, etc |
| sort_by | relevance, most-liked, date-posted | — | Sort by |
| publish_time | yesterday, this-week, this-month, last-3-months, last-6-months, all-time | — | Time Frame TikTok was posted |

## What can you do with TikTok top search posts in Factory Droid?

Build a TikTok research view that turns discovery results into a reviewable content brief. Give search suggestions, accounts, videos, and photo carousels distinct displays so the project preserves what each response represents.

### Plan a coffee brand's content calendar

Use trending posts for initial ideas, autocomplete for topic wording, keyword and hashtag searches for examples, Top search for both formats, and account search for public coffee brands and creators.

### Prepare a public creator collaboration brief

Find public cooking creators through account search. Use trending posts, autocomplete phrases, hashtag videos, keyword videos, and Top results to assemble examples of topics and formats for a proposed collaboration.

### Research a product launch

Build a reusable water bottle launch brief from topic suggestions, product searches, relevant hashtag videos, and Top results. Add public brand accounts and relevant examples discovered in the trending feed.

### Produce a weekly publishing brief

For a public museum's social team, combine trending post ideas, autocomplete wording, topic and hashtag examples, mixed-format Top results, and searches for other museum accounts.

### Expand a recipe research query

Start with autocomplete suggestions for sourdough, then research the returned phrases through keyword videos and Top posts. Keep video examples and photo carousels separate in the brief.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## TikTok top search posts in other agents

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

## More Factory Droid guides

- [TikTok song details](https://spiral.ai/integrations/factory-droid/tiktok-song-details)
- [TikTok trending hashtags](https://spiral.ai/integrations/factory-droid/tiktok-trending-hashtags)
- [TikTok simplified account posts](https://spiral.ai/integrations/factory-droid/tiktok-simplified-account-posts)
- [TikTok trending posts](https://spiral.ai/integrations/factory-droid/tiktok-trending-posts)
- [TikTok similar ads](https://spiral.ai/integrations/factory-droid/tiktok-similar-ads)
- [TikTok trending video details](https://spiral.ai/integrations/factory-droid/tiktok-trending-video-details)

## Questions about TikTok top search posts in Factory Droid

**Can Factory Droid use TikTok top search posts?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run TikTok top search posts like any built-in tool.

**How much does TikTok top search posts cost in Factory Droid?**

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

**Do I need a ScrapeCreators account to use TikTok top search posts in Factory Droid?**

No. Spiral runs TikTok top search posts on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

**How long does it take to set up TikTok top search posts in Factory Droid?**

About two minutes: add the server, then sign in, then check it.

**Does Factory Droid wait while TikTok top search posts runs?**

TikTok top search posts runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

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

ScrapeCreators documents public data extraction only. These discovery tools should not be used as a way to obtain private TikTok content.

**How fresh is the TikTok data?**

ScrapeCreators describes extraction as real time, retrieving the latest public data from the source.

**Can TikTok search return the same post more than once?**

Yes. The hashtag and keyword search documentation explicitly warns about duplicate results, so remove repeated post IDs before counting posts.

**Does selecting a country mean every post comes from there?**

No. The documented country behavior can help access country-restricted posts, but it does not filter posts by origin.

**Can TikTok discovery include photo carousels?**

Yes. TikTok Top search includes videos and photo carousels, while keyword search returns videos only.

