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

Grok · Social Media

How to Use TikTok search results in Grok

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.

Prompts to try with TikTok search results in Grok

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

Use TikTok search results to find LEGO content and organize the returned results into an internal creative research brief.

TikTok search resultsGrok
Try asking
  • 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 Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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.

    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.

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

TikTok search results providers and prices

Spiral runs TikTok search results through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok Web · Get general search list
tikhub/tiktok-web-fetch-general-search

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Offseta whole number0

Page cursor

Every API field of TikTok Web · Get general search list is on its tool page: open its card above.

What can you do with TikTok search results in Grok?

Turn TikTok discovery results or public broadcast reference data into a reviewable brief. A chat app can organize the returned examples, explain room status, or translate gift IDs into readable names.

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.

Questions about TikTok search results in Grok

Can Grok use TikTok search results?

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

How much does TikTok search results cost in Grok?

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

Do I need a TikHub account to use TikTok search results in Grok?

No. Spiral runs TikTok search results 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 search results in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while TikTok search results runs?

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

Get started

Start using TikTok search results in Grok

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

Paste this into Grok:

Set up Grok

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