Spiral gives your agent every tool with one account. Browse the tools →

n8n · Social Media

How to Use TikTok top search posts in n8n

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

Prompts to try with TikTok top search posts in n8n

Copy an example into n8n, or ask in your own words.

Every Monday at 9am: scrape https://example.com/pricing with TikTok top search posts and turn it into a comparison table.

TikTok top search postsn8n
Try asking
  • 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.

  • Scrape the changelog at https://example.com/changelog with TikTok top search posts and list this month's changes.

How to set up TikTok top search posts 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:

    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:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run TikTok top search posts in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds TikTok top search posts, 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.

    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.

    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: n8n finds TikTok top search posts on Spiral, shows the price and runs it.

TikTok top search posts providers and prices

Spiral runs TikTok top search posts through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
TikTok · Top Search
scrapecreators/tiktok-search-top

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Trimon or off

Set to true to get a trimmed response

Cursora number

Cursor to get more videos. Get 'cursor' from previous response.

Sort byrelevance, most-liked, or date-posted

Sort by

Publish timeyesterday, this-week, this-month, last-3-months, last-6-months, or all-time

Time Frame TikTok was posted

Every API field of TikTok · Top Search is on its tool page: open its card above.

What can you do with TikTok top search posts in n8n?

Produce a recurring TikTok discovery brief for a brand's editorial meeting. Compare returned posts, account matches, or autocomplete phrases with earlier runs to identify additions worth reviewing.

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.

Questions about TikTok top search posts in n8n

Can n8n use TikTok top search posts?

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

How much does TikTok top search posts cost in n8n?

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 n8n plan is separate.

Do I need a ScrapeCreators account to use TikTok top search posts in n8n?

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

How long does it take to set up TikTok top search posts in n8n?

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

Does n8n wait while TikTok top search posts runs?

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

Get started

Start using TikTok top search posts in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options