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

opencode · Social Media

How to Use TikTok App Get information of specified user in opencode

Fetch a public TikTok account's profile and audience counts. Use it to compare known creators or refresh a brand account record; published videos and account country require separate lookups.

Prompts to try with TikTok App Get information of specified user in opencode

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

Use TikTok creator profile for @duolingo and @ryanair, then add a comparison of their returned audience counts to this project's brand report.

TikTok App Get information of specified useropencode
Try asking
  • Fetch @nasa with TikTok creator profile and update its existing account record in this project using the returned public profile details.

  • Use TikTok creator profile for @redbull and build a compact account summary component from the returned profile and audience counts.

  • Fetch @gymshark with TikTok creator profile, compare its audience counts with our latest saved result, and add the observed changes to the report.

  • Use TikTok creator profile for @tiktok and adapt our account importer to preserve the returned public profile details and audience counts.

How to set up TikTok App Get information of specified user 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 App Get information of specified user

    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-handler-user-profile",
        "input": {
          "user_id": ""
        }
      }'

Then paste one of the prompts above: opencode finds TikTok App Get information of specified user on Spiral, shows the price and runs it.

TikTok App Get information of specified user providers and prices

Spiral runs TikTok App Get information of specified user through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok App · Get information of specified user
tikhub/tiktok-app-v3-handler-user-profile

What can you do with TikTok App Get information of specified user in opencode?

Build a TikTok account comparison table from public profiles and audience counts. A coding agent can fit the returned data into your project's existing account records and compare it with saved checks.

Compare brand account audiences

Look up a chosen list of public brand accounts and compare their returned audience counts in one table.

Prepare a creator shortlist

Refresh the public profiles and audience counts of known creators before reviewing potential campaign partners.

Refresh a brand directory

Update existing TikTok account records with the public profile details returned for each listed brand.

Measure audience changes between saved checks

Compare newly retrieved audience counts with earlier saved results for selected business or creator accounts. Calculate changes over the observed interval.

Check a campaign's account baseline

Save participating creators' public profiles and audience counts before a campaign, then compare later checks without attributing every change to the campaign.

Populate a partnership briefing

Turn a selected creator's returned public profile and audience counts into a concise account briefing for a partnership review.

Questions about TikTok App Get information of specified user in opencode

Can opencode use TikTok App Get information of specified user?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TikTok App Get information of specified user like any built-in tool.

How much does TikTok App Get information of specified user cost in opencode?

$0.0013 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 App Get information of specified user in opencode?

No. Spiral runs TikTok App Get information of specified user 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 App Get information of specified user in opencode?

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

Does opencode wait while TikTok App Get information of specified user runs?

TikTok App Get information of specified user runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

What TikTok data is outside its coverage?

Private accounts, direct messages, and non-public analytics are excluded. The profile lookup covers public account information and audience counts.

Will repeating a lookup return cached profile data?

TikHub says repeating the same endpoint call makes a new live request rather than serving cached data. This describes retrieval behavior, not a stated schedule for when TikTok updates each counter.

Is every returned profile field documented?

No. TikHub says it documents endpoints and parameters rather than every payload key, so its reference is not an exhaustive dictionary of returned profile fields.

Does public availability give unrestricted reuse rights?

No. TikHub states that downstream use must comply with each source platform's terms, which includes TikTok's terms for TikTok data.

Get started

Start using TikTok App Get information of specified user 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