How to Use TikTok video metrics in Grok Build
Returns a TikTok video's views, likes, comments, favorites, and performance overview, with documented 14-day trend fields. Use it to measure post performance and compare engagement across selected videos.
Prompts to try with TikTok video metrics in Grok Build
Copy an example into Grok Build, or ask in your own words.
Use TikTok video metrics for video 7502551047378832671 and add a table of views, likes, comments, and favorites to this project.
Use TikTok video metrics for video 7502551047378832671 and add a chart for any returned daily trends, using the response's dates as labels.
Use TikTok video metrics to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from TikTok video metrics and tell me what changed since last week.
Check TikTok video metrics and summarize what you find in three bullet points.
How to set up TikTok video metrics in Grok Build
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.
grok mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.
- Check it
grok mcp doctor spiral
Use the Spiral skill
- Send Grok Build this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run TikTok video metrics
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-analytics-fetch-video-metrics", "input": { "item_id": "7502551047378832671" } }'
Then paste one of the prompts above: Grok Build finds TikTok video metrics on Spiral, shows the price and runs it.
TikTok video metrics providers and prices
Spiral runs TikTok video metrics through TikHub. Open a card for today's price, with every fee included.
What can you do with TikTok video metrics in Grok Build?
Build a TikTok reporting view that turns comment themes, creator milestones, or post engagement into evidence an editor can review. A coding agent can add tables and comparisons to your project using the returned data.
Prepare a creator partnership brief
Combine dated account milestones and follower totals with selected video results and audience comment themes to prepare questions for a public creator partnership.
Write a campaign review
Report engagement on selected campaign videos, summarize the feedback in matching comments, and add account totals and milestones as context.
Compare public brand accounts
Compare a chosen set of brands using account totals, dated milestones, selected post metrics, and comment themes. Keep the comparison tied to the accounts and videos reviewed.
Plan the next content brief
Use audience questions from comments and engagement on selected posts to propose follow-up videos. Include account milestones when choosing whether a retrospective or celebration fits the brief.
Build a weekly brand report
Compare retrieved account totals, video engagement, and comment themes with earlier saved results to show what changed for a public business account.
Create a public creator case study
Build a dated account timeline, describe engagement on selected example videos, and summarize the audience feedback returned for those posts.
More on TikTok video metrics and Grok Build
Overview
TikTok video metrics in other agents
Questions about TikTok video metrics in Grok Build
Can Grok Build use TikTok video metrics?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run TikTok video metrics like any built-in tool.
How much does TikTok video metrics cost in Grok Build?
$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 Build plan is separate.
Do I need a TikHub account to use TikTok video metrics in Grok Build?
No. Spiral runs TikTok video metrics 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 metrics in Grok Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while TikTok video metrics runs?
TikTok video metrics runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.
Can this retrieve private TikTok content?
TikHub says it excludes private, restricted, and password-protected content. Its stated coverage boundary is publicly accessible source data.
Do repeated requests return the same saved data?
TikHub says endpoint requests retrieve fresh data, including when the request is repeated. That is its stated retrieval behavior, rather than a documented TikTok update interval.
Are TikTok results guaranteed to be complete and current?
No. TikHub's terms explicitly decline guarantees of accuracy, completeness, and currency, which qualifies the FAQ's fresh-data description.
Does reopening a cached response refresh its contents?
The cache preserves the exact response for 24 hours. Reopening it provides that saved result rather than an updated TikTok snapshot.
Does public TikTok data come with unrestricted reuse rights?
TikHub places downstream compliance on the customer, including TikTok's terms and applicable privacy and intellectual property laws. Public availability alone does not establish unrestricted reuse rights.
Start using TikTok video metrics in Grok Build
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok Build:
set up https://spiral.ai/SKILL.md


