Catalogskills.sh · apidojo-io

finding-tiktok-shop-trending-products

Finds trending products on TikTok Shop using apidojo's TikTok scraper on Apify. Triggers when the user asks to: find trending TikTok Shop products, discover what products are selling on TikTok Shop right now, identify viral TikTok Shop items in a category, find trending items with TikTok affiliate links, research TikTok Shop bestsellers, discover products going viral on TikTok for e-commerce, find hot items being promoted by TikTok creators, or build a trending product list from TikTok Shop data. Returns product name, creator promotion count, engagement signals, price range, and trend momentum. Ideal for TikTok Shop sellers, dropshippers, and e-commerce trend researchers.

Review advisedVerified hub800 installs

Savant verdict: Review advised

Security analysis or source-hub review identified patterns requiring attention.

Live evaluation

Not evaluated yet. Workspaces can request a live evaluation.

Security assessment

Risk score
12/100
Recommendation
CAUTION
Severity
LOW
Savant decision
Passed (low risk)
The assessment recommended caution, but its risk score is below 20/100, so Savant's policy passes it. Its findings are still listed for review. Static security analysis completed.

3 patterns found

  • Data Exfiltration: curl -X POST \ "https://api.apify.com/v2/acts/apidojo~tiktok-scraper/runs?token=%2A%2A%2A" \ -H "Content-Type: application/json" \ -dmedium · SKILL.md:88 · Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
  • Data Exfiltration: https://api.apify.com/medium · SKILL.md:89 · Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
  • Trigger Abuse: Overly Broad Triggerlow · SKILL.md:1 · Overly Broad Trigger: description clause 'Triggers when the user asks to' activates on 'to', which is too short and may match unintended inputs

Structure

  • 1 referenced file isn't in the packagescripts/run_actor.js. They may be binary, too large to catalog, or missing upstream.
  • The source hub's security checks flagged this skillGen Agent Trust Hub: warn (The skill facilitates TikTok Shop data scraping via the Apify platform. It includes a parameter that allows for the execution of arbitrary JavaScript code for data transformation, which could be exploited if malicious code is provided by a user. Additionally, the skill processes untrusted social media content, making it vulnerable to indirect prompt injection.); Snyk: warn (Risk: MEDIUM · 1 issue)

SKILL.md

---
name: finding-tiktok-shop-trending-products
description: >
  Finds trending products on TikTok Shop using apidojo's TikTok scraper on Apify.
  Triggers when the user asks to: find trending TikTok Shop products, discover what products are
  selling on TikTok Shop right now, identify viral TikTok Shop items in a category, find trending
  items with TikTok affiliate links, research TikTok Shop bestsellers, discover products going
  viral on TikTok for e-commerce, find hot items being promoted by TikTok creators, or build a
  trending product list from TikTok Shop data.
  Returns product name, creator promotion count, engagement signals, price range, and trend momentum.
  Ideal for TikTok Shop sellers, dropshippers, and e-commerce trend researchers.
license: Apache-2.0
metadata:
  author: apidojo
  version: "1.0"
  apify-actor: apidojo/tiktok-scraper
---

# Finding TikTok Shop Trending Products

Identifies products gaining momentum on TikTok Shop by analyzing creator promotion density and engagement. A product promoted by many creators simultaneously is a strong viral commerce signal.

## Prerequisites

- `APIFY_TOKEN` environment variable set
- Optional: Apify MCP server installed

## Inputs

| Parameter | Type | Required | Default | Notes |
|-----------|------|----------|---------|-------|
| `startUrls` | array | Optional | `[]` | TikTok URLs — user profiles, hashtags, music pages, search, locations |
| `keywords` | array | Optional | `[]` | Search keywords/terms to find posts |
| `sortType` | string | Optional | `RELEVANCE` | Sort order for keyword results: `RELEVANCE`, `MOST_LIKED`, `DATE_POSTED` |
| `location` | string | Optional | — | ISO 3166-1 alpha-2 country code for regional filtering (e.g. `US`, `GB`) |
| `maxItems` | number | Optional | Unlimited | Maximum posts to return across the run |
| `includeSearchKeywords` | boolean | Optional | `false` | Add the matched search keyword field to each post |
| `customMapFunction` | string | Optional | — | JavaScript function to transform each output object |

## Workflow

```
Progress:
- [ ] Step 1: Search TikTok Shop hashtags for category
- [ ] Step 2: Extract products from promotional posts
- [ ] Step 3: Count creator promotion density per product
- [ ] Step 4: Score product trend momentum
- [ ] Step 5: Deliver trending product list
```

### Step 1: Search Posts


**Recommended — run_actor.js (handles waiting, output, and file saving automatically):**
```bash
# Quick answer (prints table to chat)
node scripts/run_actor.js \
  --actor "apidojo~tiktok-scraper" \
  --input '{"param": "value"}'

# Save as CSV
node scripts/run_actor.js \
  --actor "apidojo~tiktok-scraper" \
  --input '{"param": "value"}' \
  --output YYYY-MM-DD_results.csv --format csv

# Save as JSON
node scripts/run_actor.js \
  --actor "apidojo~tiktok-scraper" \
  --input '{"param": "value"}' \
  --output YYYY-MM-DD_results.json --format json
```
> `APIFY_TOKEN` must be set in environment or `.env` file.

**If Apify MCP is available:**
```
Tool: apify:run-actor
Actor: "apidojo~tiktok-scraper"
Input:
{
  "keywords": ["#tiktokshop[category]", "#[category]deals", "#tiktokmademebuyit"],
  "maxItems": 300
}
```

**REST API fallback:**
```bash
curl -X POST \
  "https://api.apify.com/v2/acts/apidojo~tiktok-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["#tiktokmademebuyit", "#skincaretiktokshop"], "maxItems": 300}'
```

### Step 2: Score Products

Group posts by product name from captions. For each product:
```
promotion_density = count(unique creators promoting product)
total_reach = sum(playCount for all promoting posts)
engagement_rate = sum(diggCount) / total_reach * 100

trend_score = (promotion_density / 5, max 1) * 0.35
            + (total_reach / 1000000, max 1) * 0.35
            + (engagement_rate > 3 ? 1 : engagement_rate/3) * 0.30
```

**Trend window:** 70%+ promotions in last 7 days = `PEAKING`; spread evenly = `SUSTAINED`; mostly > 7 days = `FADING`

### Step 3: Edge Cases

- **Product name extraction unreliable**: Extract most specific noun phrase from caption alongside shop link
- **Same product different variants**: Group by product name similarity; sum reach across variants
- **Saturated trend** (> 50 creators): Window may be closing; flag as `LATE_STAGE`
- **Counterfeit signals**: Price far below market (e.g. < $5 for normally $30+ item) → flag

## Output Format

```
# TikTok Shop Trending Products: [CATEGORY]
Posts analyzed: [N] | Unique products: [N] | Date: [DATE]

## Trending Now (Peak Momentum)
| Product | Creators | Total Views | Avg Eng Rate | Stage | Score |
|---------|---------|------------|-------------|-------|-------|

## Sustained Performers
| Product | Creators | Total Views | Stage |
|---------|---------|-----------|-------|

## Saturation Alert
[Products with > 30 creators — difficult to enter profitably]
```

## Troubleshooting

**Few products identified**: Check bio links of top promoting creators for product page.
**Trend already peaked**: Run every 3-4 days to catch trends early.
**Suspicious pricing**: Flag and verify before sourcing.