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

n8n · Social Media

How to Use TikTok username lookup in n8n

Returns the TikTok username associated with a profile link. Use it to label a public brand or creator account with its handle when you need a readable account reference.

Prompts to try with TikTok username lookup in n8n

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

Every Monday, use TikTok username lookup for https://www.tiktok.com/@duolingo and report whether the returned username matches duolingo.

TikTok username lookupn8n
Try asking
  • Before each monthly account review, use TikTok username lookup for https://www.tiktok.com/@nasa and report the returned username or lookup failure.

  • Each Monday, use TikTok username lookup for https://www.tiktok.com/@ryanair and include the returned username and supplied profile link in the account review.

  • Every Monday at 9am: use TikTok username lookup to look this up and give me the result as a table.

  • Pull the latest numbers from TikTok username lookup and tell me what changed since last week.

How to set up TikTok username lookup in n8n

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

Use the Spiral skill

  1. Send n8n 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 Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run TikTok username lookup in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds TikTok username lookup, prices it and runs it each time the step fires.

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 username lookup

    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-web-get-unique-id",
        "input": {
          "url": "https://www.tiktok.com/@tiktok"
        }
      }'

Then paste one of the prompts above: n8n finds TikTok username lookup on Spiral, shows the price and runs it.

TikTok username lookup providers and prices

Spiral runs TikTok username lookup through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok Web · Get user unique_id
tikhub/tiktok-web-get-unique-id

What can you do with TikTok username lookup in n8n?

Produce a recurring comparison between resolved TikTok account references and your saved public brand account list. Report identifier mismatches or lookup failures for review before the next campaign handoff.

Prepare a campaign account sheet

Turn public brand profile links into the account references your campaign team uses, whether readable usernames or numeric IDs.

Reconcile a brand account import

Resolve profile links from an incoming account list and compare the returned identifiers with existing internal records before importing duplicates.

Prepare account references for research

Resolve the username or numeric ID for a public publisher account before passing its reference to a separate research workflow.

Check a business account handoff

Compare identifiers resolved from supplied TikTok links with the account references in a campaign handoff, then flag mismatches for review.

Label an internal brand directory

Resolve public brand profile links into readable TikTok usernames for directory entries and report labels.

Questions about TikTok username lookup in n8n

Can n8n use TikTok username lookup?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run TikTok username lookup like any built-in tool.

How much does TikTok username lookup cost in n8n?

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

Do I need a TikHub account to use TikTok username lookup in n8n?

You need no TikHub account. n8n uses one Spiral API key for every tool, and Spiral runs TikTok username lookup on its own TikHub account.

How long does it take to set up TikTok username lookup in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while TikTok username lookup runs?

TikTok username lookup runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

What is the difference between a TikTok username and a user ID?

TikHub identifies unique_id as the account's username and user_id as a numeric identifier. Choose the username for readable account labels and the numeric ID for matching records that use IDs.

Can a saved TikTok profile link become outdated?

Yes. TikTok allows username changes once every 30 days, and changing the username also changes the profile link.

Does this provide access to private TikTok content?

TikHub's privacy policy says it does not access or store private, restricted, or password-protected content. An account identifier does not grant access to that content.

Are the returned identifiers guaranteed to be current and accurate?

TikHub's terms explicitly disclaim guarantees that returned data is accurate, complete, or current. A successful lookup therefore carries no guarantee of freshness.

What use does TikHub's license permit?

TikHub's service license specifies lawful internal business purposes. Keep proposed uses within that stated scope.

Get started

Start using TikTok username lookup in n8n

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

Paste this into n8n:

Set up n8n

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