How to Use TikTok username to account IDs in Perplexity
Returns the user_id and sec_user_id associated with a TikTok username. Use it to resolve a public brand or creator handle before account research that requires those identifiers.
Prompts to try with TikTok username to account IDs in Perplexity
Copy an example into Perplexity, or ask in your own words.
Use TikTok username to account IDs to look this up and give me the result as a table.
Pull the latest numbers from TikTok username to account IDs and tell me what changed since last week.
Check TikTok username to account IDs and summarize what you find in three bullet points.
Pull the newest data from TikTok username to account IDs and give me the result as a table.
Check TikTok username to account IDs every morning and tell me only when something changed.
How to set up TikTok username to account IDs in Perplexity
Pick the way that suits you. Each takes about two minutes.
Use the Perplexity connector
- Add a remote connector
In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Perplexity 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 username to account IDs
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-get-user-id-and-sec-user-id-by-username", "input": { "username": "tiktok" } }'
Then paste one of the prompts above: Perplexity finds TikTok username to account IDs on Spiral, shows the price and runs it.
TikTok username to account IDs providers and prices
Spiral runs TikTok username to account IDs through TikHub. Open a card for today's price, with every fee included.
What can you do with TikTok username to account IDs in Perplexity?
Prepare a TikTok brand research brief from public videos, discussions, and account records. Ask for specific brands and topics to keep the report focused.
Prepare a brand campaign brief
Find campaign videos, examine comments and reply threads, resolve the brand's account IDs, review its broadcaster account information, and search both relationship directions for named public business accounts.
Build a competitor research dossier
Research a public competitor's videos and discussions, identify its account records, review its broadcaster information, and check for named business accounts in its followers and following results.
Research a public creator partnership
Find relevant videos and audience discussions, resolve the creator's handle, inspect broadcaster account information, and search for a prospective brand in both follower and following results.
Prepare an agency account handoff
Assemble public account identifiers, broadcaster information, campaign search results, comment discussions, and targeted searches for business accounts in the client's followers and following results.
Resolve public business handles
Convert known brand usernames into TikTok account IDs for a business research directory.
More on TikTok username to account IDs and Perplexity
Overview
TikTok username to account IDs in other agents
Questions about TikTok username to account IDs in Perplexity
Can Perplexity use TikTok username to account IDs?
Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run TikTok username to account IDs like any built-in tool.
How much does TikTok username to account IDs cost in Perplexity?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Perplexity plan is separate.
Do I need a TikHub account to use TikTok username to account IDs in Perplexity?
No. Spiral runs TikTok username to account IDs 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 username to account IDs in Perplexity?
About two minutes: add a remote connector, then sign in to Spiral and approve.
Does Perplexity wait while TikTok username to account IDs runs?
TikTok username to account IDs runs in the background. Perplexity starts the run, checks on it and gives you the json when it's ready.
What TikTok data is available?
The service returns publicly available TikTok data and is read-only. These results support research into public content and accounts.
How many comments should I request at once?
For comment retrieval, the documentation recommends 30 or fewer per call.
How do I collect more video comments?
Continue with the cursor returned by the previous response. The video-comments documentation explicitly describes this pagination method.
What does a username lookup return?
It returns two TikTok account identifiers: user_id and sec_user_id.
Start using TikTok username to account IDs in Perplexity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Perplexity:
set up https://spiral.ai/SKILL.md


