nexscope-ai/nexscope-ecommerce-skills / ecommerce-tiktok-product-discovery
ecommerce.tiktok-product-discovery
VerifiedSearch and filter TikTok global e-commerce products based on FastMoss data, supporting keyword search, multi-dimensional filtering (category, shop type, commission rate, sales, creator count, etc.) and sorting. Trigger when users mention TikTok product selection, TikTok product search, TikTok product data, TikTok creator sales, TikTok commission rate, TikTok bestseller tracking, TikTok GMV analysis, TikTok product search, TikTok product research, TikTok creator sales, TikTok commission rate, TikTok GMV analysis, FastMoss. Even if the user does not explicitly mention "FastMoss", trigger this skill whenever their need involves searching product data or analyzing product performance on TikTok.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.9 KB |
| manifest.json | config | 273 B |
| references/api.md | markdown | 7.8 KB |
| scripts/tiktok_product_discovery.py | script | 6.6 KB |
references/api.md
View on GitHub# FastMoss TikTok Product Discovery API Reference
## API Specification
- **Endpoint**: `${NEXSCOPE_PROXY_BASE}/api/v1/tools/research/fastmoss/productSearch`
- **HTTP Method**: POST, Content-Type: application/json
- **Authentication**: Header `Authorization: <api_key>`, api_key is read from environment variable `NEXSCOPE_API_KEY` or `NEXSCOPE_API_KEY` (if not configured, follow the **## Resolving Authentication and Credit Issues** section in SKILL.md)
## Request Parameters
POST Body (JSON):
| Parameter | Type | Required | Description |
|------|------|------|------|
| keyword | string | No | Search keyword (fuzzy match on product title) |
| region | string | No | Market region code. Options: US (United States), GB (United Kingdom), MX (Mexico), ES (Spain), DE (Germany), IT (Italy), FR (France), ID (Indonesia), VN (Vietnam), MY (Malaysia), TH (Thailand), PH (Philippines), BR (Brazil), JP (Japan), SG (Singapore) |
| category | string | No | English category name, automatically matched to TikTok category ID. Non-English input must be translated to English first |
| shopType | integer | No | Store type: 1=local store, 2=cross-border store |
| isTopSelling | boolean | No | Filter hot-selling products only |
| isNewListed | boolean | No | Filter newly listed products only |
| isSshop | boolean | No | Filter TikTok fully managed (S-shop) products only |
| isFreeShipping | boolean | No | Filter free shipping products only |
| isLocalWarehouse | boolean | No | Filter local warehouse shipping products only |
| unitsSoldRange | object | No | Sales volume range filter, format: `{"min": 100, "max": 5000}` |
| commissionRateRange | object | No | Commission rate range filter, format: `{"min": 0.05, "max": 0.20}` (decimal, 0.10=10%) |
| creatorCountRange | object | No | Creator count range filter, format: `{"min": 10, "max": 500}` |
| orderField | string | No | Sort field: day7_units_sold (7-day sales), day7_gmv (7-day GMV), commission_rate (commission rate), total_units_sold (total sales), total_gmv (total GMV), creator_count (creator count). Default descending order |
| page | integer | No | Page number, default 1 |
| pageSize | integer | No | Items per page, max 10, default 10 |
## Nexscope response envelope
These research endpoints return a platform object with numeric `code`, nullable `msg`, and business `data`. Only outer `code: 0` means success; `200`, string codes, missing codes, and HTTP 200 alone do not. A nonzero code is a platform error: show `msg` and do not interpret the payload as a successful result.
`msg` preserves the upstream message when available; Chinese messages are translated to English by Nexscope. A successful response without a message has `msg: null`. Do not infer success or retry behavior from the message text. On both success and failure, the direct fields `code`, `errcode`, `errorCode`, `msg`, `errmsg`, `message`, and `errorMsg` are removed from public `data`. Read the message only from outer `msg`; deeper business fields are preserved, including nested `code` and `status`.
Business field tables and abbreviated business examples below describe `data`, unless explicitly labeled as a complete platform response. For example, a business `products` field is at HTTP `data.products`, and a business `data` array is at HTTP `data.data`. The research endpoints already had this outer envelope; no additional wrapper is added.
```json
{"code":0,"msg":null,"data":{}}
```
Metadata includes string `ts` (epoch milliseconds), string `cost` (elapsed milliseconds, not credits), `time`, and nullable `traceId`. Handle network/HTTP failures before the platform code; gateway failures may not be platform JSON. Keep the existing billing-header guidance separate from elapsed time.
## Response Structure
### Top-Level Fields
| Field | Type | Description |
|------|------|------|
| total | integer | Total number of matching records |
| products | array | Product information list (see below) |
| columns | array | Render column definitions |
| type | string | Render style type |
| costToken | integer | Token cost |
### Product Object Fields (products array)
| Field | Type | Description |
|------|------|------|
| title | string | Product title |
| productId | string | Product unique identifier ID |
| region | string | Market region code |
| price | number | Product price |
| minPrice | number | Minimum price |
| maxPrice | number | Maximum price |
| currency | string | Currency code |
| totalSaleCnt | integer | Cumulative total sales |
| totalSale1dCnt | integer | 1-day sales |
| totalSale7dCnt | integer | 7-day sales |
| totalSale28dCnt | integer | 28-day sales |
| totalSale90dCnt | integer | 90-day sales |
| totalSaleGmvAmt | number | Cumulative total GMV |
| totalSaleGmv7dAmt | number | 7-day GMV |
| totalSaleGmv28dAmt | number | 28-day GMV |
| totalVideoCnt | integer | Number of promotional videos |
| totalLiveCnt | integer | Number of livestream promotions |
| totalIflCnt | integer | Number of promoting creators |
| productCommissionRate | number | Product commission rate (decimal, 0.10=10%) |
| productRating | number | Product rating |
| reviewCount | integer | Review count |
| skuCount | integer | SKU count |
| shopName | string | Store name |
| shopSellerId | string | Seller ID |
| shopTotalUnitsSold | integer | Store total sales |
| isCrossBorder | integer | Whether cross-border: 1=cross-border, 0=local |
| isSShopText | string | Whether a fully managed store (Yes/No) |
| freeShippingText | string | Whether free shipping (Yes/No) |
| availableDate | string | Listing time |
| categoryName | string | Product category name |
| salesTrendFlagText | string | Sales trend indicator |
| tiktokUrl | string | TikTok product link |
| fastmossUrl | string | FastMoss product detail link |
| imageUrl | string | Product image URL |
## Error Codes
HTTP 200 does not prove business success. Read only the numeric outer platform `code`: `0` succeeds and any other value fails. Show outer `msg`; never test removed provider codes or nested business `code` as the platform status. Authentication, permissions, balance, and validation failures may be platform errors even with HTTP 200; also handle non-2xx HTTP and non-JSON responses.
### Recovery guidance
| Condition | Action |
|---|---|
| Authentication failed | HTTP 401 or authorized error: Follow the **## Resolving Authentication and Credit Issues** section in SKILL.md. |
| Insufficient credits | HTTP 402: Follow the **## Resolving Authentication and Credit Issues** section in SKILL.md. |
## curl Example
```bash
curl -X POST ${NEXSCOPE_PROXY_BASE}/api/v1/tools/research/fastmoss/productSearch \
-H "Authorization: Bearer ${NEXSCOPE_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"keyword": "phone case",
"region": "US",
"orderField": "day7_units_sold",
"pageSize": 10
}'
```
Example with range filters:
```bash
curl -X POST ${NEXSCOPE_PROXY_BASE}/api/v1/tools/research/fastmoss/productSearch \
-H "Authorization: Bearer ${NEXSCOPE_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"keyword": "beauty",
"region": "US",
"commissionRateRange": {"min": 0.10},
"creatorCountRange": {"min": 50},
"orderField": "commission_rate",
"pageSize": 10
}'
```
---
## API Key request rate and retries
All API Keys of one Nexscope user share the public API execution request-rate allowance, measured in any rolling 1-second window. The allowed RPS depends on that user's entitlements; it is not a universal 1 RPS. One Skill operation may issue multiple public API requests, each of which uses the allowance.
HTTP 429 with Nexscope outer code `13012` means request-rate exhaustion: honor the response's `Retry-After`. Outer code `13013` means concurrent-request exhaustion, not rate exhaustion; honor `Retry-After` when supplied. Check the HTTP status and outer JSON code separately. Do not automatically replay writes or requests with uncertain outcomes; first reconcile the operation's state.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |