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

shumi scan --sort needs CLI 0.9.1 or later, and the current trend on shumi coin lookup needs 0.9.0. shumi version shows yours, and 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. Plans and Quotas has the numbers.

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 <symbol>, 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. Call it when something happens, not on a timer.
  • 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.