[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [TikTok trending posts](https://spiral.ai/integrations/grok/tiktok-trending-posts)

# How to Use TikTok trending posts in Grok

Returns posts from TikTok's trending feed, including captions and engagement counts. Use it to discover content ideas before choosing a search term or hashtag.

|  |  |
| --- | --- |
| Model | TikTok trending 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 trending posts in Grok

- Use TikTok trending posts to find returned captions about food or travel and summarize the content ideas they suggest.
- Scrape https://example.com/pricing with TikTok trending posts and turn it into a comparison table.
- Crawl the docs at https://docs.example.com with TikTok trending posts and summarize each section.
- Pull the latest posts from this blog with TikTok trending posts and list their titles and dates.
- Scrape the job listings at https://example.com/careers with TikTok trending posts and give me a CSV.

## How to set up TikTok trending posts 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.

```text
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.

```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 trending 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-get-trending-feed",
    "input": {
      "region": "US"
    }
  }'
```

Then paste one of the prompts above: Grok finds TikTok trending posts on Spiral, shows the price and runs it.

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

## TikTok trending posts tools and prices

- [TikTok · Trending Feed](https://spiral.ai/tools/scrapecreators/scrapecreators/tiktok-get-trending-feed) (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. |

## What can you do with TikTok trending posts in Grok?

Turn TikTok discovery results into a content brief for a public brand or publication. Summarize the returned examples and search phrases while keeping account matches separate from post results.

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

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Grok guides](https://spiral.ai/integrations/grok)

## TikTok trending posts in other agents

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

## More Grok guides

- [TikTok trending hashtags](https://spiral.ai/integrations/grok/tiktok-trending-hashtags)
- [TikTok trending video details](https://spiral.ai/integrations/grok/tiktok-trending-video-details)
- [TikTok top search posts](https://spiral.ai/integrations/grok/tiktok-top-search-posts)
- [TikTok trending video rankings](https://spiral.ai/integrations/grok/tiktok-trending-video-rankings)
- [TikTok song details](https://spiral.ai/integrations/grok/tiktok-song-details)
- [TikTok user ID lookup](https://spiral.ai/integrations/grok/tiktok-user-id-lookup)

## Questions about TikTok trending posts in Grok

**Can Grok use TikTok trending posts?**

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

**How much does TikTok trending posts cost in Grok?**

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

**Do I need a ScrapeCreators account to use TikTok trending posts in Grok?**

No. Spiral runs TikTok trending 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 trending posts 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 trending posts runs?**

TikTok trending posts runs in the background. Grok 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.

