# Xiaohongshu, Douyin & E-Commerce Pulse — Agent Skill

> Track trending consumer products and content angles across Xiaohongshu (RED), Douyin, Taobao/Tmall, and TikTok Shop through one unified USD balance—no fragmented regional accounts.

- **Canonical URL**: https://duang.ai/skills/china-social-ecommerce-pulse
- **Steps**: 4 live data APIs
- **Estimated cost**: From $0.009/run (~111 full runs on the $1 free welcome credit)
- **Outcome**: Cross-border product & trend comparison linking China social buzz directly to Taobao and TikTok Shop listings.
- **Works with**: Claude Code, Cursor, Claude Desktop, Codex, OpenClaw, CLI & HTTP

## Example Prompt

> Use Duang to analyze 'portable espresso maker' trends across Xiaohongshu notes, Douyin videos, Taobao listings, and TikTok Shop products—compare price bands and top selling points.

## Workflow Steps & Pricing

| Step | Capability | Starting Price | Providers |
| :--- | :--- | :--- | :--- |
| 1. Scan Xiaohongshu (RED) notes | [`xiaohongshu.notes.search`](https://duang.ai/data/xiaohongshu/notes-search) | From $0.00225 | Just One API, TikHub |
| 2. Track Douyin trending videos | [`douyin.videos.search`](https://duang.ai/data/douyin/videos-search) | From $0.00225 | Just One API |
| 3. Benchmark Taobao & Tmall supply | [`taobao.products.search`](https://duang.ai/data/taobao/products-search) | From $0.00225 | Just One API |
| 4. Compare TikTok Shop global listings | [`tiktok.shop.search`](https://duang.ai/data/tiktok-shop/search) | From $0.00225 | Just One API, Scrape Creators |

## Ready-to-Use `SKILL.md`

```markdown
---
name: china-social-ecommerce-pulse
description: "Track trending consumer products and content angles across Xiaohongshu (RED), Douyin, Taobao/Tmall, and TikTok Shop through one unified USD balance—no fragmented regional accounts."
---

# Xiaohongshu, Douyin & E-Commerce Pulse

## Prerequisites
- Connect Duang first via `https://duang.ai/SKILL.md` or remote MCP `https://api.duang.ai/mcp`.
- Never ask the user to paste raw third-party API keys into chat—Duang executes managed calls from the team USD balance (new teams start with $1 free) or connected team vault accounts.

## Workflow Steps
1. **Scan Xiaohongshu (RED) notes** — call `xiaohongshu.notes.search` (providers: Just One API, TikHub)
   - Goal: Capture organic consumer sentiment, visual angles, and rising search terms on Xiaohongshu.
   - Example input: `{"query":"便携咖啡机","limit":10}`
2. **Track Douyin trending videos** — call `douyin.videos.search` (providers: Just One API)
   - Goal: Spot viral short-video demos, engagement spikes, and creator hooks on Douyin.
   - Example input: `{"query":"便携咖啡机","limit":10}`
3. **Benchmark Taobao & Tmall supply** — call `taobao.products.search` (providers: Just One API)
   - Goal: Check domestic retail pricing, sales tiers, and SKU positioning on Taobao/Tmall.
   - Example input: `{"query":"便携咖啡机","limit":10}`
4. **Compare TikTok Shop global listings** — call `tiktok.shop.search` (providers: Just One API, Scrape Creators)
   - Goal: Cross-check overseas pricing, demand, and listing positioning on TikTok Shop.
   - Example input: `{"query":"portable espresso maker","region":"US","limit":10}`

## Output Requirements
- Cross-border product & trend comparison linking China social buzz directly to Taobao and TikTok Shop listings.
- Cite the exact source URLs and note the Duang provider and USD receipt returned by each call.
- If any step fails due to an upstream error, report it clearly (failed upstream calls cost $0 on Duang) rather than fabricating data.
```

## CLI Pipeline

```bash
npx @fastagent-sh/duang call xiaohongshu.notes.search --input '{"query":"便携咖啡机","limit":10}'
npx @fastagent-sh/duang call douyin.videos.search --input '{"query":"便携咖啡机","limit":10}'
npx @fastagent-sh/duang call taobao.products.search --input '{"query":"便携咖啡机","limit":10}'
npx @fastagent-sh/duang call tiktok.shop.search --input '{"query":"portable espresso maker","region":"US","limit":10}'
```

## Frequently Asked Questions

### How much does the China Social & E-Com skill cost to run?

Running all 4 steps once starts at From $0.009/run—meaning the $1 free welcome credit for new teams covers roughly 111 full runs. You never pay monthly vendor subscriptions, virtual credits are never used, and failed upstream or platform calls cost $0.

### How do I install the China Social & E-Com skill in Claude Code, Cursor, or Codex?

First connect Duang once (paste `https://api.duang.ai/mcp` as a remote MCP server or tell your agent `set up https://duang.ai/SKILL.md`). Then save the SKILL.md snippet above into your project's skills folder or paste the prompt directly.

### Which Duang data APIs does this skill chain together?

This workflow combines 4 normalized Duang capabilities: xiaohongshu.notes.search, douyin.videos.search, taobao.products.search, tiktok.shop.search. You can inspect schemas, test any individual step live in your browser, or swap to your own provider keys anytime.
