Nexscope Market Statistics
This skill helps fetch node-level market statistics for Amazon categories via Nexscope.
Core Concepts
- Node statistics: Aggregated statistics for a specified category node, not returning complete product details.
- TopN scope:
topN determines the sample size of top products for statistics (default 10).
- New product definition:
newProduct specifies the number of recent months used to define "new product" (default 6).
How to Invoke
- API Endpoint:
POST /sellersprite/market/statistics (complete params/response/error codes in references/api.md)
- Python Script:
python scripts/amazon_market_statistics.py '<JSON params>' [--inline]
- Cost constraint: This tool consumes credits; the same session and parameter combination is called only once by default, with a 24h local cache in the script. On failure or empty results, do not automatically retry with different keywords, pagination, or postal codes; inform the user about additional consumption before continuing to search.
Output strategy (script default behavior):
- Always write the full response to
<cwd>/nexscope/<YYYY-MM-DD>/<session>/data/nexscope-sellersprite-market-statistics-<timestamp>.json (<cwd> is the working directory at script execution time, i.e. the current project directory in Claude Code; <session> is taken from the SESSION_ID env var, auto-grouped by user task; do not write to /tmp, error if current directory is not writable)
- Response body <= 8 KB: print full JSON to stdout after saving
- Response body > 8 KB: print only summary to stdout after saving (top-level fields, common counts like
total/costToken, length of largest list field + first 3 samples)
- Add
--inline to force full output to stdout (still saves to disk)
Data reading tip: Check the summary first to decide if it's enough; when specific fields are needed, prefer using jq or ConvertFrom-Json to extract from the saved json file on demand, avoiding loading the entire JSON into context.
Parameters
| Parameter |
Type |
Required |
Description |
| marketplace |
string |
Yes |
Marketplace code, default US |
| nodeIdPath |
string |
Yes |
Node ID path, e.g. 1064954:1069242:... |
| month |
string |
No |
nearly or yyyyMM |
| topN |
integer |
No |
Top sample size, default 10 |
| newProduct |
integer |
No |
New product definition (months), default 6 |
Usage Example
{
"marketplace": "US",
"nodeIdPath": "172282:281407",
"month": "nearly",
"topN": 10,
"newProduct": 6
}
Display Rules
- Clearly display the statistical scope:
topN, newProduct, time range.
- Output key overview metrics first, then extended fields.
- If the user does not provide
nodeIdPath, guide them to provide a node path or do category location first.
Important Limitations
- Required parameters:
marketplace, nodeIdPath
nodeIdPath must be a valid node path
- Month queries are limited by the third-party historical range
Authentication
Set the NEXSCOPE_API_KEY environment variable. If credentials are missing or expire, visit https://www.nexscope.ai/help/skills-external-access?co-from=skillNS to top up credits.
API Key request rate
All Nexscope API Keys belonging to the same user share one request-rate allowance for public API execution. The allowance is measured over any rolling 1-second window. Your RPS depends on your account entitlements; do not assume every user has a fixed 1 RPS. A single Skill operation may make multiple public API requests, and each request uses this allowance.
If an execution request returns HTTP 429 with outer code 13012, the request-rate allowance was exceeded. Honor the returned Retry-After before considering another request. Outer code 13013 means the concurrent-request limit was exceeded, not the rate limit; honor its Retry-After when supplied. Inspect the response and reconcile state before retrying. Never automatically replay a write operation or a request whose outcome is unclear.
1---2name: ecommerce-amazon-market-statistics3description: Use Nexscope market statistics capability to output a market statistics dashboard by category node, including top listing average rating, average price, BSR, sales, seller count, and new product related metrics, suitable for quickly assessing the market quality and competitive landscape of a category. Trigger when the user mentions category market statistics, market selection dashboard, market fundamentals assessment, node market quality, top product statistics, Nexscope market statistics, category statistics. Even if the user does not explicitly mention "Nexscope", if the need is to view aggregated statistical results by category node, this skill should also be triggered.4metadata:5 source: https://skillmd.com/skills/nexscope-ai/ecommerce-amazon-market-statistics6---78# Nexscope Market Statistics910This skill helps fetch node-level market statistics for Amazon categories via Nexscope.1112## Core Concepts1314- **Node statistics**: Aggregated statistics for a specified category node, not returning complete product details.15- **TopN scope**: `topN` determines the sample size of top products for statistics (default 10).16- **New product definition**: `newProduct` specifies the number of recent months used to define "new product" (default 6).1718## How to Invoke1920- **API Endpoint**: `POST /sellersprite/market/statistics` (complete params/response/error codes in `references/api.md`)21- **Python Script**: `python scripts/amazon_market_statistics.py '<JSON params>' [--inline]`22- **Cost constraint**: This tool consumes credits; the same session and parameter combination is called only once by default, with a 24h local cache in the script. On failure or empty results, do not automatically retry with different keywords, pagination, or postal codes; inform the user about additional consumption before continuing to search.2324**Output strategy (script default behavior)**:25- **Always** write the full response to `<cwd>/nexscope/<YYYY-MM-DD>/<session>/data/nexscope-sellersprite-market-statistics-<timestamp>.json` (`<cwd>` is the working directory at script execution time, i.e. the current project directory in Claude Code; `<session>` is taken from the `SESSION_ID` env var, auto-grouped by user task; **do not write to /tmp**, error if current directory is not writable)26- Response body <= 8 KB: print full JSON to stdout after saving27- Response body > 8 KB: print only summary to stdout after saving (top-level fields, common counts like `total`/`costToken`, length of largest list field + first 3 samples)28- Add `--inline` to force full output to stdout (still saves to disk)2930**Data reading tip**: Check the summary first to decide if it's enough; when specific fields are needed, prefer using `jq` or `ConvertFrom-Json` to extract from the saved json file on demand, avoiding loading the entire JSON into context.3132## Parameters3334| Parameter | Type | Required | Description |35|-----------|------|----------|-------------|36| marketplace | string | Yes | Marketplace code, default `US` |37| nodeIdPath | string | Yes | Node ID path, e.g. `1064954:1069242:...` |38| month | string | No | `nearly` or `yyyyMM` |39| topN | integer | No | Top sample size, default 10 |40| newProduct | integer | No | New product definition (months), default 6 |4142## Usage Example4344```json45{46 "marketplace": "US",47 "nodeIdPath": "172282:281407",48 "month": "nearly",49 "topN": 10,50 "newProduct": 651}52```5354## Display Rules55561. Clearly display the statistical scope: `topN`, `newProduct`, time range.572. Output key overview metrics first, then extended fields.583. If the user does not provide `nodeIdPath`, guide them to provide a node path or do category location first.5960## Important Limitations6162- Required parameters: `marketplace`, `nodeIdPath`63- `nodeIdPath` must be a valid node path64- Month queries are limited by the third-party historical range6566## Authentication6768Set the `NEXSCOPE_API_KEY` environment variable. If credentials are missing or expire, visit https://www.nexscope.ai/help/skills-external-access?co-from=skillNS to top up credits.6970## API Key request rate7172All Nexscope API Keys belonging to the same user share one request-rate allowance for public API execution. The allowance is measured over any rolling 1-second window. Your RPS depends on your account entitlements; do not assume every user has a fixed 1 RPS. A single Skill operation may make multiple public API requests, and each request uses this allowance.7374If an execution request returns HTTP 429 with outer code `13012`, the request-rate allowance was exceeded. Honor the returned `Retry-After` before considering another request. Outer code `13013` means the concurrent-request limit was exceeded, not the rate limit; honor its `Retry-After` when supplied. Inspect the response and reconcile state before retrying. Never automatically replay a write operation or a request whose outcome is unclear.