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

opencode · Social Media

How to Use TikTok fake view analysis in opencode

Returns TikHub's fake view score, estimated fake views, and main detection reason for a TikTok video. Use it to flag traffic concerns for review before relying on reported reach.

Prompts to try with TikTok fake view analysis in opencode

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

Use TikTok fake view analysis for @tiktok video 7460937381265411370 and add its score to my campaign table.

TikTok fake view analysisopencode
Try asking
  • Use TikTok fake view analysis for @tiktok video 7460937381265411370 and display the main detection reason in my report.

  • Use TikTok fake view analysis for @tiktok video 7460937381265411370 and save the estimated fake views as a labeled estimate.

  • Use TikTok fake view analysis for @tiktok video 7460937381265411370 and build a review card from the returned report.

  • Use TikTok fake view analysis for @tiktok video 7460937381265411370 and compare its score with the saved report in my project.

How to set up TikTok fake view analysis in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 fake view analysis

    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-detect-fake-views",
        "input": {
          "item_id": "7460937381265411370"
        }
      }'

Then paste one of the prompts above: opencode finds TikTok fake view analysis on Spiral, shows the price and runs it.

TikTok fake view analysis providers and prices

Spiral runs TikTok fake view analysis through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok Analytics · Detect fake views in video
tikhub/tiktok-analytics-detect-fake-views

What can you do with TikTok fake view analysis in opencode?

Build a campaign review table from TikTok traffic risk reports. Show each score beside its detection reason.

Review campaign reach

Add a traffic risk check before accepting a sponsored video's reported reach.

Screen sponsorship examples

Check the public videos supplied in a creator's sponsorship proposal.

Prioritize manual reviews

Order campaign videos by score, then read the reasons behind the highest results.

Investigate a reach spike

Check whether a public brand video's traffic report gives a reason for concern.

Prepare agency reports

Include estimated fake views with clear model-based labeling in campaign reviews.

Recheck flagged videos

Compare successive reports for campaign videos already awaiting review.

Questions about TikTok fake view analysis in opencode

Can opencode use TikTok fake view analysis?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TikTok fake view analysis like any built-in tool.

How much does TikTok fake view analysis cost in opencode?

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

Do I need a TikHub account to use TikTok fake view analysis in opencode?

No. Spiral runs TikTok fake view analysis 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 fake view analysis in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while TikTok fake view analysis runs?

TikTok fake view analysis runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Where does TikHub's TikTok data come from?

TikHub describes its underlying data as publicly available social media data. The fake view count adds a model-based estimate to that data.

How fresh is the analysis?

TikHub says every request retrieves fresh, real-time data, even when repeated with identical inputs. This is the provider's freshness claim.

What does the fake view score mean?

TikHub uses a 0 to 100 scale, with lower scores indicating less risk. Read it alongside the main detection reason.

Is the estimated fake view count a verified count of bots?

TikHub explicitly describes it as a calculation from its fake traffic model. Use it as an estimate when deciding which videos need review.

Why can the content category affect the result?

TikHub changes its engagement benchmarks according to the selected category. Compare videos using a category that matches their content.

Get started

Start using TikTok fake view analysis in opencode

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

Paste this into opencode:

Set up opencode

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