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

Gemini · Social Media

How to Use TikTok trending posts in Gemini

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.

Prompts to try with TikTok trending posts in Gemini

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

Use TikTok trending posts to find returned captions about food or travel and summarize the content ideas they suggest.

TikTok trending postsGemini
Try asking
  • 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 Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

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

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

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

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

TikTok trending posts providers and prices

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

ScrapeCreatorsSocial Media
TikTok · Trending Feed
scrapecreators/tiktok-get-trending-feed

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Trimon or off

Set to true to get a trimmed response.

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

What can you do with TikTok trending posts in Gemini?

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.

Questions about TikTok trending posts in Gemini

Can Gemini use TikTok trending posts?

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

How much does TikTok trending posts cost in Gemini?

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

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

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 Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while TikTok trending posts runs?

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

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

Paste this into Gemini:

Set up Gemini

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