New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

coinstats-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coinstats-cli

Command-line interface for the CoinStats Public API

latest
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

CoinStats CLI

License: MIT

Command-line interface for the CoinStats Public API, designed for AI agents and terminal-first workflows.

Install

Install the CLI:

npm install -g coinstats-cli

Install all CoinStats skills without the interactive picker:

npx skills add CoinStatsHQ/coinstats-cli --all

Install a specific skill only:

npx skills add CoinStatsHQ/coinstats-cli --skill coinstats-wallet-data

Install all CoinStats skills for one agent without prompts:

npx skills add CoinStatsHQ/coinstats-cli --skill '*' --agent codex -y

Local Checkout

npm install
npm run build
npm link
coinstats --help

If you do not want to link the binary globally, run commands from the repo with:

npm exec --package . coinstats -- --help

Auth

  • Sign up at openapi.coinstats.app.
  • Create a CoinStats API key in the dashboard.
  • Configure the CLI with that key:
export COINSTATS_API_KEY=<your-api-key>
coinstats whoami
# optional: save the current key to ~/.coinstats/config.json
coinstats login

Environment variables take priority over the saved config in ~/.coinstats/config.json.

You can verify what the CLI will use with:

coinstats whoami

Command Groups

coinstats coins <command>
coinstats tickers <command>
coinstats wallet <command>
coinstats exchange <command>
coinstats fiats <command>
coinstats nft <command>
coinstats news <command>
coinstats markets <command>
coinstats portfolio <command>
coinstats currencies <command>
coinstats insights <command>
coinstats usage <command>
coinstats schema --pretty

The CLI currently maps all 52 public operations in the published CoinStats OpenAPI snapshot.

Output

Default output is machine-friendly JSON:

{"success":true,"data":{}}
{"success":false,"error":"message","code":"ERROR_CODE","status":400}

Supported output controls:

  • --pretty
  • --table
  • --format json|csv
  • --fields id,name,price

Mutating commands require --yes.

Examples

coinstats coins list --limit 5 --pretty
coinstats insights fear-and-greed --pretty
coinstats wallet sync-transactions --blockchain ethereum --body-file ./wallet-sync.json --yes
coinstats portfolio connect-wallet --body-file ./wallet.json --yes
coinstats exchange sync --portfolio-id <id> --yes
coinstats schema --pretty

Skills

This repo ships section-based skills under skills/:

  • coinstats-coins
  • coinstats-tickers
  • coinstats-wallet-data
  • coinstats-exchange
  • coinstats-fiats
  • coinstats-nft
  • coinstats-news
  • coinstats-markets
  • coinstats-portfolio
  • coinstats-currencies
  • coinstats-insights
  • coinstats-usage

Development

npm install
npm run generate:client
npm run build
npm link
npm test
npm run lint
npm run check:coverage

Generated SDK source lives in src/generated/. The OpenAPI snapshot lives in openapi/coinstats-public-api.json.

Keywords

coinstats

FAQs

Package last updated on 10 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts