Skip to main content
shumi puts every Shumi data route in your terminal. It prints readable text for you and JSON for scripts and agents.

Install and sign in

1

Install

Needs Node 22 or later.
2

Sign in

This opens your browser. If the browser shows a connection error after you signed in, run shumi login --paste and paste that page’s URL. shumi logout clears the stored credentials.
3

Check the setup

It checks your login and the network and suggests the next commands.

Get data

Run shumi version to see yours: shumi scan --sort needs 0.9.1 or later, the current trend on shumi coin lookup needs 0.9.0 and shumi unlocks needs 0.10.0. Market Screener covers every scan flag. shumi help prints the full grouped list and every command takes --help. On the Free plan each data command counts as one question: 10 to start, then 1 per day, resetting at 00:00 UTC. Paid plans are in Plans and Quotas.

Use it in scripts and agents

Output switches to JSON on its own when you pipe it, so shumi market health | jq .data.trends works with no flag. The JSON is the same envelope the API returns.
shumi commands --json prints a manifest of every command with its arguments, so an agent can discover what it can call.

Run a bot or dashboard

For a script, bot or dashboard that checks Shumi on a timer, poll the data commands for the numbers. Ask Shumi only when something changes.
  • On Plus, these commands never use a question: coin risk, market health, market prices, funding momentum and scan. Poll them as often as you like. Anything that writes a fresh AI answer or reading can use one. That covers ask, coin with only a ticker (shumi coin BTC), search, tweets, and the sentiment, signal, narrative and watch commands.
  • On Free every call counts, and coin risk with three coins is three calls. With several coins, also check each row for error. On Pro nothing counts.
  • shumi ask writes a full answer. It takes longer and uses one question on Free and Plus.
  • Exit code 3 means out of quota (429 or 402) and 5 means a server error. On either, wait before trying again and double the wait each time it fails. Retrying on the next tick hits the same limit.

Create an API key

A server, a bot or an MCP client needs a key instead of your login.
Keys start with shumi_sk_. keys list shows each key’s prefix, and that is what revoke takes. A key carries the plan of the account that created it.

Fix a problem

It checks the config file, the login token and its expiry, the network, the API and whether your version is current. shumi billing tier shows the plan the API applies to you. Both work when you are out of quota.