npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

echotik-cli

v0.2.3

Published

Agent-friendly CLI for EchoTik TikTok data intelligence APIs

Readme

echotik-cli

Agent-friendly CLI for EchoTik TikTok data APIs.

Install

npm install -g echotik-cli

To show the install-time welcome output:

npm install -g echotik-cli --foreground-scripts

Setup

echotik config set-credential
echotik auth status
echotik doctor

Credentials can also come from:

export ECHOTIK_USERNAME="..."
export ECHOTIK_PASSWORD="..."
export ECHOTIK_BASE_URL="https://open.echotik.live"

Command Model

Commands use:

echotik <entity> <capability> <operation>

Capabilities:

  • basic: discovery and object details.
  • analytics: related objects, trends, and relationship analysis.
  • leaderboard: ranking and opportunity discovery.

Examples:

echotik product basic search --keyword "sunscreen" --region US --count 10
echotik product basic list --region US --page-size 20
echotik product basic detail --product-id "123"
echotik product analytics creators --product-id "123"
echotik product analytics videos --product-id "123"
echotik product analytics lives --product-id "123"
echotik product analytics trends --product-id "123" --start-date 2026-01-01 --end-date 2026-01-31
echotik product leaderboard top --region US --date 2026-01-01 --type daily

echotik shop basic search --keyword "skincare" --region US
echotik shop basic list --region US --page-size 20
echotik shop basic detail --seller-id "123"
echotik shop analytics products --seller-id "123"
echotik shop analytics creators --seller-id "123"
echotik shop analytics videos --seller-id "123"
echotik shop analytics lives --seller-id "123"
echotik shop analytics trends --seller-id "123" --start-date 2026-01-01 --end-date 2026-01-31
echotik shop leaderboard top --region US --date 2026-01-01 --type weekly

echotik creator basic search --keyword "beauty" --region US
echotik creator basic detail --creator-id "123"
echotik creator analytics products --creator-id "123"
echotik creator analytics videos --creator-id "123"
echotik creator analytics lives --creator-id "123"
echotik creator analytics trends --creator-id "123" --start-date 2026-01-01 --end-date 2026-01-31
echotik creator leaderboard top --region US --date 2026-01-01

echotik video basic search --keyword "sunscreen" --region US
echotik video basic detail --video-id "123"
echotik video analytics products --video-id "123"
echotik video analytics comments --video-id "123"
echotik video analytics trends --video-id "123"
echotik video analytics media --url "https://www.tiktok.com/..."
echotik video leaderboard top --region US --date 2026-01-01

echotik live basic search --keyword "beauty" --region US
echotik live basic detail --room-id "123" --creator-id "456"

echotik media resolve --url "https://..."
echotik media download --url "https://..." --output ./assets

The old +search, +list, and +rank commands were removed in v0.2.0.

Skills

List bundled skills:

echotik skills
echotik skills list
echotik skills path

Install bundled skills into Codex:

echotik skills install codex

Install to a custom skills directory:

echotik skills install codex --target ~/.codex/skills

Restart Codex or open a new Codex session after installing skills.

Agent Output Contract

Successful commands print:

{
  "ok": true,
  "data": {
    "records": [],
    "entities": [],
    "relations": [],
    "artifacts": [],
    "raw": {}
  },
  "meta": {
    "entity": "product",
    "capability": "basic",
    "operation": "search",
    "freshness": "realtime",
    "path": "/api/...",
    "params": {}
  },
  "source": "echotik"
}

Failed commands print structured errors:

{
  "ok": false,
  "error": {
    "type": "validation_error",
    "message": "--keyword is required",
    "hint": "example: echotik product basic search --keyword sunscreen --region US"
  },
  "source": "echotik"
}

Development

go mod tidy
go test ./...
go build -o bin/echotik .
node scripts/run.js doctor