[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [TikTok Shop product ID from share link](https://spiral.ai/integrations/n8n/tiktok-shop-product-id-from-share-link)

# How to Use TikTok Shop product ID from share link in n8n

Returns a product ID and its corresponding product link from a TikTok Shop share link. Use it to identify a shared listing before requesting its details or reviews.

|  |  |
| --- | --- |
| Model | TikTok Shop product ID from share link |
| Available through | TikHub |
| Category | E-commerce |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with TikTok Shop product ID from share link in n8n

- Every Monday at 9am: use TikTok Shop product ID from share link to look this up and give me the result as a table.
- Pull the latest numbers from TikTok Shop product ID from share link and tell me what changed since last week.
- Check TikTok Shop product ID from share link and summarize what you find in three bullet points.
- Pull the newest data from TikTok Shop product ID from share link and give me the result as a table.
- Check TikTok Shop product ID from share link every morning and tell me only when something changed.

## How to set up TikTok Shop product ID from share link 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:

```text
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:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run TikTok Shop product ID from share link in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds TikTok Shop product ID from share link, 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.

```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 Shop product ID from share link**: 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-shop-web-fetch-product-id-by-share-link",
    "input": {
      "share_link": "https://affiliate-us.tiktok.com/api/v1/share/AJ4hS3OdXmSg"
    }
  }'
```

Then paste one of the prompts above: n8n finds TikTok Shop product ID from share link on Spiral, shows the price and runs it.

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

## TikTok Shop product ID from share link tools and prices

- [TikTok Shop · Get Product ID by Share Link](https://spiral.ai/tools/tikhub/tikhub/tiktok-shop-web-fetch-product-id-by-share-link) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| region |  | US | Region code: US/SG/MY/PH/TH/VN/ID/JP/MX; GB and BR are unavailable |

## What can you do with TikTok Shop product ID from share link in n8n?

Produce a recurring TikTok Shop buying brief showing newly observed listings and changes in returned product feedback. A scheduled agent can repeat market-specific discovery and review checks while avoiding claims that feed position represents sales rank.

### Prepare a campaign product brief

Identify shared products or candidates from the hot-selling feed, then assemble listing facts and review themes for an internal campaign brief. Preserve existing compact lookup results only as part of maintaining an established workflow.

### Maintain an existing product research pipeline

Check that discovery results, category mappings, shared links, product lookups, and review records still join to the intended listings. Migrate deprecated compact lookups and verify that response changes do not silently remove useful data.

### Check product identity across shared links

Resolve shared links to product IDs before comparing listing records, so repeated links do not become separate products. For an existing compact lookup, compare its returned identity information during migration to the current product-detail endpoint.

### Build a weekly buying shortlist

Combine shared product suggestions with keyword, category, and hot-selling discovery. Add review evidence to each candidate and produce an internal shortlist for the buying team.

### Reconcile product research sources

Join products discovered through links, keywords, categories, and the hot-selling feed by product ID. Attach product details and reviews to create one internal research record per listing.

## Overview

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

## TikTok Shop product ID from share link in other agents

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

## More n8n guides

- [TikTok Shop keyword suggestions](https://spiral.ai/integrations/n8n/tiktok-shop-keyword-suggestions)
- [TikTok Shop product details](https://spiral.ai/integrations/n8n/tiktok-shop-product-details)
- [TikTok Shop hot-selling products](https://spiral.ai/integrations/n8n/tiktok-shop-hot-selling-products)
- [TikTok Shop product page data](https://spiral.ai/integrations/n8n/tiktok-shop-product-page-data)
- [TikTok Shop compact product details](https://spiral.ai/integrations/n8n/tiktok-shop-compact-product-details)
- [TikTok Shop product reviews](https://spiral.ai/integrations/n8n/tiktok-shop-product-reviews)

## Questions about TikTok Shop product ID from share link in n8n

**Can n8n use TikTok Shop product ID from share link?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run TikTok Shop product ID from share link like any built-in tool.

**How much does TikTok Shop product ID from share link 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 Shop product ID from share link in n8n?**

You need no TikHub account. n8n uses one Spiral API key for every tool, and Spiral runs TikTok Shop product ID from share link on its own TikHub account.

**How long does it take to set up TikTok Shop product ID from share link in n8n?**

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

**Does n8n wait while TikTok Shop product ID from share link runs?**

TikTok Shop product ID from share link runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Is this public TikTok Shop data?**

TikHub states that it accesses only publicly available data. The source boundary is public content rather than restricted platform information.

**How fresh and complete is the data?**

TikHub disclaims guarantees of accuracy, completeness, reliability, and timeliness. Its terms do not promise that a returned TikTok Shop result is a complete or current record.

**Does TikTok Shop provide a fixed bestseller ranking here?**

The hot-selling feed does not provide sales-ranking fields, and its order can change. A product's position in that response is not a documented sales rank.

**Will one product search return the whole assortment?**

TikHub documents variable page sizes for product search and batches of fewer than 20 products for category browsing. Category browsing should stop when there are no more results or no new products.

**Are the same product details available for every listing?**

Product page fields vary by product and region. Even the current product-detail endpoint can return different page structures, so a single fixed structure is not guaranteed.

