[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [TikTok user ID lookup](https://spiral.ai/integrations/perplexity/tiktok-user-id-lookup)

# How to Use TikTok user ID lookup in Perplexity

Returns the numeric TikTok user ID associated with a profile link. Use it to match a public brand or creator account against records that store numeric IDs instead of usernames.

|  |  |
| --- | --- |
| Model | TikTok user ID lookup |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TikTok user ID lookup in Perplexity

- Use TikTok user ID lookup for https://www.tiktok.com/@tiktok and show the numeric account ID beside the profile link.
- Use TikTok user ID lookup for https://www.tiktok.com/@netflix and return its numeric ID for my internal account sheet.
- Use TikTok user ID lookup to look this up and give me the result as a table.
- Pull the latest numbers from TikTok user ID lookup and tell me what changed since last week.
- Check TikTok user ID lookup and summarize what you find in three bullet points.

## How to set up TikTok user ID lookup in Perplexity

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

### Use the Perplexity connector

1. **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:

```text
https://api.spiral.ai/mcp
```

2. **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

1. **Send Perplexity 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run TikTok user ID lookup**: One request; the result comes back by polling or a webhook.

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

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/perplexity

## TikTok user ID lookup tools and prices

- [TikTok Web · Extract user user_id](https://spiral.ai/tools/tikhub/tikhub/tiktok-web-get-user-id) (TikHub): $0.0013 per request.

## What can you do with TikTok user ID lookup in Perplexity?

Turn a public brand's TikTok profile link into an account reference you can put in a campaign brief. Ask for the readable username or numeric user ID according to what the brief needs.

### 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.

### Match accounts to numeric records

Resolve public business profile links into numeric TikTok IDs and join them to an internal table that already uses those IDs.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Perplexity guides](https://spiral.ai/integrations/perplexity)

## TikTok user ID lookup in other agents

- [Amp](https://spiral.ai/integrations/amp/tiktok-user-id-lookup)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/tiktok-user-id-lookup)
- [Claude](https://spiral.ai/integrations/claude-desktop/tiktok-user-id-lookup)
- [Claude Code](https://spiral.ai/integrations/claude-code/tiktok-user-id-lookup)
- [Cline](https://spiral.ai/integrations/cline/tiktok-user-id-lookup)
- [Codex](https://spiral.ai/integrations/codex/tiktok-user-id-lookup)
- [Cursor](https://spiral.ai/integrations/cursor/tiktok-user-id-lookup)
- [Devin](https://spiral.ai/integrations/devin/tiktok-user-id-lookup)
- [dots](https://spiral.ai/integrations/dots/tiktok-user-id-lookup)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/tiktok-user-id-lookup)
- [Gemini](https://spiral.ai/integrations/gemini/tiktok-user-id-lookup)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/tiktok-user-id-lookup)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/tiktok-user-id-lookup)
- [goose](https://spiral.ai/integrations/goose/tiktok-user-id-lookup)
- [Grok](https://spiral.ai/integrations/grok/tiktok-user-id-lookup)
- [Grok Build](https://spiral.ai/integrations/grok-build/tiktok-user-id-lookup)
- [Hermes](https://spiral.ai/integrations/hermes/tiktok-user-id-lookup)
- [Instinct](https://spiral.ai/integrations/instinct/tiktok-user-id-lookup)
- [Manus](https://spiral.ai/integrations/manus/tiktok-user-id-lookup)
- [Muse](https://spiral.ai/integrations/muse/tiktok-user-id-lookup)
- [Muse Code](https://spiral.ai/integrations/muse-code/tiktok-user-id-lookup)
- [n8n](https://spiral.ai/integrations/n8n/tiktok-user-id-lookup)
- [Notion](https://spiral.ai/integrations/notion/tiktok-user-id-lookup)
- [OpenClaw](https://spiral.ai/integrations/openclaw/tiktok-user-id-lookup)
- [opencode](https://spiral.ai/integrations/opencode/tiktok-user-id-lookup)
- [Raycast](https://spiral.ai/integrations/raycast/tiktok-user-id-lookup)
- [VS Code](https://spiral.ai/integrations/vscode/tiktok-user-id-lookup)
- [Windsurf](https://spiral.ai/integrations/windsurf/tiktok-user-id-lookup)
- [Zapier](https://spiral.ai/integrations/zapier/tiktok-user-id-lookup)

## More Perplexity guides

- [TikTok trending video rankings](https://spiral.ai/integrations/perplexity/tiktok-trending-video-rankings)
- [TikTok username lookup](https://spiral.ai/integrations/perplexity/tiktok-username-lookup)
- [TikTok trending video details](https://spiral.ai/integrations/perplexity/tiktok-trending-video-details)
- [TikTok username to account IDs](https://spiral.ai/integrations/perplexity/tiktok-username-to-account-ids)
- [TikTok trending posts](https://spiral.ai/integrations/perplexity/tiktok-trending-posts)
- [TikTok video AI article](https://spiral.ai/integrations/perplexity/tiktok-video-ai-article)

## Questions about TikTok user ID lookup in Perplexity

**Can Perplexity use TikTok user ID lookup?**

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

**How much does TikTok user ID lookup 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 user ID lookup in Perplexity?**

No. Spiral runs TikTok user ID lookup 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 user ID lookup in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while TikTok user ID lookup runs?**

TikTok user ID lookup runs in the background. Perplexity 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.

