fastmoss-market
Installation
SKILL.md
fastmoss-market
End-to-end FastMoss category market overview data puller + analyzer. Uses kimi-webbridge to drive the user's logged-in browser, then calls FastMoss JSON APIs directly from the page context (so cookies/auth are reused). Scope: the 品类大盘 section of fastmoss.com (2 pages: 行业格局 + 市场总览). For products, creators, shops, ads, videos, or live streams, use the corresponding sister skill.
Why API-first (not DOM scraping)
Both pages in this section are chart-based dashboards (scatter plots, time-series, etc) — there are no <table> elements to scrape. All data is loaded via these JSON endpoints:
| Endpoint | Purpose | Page |
|---|---|---|
GET /api/analysis/V2/categoryDistribution |
行业格局 scatter: per-category sale amount + growth, one row per (region × category) | market-category |
GET /api/analysis/GoodCategory/base |
Market overview: total sales, product count, top products | market-analyze |
GET /api/analysis/GoodCategory/salesChart |
Daily time-series of category sales / products / creators / videos / lives | market-analyze |
GET /api/analysis/GoodCategory/priceDistribution |
Price-band distribution | market-analyze |
GET /api/analysis/GoodCategory/filterInfo |
Vocabularies: 27 category codes + 16 country codes | both |
The bundled scripts call these via page-context fetch() (evaluate), which automatically attaches the user's session cookies — no separate auth handling needed.