nexscope-ai/nexscope-ecommerce-skills / ecommerce-tiktok-batch-product-detail
ecommerce.tiktok-batch-product-detail
VerifiedBatch query TikTok product detail data, including multi-period sales and GMV (1d/7d/15d/30d/60d/90d/cumulative), live sales and live GMV, promoting video and creator data, views, price, rating, review count, commission rate, and delisted/fully-managed status. Supports batch retrieval by product ID or TikTok Shop product URL. Trigger when users mention TikTok product detail, batch query TikTok products, TikTok product sales analysis, TikTok product GMV, TikTok live sales, TikTok influencer sales data, TikTok product price rating, batch get TikTok product info, Nexscope product detail, TikTok product detail, batch product lookup, TikTok sales analysis, TikTok GMV, TikTok live sales, TikTok influencer data. Even if the user does not explicitly mention "Nexscope", trigger this skill whenever their need involves batch retrieval of detailed TikTok product sales and marketing data by product ID or product URL.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.5 KB |
| manifest.json | config | 306 B |
| references/api.md | markdown | 10.3 KB |
| scripts/echotik_batch_product_detail.py | script | 6.6 KB |
references/api.md
View on GitHub# Nexscope TikTok Batch Product Detail API Reference
## API Specification
- **Endpoint**: `${NEXSCOPE_PROXY_BASE}/api/v1/tools/research/echotik/batchProductDetail`
- **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 |
|------|------|------|------|
| productIds | array<string> | No* | List of product IDs (max 1000). Example: `["1729382310407603945", "1729382310407603946"]` |
| productUrls | array<string> | No* | List of product URLs (max 1000), in the form `https://shop.tiktok.com/us/pdp/<slug>/<productId>?...`; the backend will extract the trailing `productId` from each URL and merge into `productIds`, not mutually exclusive with `productIds` |
\* At least one of `productIds` or `productUrls` must be provided; both can be passed simultaneously. The combined total after merging is at most 1000 products.
## 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
| Field | Type | Description |
|------|------|------|
| total | integer | Record count |
| products | array | Product detail list (see product object below) |
| columns | array | Rendered columns |
| type | string | Render style |
| costToken | integer | Token cost |
### Product Object Fields
> Sales, GMV, livestream, video, creator, and view metrics are returned across multiple periods: `1d / 7d / 15d / 30d / 60d / 90d` and cumulative (total). Price fields are in USD.
**Basic Information**
| Field | Type | Description |
|------|------|------|
| productId | string | Product ID |
| productName | string | Product name |
| imageUrl | string | Product image |
| productImageUrls | array | Product image URL list |
| region | string | Region code |
| sellerId | string | Seller ID |
| categoryId | string | Primary category ID |
| categoryL2Id | string | Secondary category ID |
| categoryL3Id | string | Tertiary category ID |
**Price / Rating / Commission**
| Field | Type | Description |
|------|------|------|
| minPrice | number | Minimum SKU price (USD) |
| maxPrice | number | Maximum SKU price (USD) |
| spuAvgPrice | number | SPU average price (USD) |
| productRating | number | Product rating |
| reviewCount | integer | Review count |
| productCommissionRate | number | Product commission rate |
**Sales (multi-period)**
| Field | Type | Description |
|------|------|------|
| totalSaleCnt | integer | Total sales |
| totalSale1dCnt | integer | Sales in last 1 day |
| totalSale7dCnt | integer | Sales in last 7 days |
| totalSale15dCnt | integer | Sales in last 15 days |
| totalSale30dCnt | integer | Sales in last 30 days |
| totalSale60dCnt | integer | Sales in last 60 days |
| totalSale90dCnt | integer | Sales in last 90 days |
**GMV (multi-period)**
| Field | Type | Description |
|------|------|------|
| totalSaleGmvAmt | number | Total GMV |
| totalSaleGmv1dAmt | number | GMV in last 1 day |
| totalSaleGmv7dAmt | number | GMV in last 7 days |
| totalSaleGmv15dAmt | number | GMV in last 15 days |
| totalSaleGmv30dAmt | number | GMV in last 30 days |
| totalSaleGmv60dAmt | number | GMV in last 60 days |
| totalSaleGmv90dAmt | number | GMV in last 90 days |
**Livestream (multi-period)**
| Field | Type | Description |
|------|------|------|
| totalLiveCnt | integer | Total livestream count |
| totalLive1dCnt | integer | Livestream count in last 1 day |
| totalLive7dCnt | integer | Livestream count in last 7 days |
| totalLive15dCnt | integer | Livestream count in last 15 days |
| totalLive30dCnt | integer | Livestream count in last 30 days |
| totalLive60dCnt | integer | Livestream count in last 60 days |
| totalLive90dCnt | integer | Livestream count in last 90 days |
**Livestream Sales / Livestream GMV (multi-period)**
| Field | Type | Description |
|------|------|------|
| totalLiveSale1dCnt | integer | Livestream sales in last 1 day |
| totalLiveSale7dCnt | integer | Livestream sales in last 7 days |
| totalLiveSale15dCnt | integer | Livestream sales in last 15 days |
| totalLiveSale30dCnt | integer | Livestream sales in last 30 days |
| totalLiveSale60dCnt | integer | Livestream sales in last 60 days |
| totalLiveSale90dCnt | integer | Livestream sales in last 90 days |
| totalLiveSaleGmv1dAmt | integer | Livestream GMV in last 1 day |
| totalLiveSaleGmv7dAmt | integer | Livestream GMV in last 7 days |
| totalLiveSaleGmv15dAmt | integer | Livestream GMV in last 15 days |
| totalLiveSaleGmv30dAmt | integer | Livestream GMV in last 30 days |
| totalLiveSaleGmv60dAmt | integer | Livestream GMV in last 60 days |
| totalLiveSaleGmv90dAmt | integer | Livestream GMV in last 90 days |
**Videos (multi-period)**
| Field | Type | Description |
|------|------|------|
| totalVideoCnt | integer | Total video count |
| totalVideo1dCnt | integer | Video count in last 1 day |
| totalVideo7dCnt | integer | Video count in last 7 days |
| totalVideo15dCnt | integer | Video count in last 15 days |
| totalVideo30dCnt | integer | Video count in last 30 days |
| totalVideo60dCnt | integer | Video count in last 60 days |
| totalVideo90dCnt | integer | Video count in last 90 days |
**Creators (multi-period)**
| Field | Type | Description |
|------|------|------|
| totalIflCnt | integer | Total creator count |
| totalIflVideo1dCnt | integer | Creator video count in last 1 day |
| totalIflVideo7dCnt | integer | Creator video count in last 7 days |
| totalIflVideo15dCnt | integer | Creator video count in last 15 days |
| totalIflVideo30dCnt | integer | Creator video count in last 30 days |
| totalIflVideo60dCnt | integer | Creator video count in last 60 days |
| totalIflVideo90dCnt | integer | Creator video count in last 90 days |
| totalIflLive1dCnt | integer | Creator livestream count in last 1 day |
| totalIflLive7dCnt | integer | Creator livestream count in last 7 days |
| totalIflLive15dCnt | integer | Creator livestream count in last 15 days |
| totalIflLive30dCnt | integer | Creator livestream count in last 30 days |
| totalIflLive60dCnt | integer | Creator livestream count in last 60 days |
| totalIflLive90dCnt | integer | Creator livestream count in last 90 days |
**Views (multi-period)**
| Field | Type | Description |
|------|------|------|
| totalViewsCnt | integer | Total view count |
| totalViews1dCnt | integer | Views in last 1 day |
| totalViews7dCnt | integer | Views in last 7 days |
| totalViews15dCnt | integer | Views in last 15 days |
| totalViews30dCnt | integer | Views in last 30 days |
| totalViews60dCnt | integer | Views in last 60 days |
| totalViews90dCnt | integer | Views in last 90 days |
**Status Indicators and Others**
| Field | Type | Description |
|------|------|------|
| discount | string | Discount info |
| freeShipping | integer | Whether free shipping |
| salesFlag | integer | Primary shipping method |
| salesTrendFlag | integer | Sales trend indicator: 0=stable, 1=rising, 2=falling |
| isSShop | integer | Whether fully managed store |
| offMark | integer | Product delisting indicator |
| firstCrawlDt | string | First crawl date |
| descDetail | string | Product detail description |
## 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/echotik/batchProductDetail \
-H "Authorization: Bearer ${NEXSCOPE_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"productIds": ["1729382310407603945", "1729382310407603946"]
}'
```
---
## 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 |