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

n8n · Social Media

How to Use TikTok email hash in n8n

Returns a TikTok Web hashed ID string generated from an email address. Use it when developing a request workflow that needs that value.

Prompts to try with TikTok email hash in n8n

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

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

TikTok email hashn8n
Try asking
  • Pull the latest numbers from TikTok email hash and tell me what changed since last week.

  • Check TikTok email hash and summarize what you find in three bullet points.

  • Pull the newest data from TikTok email hash and give me the result as a table.

  • Check TikTok email hash every morning and tell me only when something changed.

How to set up TikTok email hash 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 email hash in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds TikTok email hash, 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 email hash

    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-generate-hashed-id",
        "input": {
          "email": "[email protected]"
        }
      }'

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

TikTok email hash providers and prices

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

TikHubSocial Media
TikTok Web · Generate hashed ID
tikhub/tiktok-web-generate-hashed-id

What can you do with TikTok email hash in n8n?

Produce a recurring report on changes observed in a public brand's TikTok data. A scheduled agent can compare retrieved content lists and profile responses, or resolve a public LIVE link when preparing a broadcast record.

Create TikTok response fixtures

Collect actual responses for an internal parser test suite: account profiles, content lists, extracted identifiers, generated email hashes, and web device ID responses.

Debug a TikTok data importer

Inspect the actual response at each failing stage: link resolution, hash generation, web device ID generation, profile retrieval, or content-list retrieval. Use those responses to locate the parser or identifier mismatch.

Prepare identifiers for request development

Generate email hashes and web device IDs for internal TikTok request experiments. Resolve public profile, video, and LIVE links into the corresponding account, video, and room identifiers.

Build an internal TikTok identifier inspector

Give developers a place to inspect generated email hashes, web device ID responses, and identifiers extracted from public account, video, or LIVE links.

Questions about TikTok email hash in n8n

Can n8n use TikTok email hash?

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

How much does TikTok email hash 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 email hash in n8n?

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

How long does it take to set up TikTok email hash in n8n?

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

Does n8n wait while TikTok email hash runs?

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

Can TikHub retrieve private TikTok content?

TikHub states that it accesses only publicly available data. Its documented scope excludes private, restricted, and password-protected content.

Does TikHub guarantee that TikTok data is complete and current?

TikHub disclaims guarantees of data accuracy, completeness, reliability, and timeliness. A returned content list therefore carries no guarantee of complete historical coverage or immediate updates.

How many TikTok posts can one page contain?

TikTok creator posts returns up to 15 posts per page, ordered newest first. The deprecated sorting setting does not change that order.

Can I request larger pages of TikTok reposts?

TikTok creator reposts uses a fixed page size of 20. TikHub explicitly says that this size cannot be changed.

What use does TikHub's license permit?

TikHub's service license specifies lawful internal business purposes. TikTok's U.S. terms separately prohibit automated scripts that collect information from or interact with its services.

Get started

Start using TikTok email hash 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