Install
openclaw skills install @maosen-sgy/kalodataQuery TikTok Shop e-commerce analytics via the bundled kalo CLI (Python, zero install): product / shop / creator / video / livestream / category rankings, details and revenue trends from KaloData.
openclaw skills install @maosen-sgy/kalodatakalo)TikTok Shop e-commerce analytics from KaloData — rankings and details for products, shops, creators, videos, livestreams and categories.
The CLI ships inside this skill (scripts/kalo.py, Python 3.11+ stdlib only — nothing to install):
python3 <this-skill-dir>/scripts/kalo.py product rank --region US
All examples below write kalo as shorthand for python3 <this-skill-dir>/scripts/kalo.py.
Output is TOON (token-oriented) on stdout; add --json to any command for raw JSON.
Errors are structured on stdout with actionable help: lines. Exit codes: 0 ok, 1 error, 2 usage.
Every command needs a KaloData API key (sent as the secret-key header). Before the first
query of a session run kalo config and look at api_key. If it says missing, stop — don't
guess a key and don't retry the query. Walk the user through these three steps and wait:
kalo config set --key <API_KEY> (stored in ~/.config/kalodata/config.toml,
mode 0600), or set KALODATA_API_KEY in the environment.kalo credit shows the remaining quota; top up at
https://www.kalodata.com/pricing.Once the key is set, mention the credit cost when a request would fan out into many calls (a playbook, or dozens of detail lookups), so the spend isn't a surprise.
| command | what |
|---|---|
kalo product rank | top products; --category --keyword --price --launch --shop --creator |
kalo product detail <id...> | price range, shop id, revenue trend |
kalo shop rank | top shops; --type BRAND|RETAILER --keyword |
kalo shop detail <id...> | revenue split, top product ids |
kalo creator rank | top creators; --followers --engagement --product |
kalo creator detail <id|@handle...> | contact email/handle, GPM, trend; handle match is fuzzy — verify the returned creator_handle |
kalo creator images <id...> | avatar URLs for a batch of creator ids |
kalo video rank | top shoppable videos; --product --creator --keyword --ai |
kalo video detail <id...> | full video metrics + trend |
kalo live rank | top livestreams; --keyword |
kalo live detail <id...> | viewers, GPM, top product ids |
kalo category rank | top categories; --level 1|2|3 |
kalo category detail <id...> | category revenue split + trend |
kalo category search <kw> | resolve category ids by keyword |
kalo credit | remaining API credit quota per endpoint group |
kalo config | show/set credentials and defaults |
kalo <command> --help for per-command flags and exampleskalo product rank --region US --range last7Day → kalo product detail <id> → kalo video rank --product <id>kalo creator rank --category <id> --followers 10000-1000000 → kalo creator detail <id> (has contact email)kalo category search "beauty" → kalo category detail <id> → kalo shop rank --category <id>For complex analysis — product/creator diagnosis, category sourcing research, creator recommendation, viral-video methodology, shot-by-shot script writing — read references/playbooks.md first and follow its mandatory steps (always benchmark against same-category / same-price-band / same-follower-tier peers before drawing conclusions).