[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [TikTok email hash](https://spiral.ai/integrations/gemini/tiktok-email-hash)

# How to Use TikTok email hash in Gemini

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

|  |  |
| --- | --- |
| Model | TikTok email hash |
| 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 email hash in Gemini

- Use TikTok email hash to look this up and give me the result as a table.
- 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 Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

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

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 email hash**: 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-generate-hashed-id",
    "input": {
      "email": "test@example.com"
    }
  }'
```

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

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

## TikTok email hash tools and prices

- [TikTok Web · Generate hashed ID](https://spiral.ai/tools/tikhub/tikhub/tiktok-web-generate-hashed-id) (TikHub): $0.0013 per request.

## What can you do with TikTok email hash in Gemini?

Prepare a TikTok brand brief from returned profile information and content lists. A chat app can compare an account's published posts, playlist organization, and reposts, or extract identifiers from links supplied in the brief.

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

## Overview

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

## TikTok email hash in other agents

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

## More Gemini guides

- [TikTok direct message link](https://spiral.ai/integrations/gemini/tiktok-direct-message-link)
- [TikTok fake view analysis](https://spiral.ai/integrations/gemini/tiktok-fake-view-analysis)
- [TikTok daily trending searches](https://spiral.ai/integrations/gemini/tiktok-daily-trending-searches)
- [TikTok follower search](https://spiral.ai/integrations/gemini/tiktok-follower-search)
- [TikTok creator videos](https://spiral.ai/integrations/gemini/tiktok-creator-videos)
- [TikTok following list](https://spiral.ai/integrations/gemini/tiktok-following-list)

## Questions about TikTok email hash in Gemini

**Can Gemini use TikTok email hash?**

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

**How much does TikTok email hash cost in Gemini?**

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

**Do I need a TikHub account to use TikTok email hash in Gemini?**

No. Spiral runs TikTok email hash 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 email hash in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while TikTok email hash runs?**

TikTok email hash runs in the background. Gemini 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.

