Loading...
Loading...
Compare original and translation side by side
APIFY_TOKENAPIFY_TOKEN| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| array | Optional | | TikTok URLs — user profiles, hashtags, music pages, search, locations |
| array | Optional | | Search keywords/terms to find posts |
| string | Optional | | Sort order for keyword results: |
| string | Optional | — | ISO 3166-1 alpha-2 country code for regional filtering (e.g. |
| number | Optional | Unlimited | Maximum posts to return across the run |
| boolean | Optional | | Add the matched search keyword field to each post |
| string | Optional | — | JavaScript function to transform each output object |
| 参数 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| 数组 | 可选 | | TikTok链接 — 用户主页、话题标签、音乐页面、搜索结果、地理位置页面 |
| 数组 | 可选 | | 用于查找帖子的搜索关键词/术语 |
| 字符串 | 可选 | | 关键词结果的排序方式: |
| 字符串 | 可选 | — | 用于区域筛选的ISO 3166-1 alpha-2国家代码(例如 |
| 数字 | 可选 | 无限制 | 本次运行返回的最大帖子数量 |
| 布尔值 | 可选 | | 为每个帖子添加匹配的搜索关键词字段 |
| 字符串 | 可选 | — | 用于转换每个输出对象的JavaScript函数 |
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进度:
- [ ] 步骤1:搜索TikTok Shop话题标签以筛选品类
- [ ] 步骤2:从推广帖子中提取产品信息
- [ ] 步骤3:统计每个产品的创作者推广密度
- [ ] 步骤4:为产品趋势势头打分
- [ ] 步骤5:交付爆款产品列表undefinedundefined> `APIFY_TOKEN` must be set in environment or `.env` file.
**If Apify MCP is available:**
**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}'> `APIFY_TOKEN`必须在环境变量或`.env`文件中设置。
**如果Apify MCP可用:**
**REST API备选方案:**
```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}'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.30PEAKINGSUSTAINEDFADINGpromotion_density = count(推广该产品的独特创作者数量)
total_reach = sum(所有推广帖子的播放量)
engagement_rate = sum(点赞数) / total_reach * 100
trend_score = (promotion_density / 5, 最大值1) * 0.35
+ (total_reach / 1000000, 最大值1) * 0.35
+ (engagement_rate > 3 ? 1 : engagement_rate/3) * 0.30PEAKINGSUSTAINEDFADINGLATE_STAGELATE_STAGEundefinedundefined| Product | Creators | Total Views | Avg Eng Rate | Stage | Score |
|---|
| 产品 | 创作者数量 | 总浏览量 | 平均互动率 | 阶段 | 得分 |
|---|
| Product | Creators | Total Views | Stage |
|---|
| 产品 | 创作者数量 | 总浏览量 | 阶段 |
|---|
undefinedundefined