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

Devin · Social Media

How to Use TikTok user ID lookup in Devin

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.

Prompts to try with TikTok user ID lookup in Devin

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

Use TikTok user ID lookup for https://www.tiktok.com/@duolingo and compare the result with Duolingo's stored account ID in this project.

TikTok user ID lookupDevin
Try asking
  • Use TikTok user ID lookup for https://www.tiktok.com/@netflix and prepare a JSON record containing the profile link and returned ID.

  • Use TikTok user ID lookup to look this up and give me the result as a table. Save the result in ./assets.

  • 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 Devin

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

Use Spiral's MCP server

  1. Add a custom MCP

    Open Customize › MCPs. Click + and choose New MCP. Fill in:

  2. Sign in to Spiral and approve

    In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

  3. Check it

    On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

Use the Spiral skill

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

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

TikTok user ID lookup providers and prices

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

TikHubSocial Media
TikTok Web · Extract user user_id
tikhub/tiktok-web-get-user-id

What can you do with TikTok user ID lookup in Devin?

Populate your project's public brand account records with TikTok usernames or numeric user IDs resolved from profile links. Compare those results with existing records to prepare an import or identify mismatches.

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.

Questions about TikTok user ID lookup in Devin

Can Devin use TikTok user ID lookup?

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

How much does TikTok user ID lookup cost in Devin?

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

Do I need a TikHub account to use TikTok user ID lookup in Devin?

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 Devin?

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

Does Devin wait while TikTok user ID lookup runs?

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

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

Paste this into Devin:

Set up Devin

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