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

Gemini · Social Media

How to Use TikTok video data by ID in Gemini

Returns data for a single TikTok video identified by its ID. Use it to populate or refresh an individual post record in a content library.

Prompts to try with TikTok video data by ID in Gemini

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

Resolve the ID of a pinned public @nasa video and use TikTok video data by ID to retrieve and explain its returned record.

TikTok video data by IDGemini
Try asking
  • Use TikTok video data by ID to look this up and give me the result as a table.

  • Pull the latest numbers from TikTok video data by ID and tell me what changed since last week.

  • Check TikTok video data by ID and summarize what you find in three bullet points.

  • Pull the newest data from TikTok video data by ID and give me the result as a table.

How to set up TikTok video data by ID 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 video data by ID

    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-app-v3-fetch-one-video-v2",
        "input": {
          "aweme_id": "7350810998023949599"
        }
      }'

Then paste one of the prompts above: Gemini finds TikTok video data by ID on Spiral, shows the price and runs it.

TikTok video data by ID providers and prices

Spiral runs TikTok video data by ID through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok App · Get single video data V2
tikhub/tiktok-app-v3-fetch-one-video-v2

What can you do with TikTok video data by ID in Gemini?

Prepare a TikTok campaign brief with public video references, sound examples, creator suggestions, and share assets. A chat app can organize retrieved results into a reviewable shortlist with links back to the selected content.

Campaign research brief

Find candidate sounds, collect videos using them, and inspect reference posts by ID or shared link. Add similar public creator suggestions, returned video regions where available, profile QR codes, and short links for the review meeting.

Public creator showcase kit

Prepare an event program with public creator recommendations, selected post data, and sound examples for discussion. Retrieve posts from IDs or sharing links, check country-specific availability, and prepare profile QR codes and compact links for attendees.

Agency campaign handoff

Package researched sounds, example videos, and suggested public collaborators for a client's next production cycle. Refresh reference posts from saved IDs or links, include regional retrieval results, and supply profile QR images and short links alongside the brief.

TikTok reference library

Build a searchable collection of sound discoveries, sound-linked video samples, individual post records, and public creator suggestions. Accept post IDs or sharing links, retain returned regions where available, and attach profile QR codes and short links for browsing.

Brand post audit

Refresh selected public brand posts from their IDs or sharing links. Compare the returned records and investigate availability in the countries relevant to the campaign.

Questions about TikTok video data by ID in Gemini

Can Gemini use TikTok video data by ID?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run TikTok video data by ID like any built-in tool.

How much does TikTok video data by ID cost in Gemini?

$0.0013 per request. 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 TikHub account to use TikTok video data by ID in Gemini?

No. Spiral runs TikTok video data by ID 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 video data by ID 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 video data by ID runs?

TikTok video data by ID runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

Does TikHub provide private TikTok content?

TikHub describes its service as access to publicly available social media data. That coverage boundary does not promise access to private TikTok posts.

How fresh are TikHub's TikTok results?

TikHub says its API returns fresh, real-time data and never serves cached data through repeat endpoint calls. This is the provider's stated freshness behavior, rather than a measured TikTok update delay.

Are TikTok search results a complete inventory?

A requested page size is not a completeness guarantee: TikHub says paginated endpoints frequently return fewer items than requested. Music search also has a documented ceiling of 20 results per request.

Is TikTok content available in every country?

No. TikHub explicitly notes that some TikTok videos are unavailable in certain countries or regions, so a regional retrieval can produce a different availability result.

Does retrieving TikTok content grant permission to reuse it?

TikHub's terms say retrieved content may carry third-party intellectual property rights. TikTok also says its licenses for music outside the Commercial Music Library do not cover commercial use in content.

Get started

Start using TikTok video data by ID 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