Download the exact captured file
---
name: token-stats
description: >-
One token by the numbers from Chord's own on-chain trade index: price, change over 5m, 1h, 6h and 24h, trades,
buys and sells, buy and sell volume, makers (distinct wallets), liquidity, market cap, the high since indexing, the
24h range, and the venues and pools that carry it. On Avalanche, Base, BNB Chain, Arbitrum and Ethereum it also puts
CoinGecko's price beside Chord's and shows the gap. Covers Monad, Robinhood Chain (tokenized stocks with the issuer's
quote), Arc, Avalanche, Base, BNB Chain, Arbitrum, Ethereum and Solana. Use when the user asks how a token is trading,
its volume, buyers versus sellers, where it trades or its price today. Not for safety checks (token-check), charts
(charts), holders (holders) or nad.fun memes on the curve (monad-memes). Read only.
license: MIT
compatibility: Needs python3 and HTTPS to api.getchord.xyz. Set CHORD_API_KEY (free at chordsi.xyz/me).
metadata:
author: Chord (getchord.xyz)
homepage: https://chordsi.xyz/s/token-stats
version: "1.0.0"
---
# Token Stats
The numbers a trader checks first, built from every swap Chord indexes on the venues it reads, never a third-party
feed. Where Chord has a CoinGecko reference, it shows it beside Chord's own price so a gap is visible.
## Run it
```bash
python3 scripts/token_stats.py CHAIN TOKEN [--quick]
```
- `CHAIN`: monad, robinhood, arc, avalanche, base, bnb, arbitrum, ethereum or solana.
- `TOKEN`: a contract address (best), a listed symbol, or the chain's coin (MON, ETH, AVAX, BNB: read through its wrapped
token). On Solana, the mint exactly as written (case matters), or a symbol when only one token carries it.
- `--quick`: skip the 5m / 1h / 6h windows and the makers (one call fewer).
Example: `python3 scripts/token_stats.py monad WMON`
## Read the answer
- `priceUsd`, `changePct` (`5m`, `1h`, `6h`, `24h`, in percent), `last24h` (volume, buy and sell dollars, trades,
buys, sells, and `traders`, `makers` or `wallets`: distinct wallets).
- `windows`: the same figures for 5m, 1h, 6h and 24h. `liquidityUsd`, `marketCapUsd`, `range24h`.
- `ath`: the highest price Chord has seen since `firstTradeIndexed`, not the all-time high before Chord indexed the chain.
- `venues` (volume and share per DEX), `topPools`, `poolCount` (Arc), `stock` (Robinhood Chain stock tokens: the issuer's
bid and ask, market open, halted).
- `reference`: CoinGecko's price and `gapPct` (Chord's price against CoinGecko's). `available: false` says why there is none.
- `screen`: Chord's scam screen when it flagged the token (a lookalike ticker, wash volume). Null or absent = not flagged.
- `coverage`: what this chain's answer has and lacks. `notes`: anything to say before the numbers.
- Exit 2 = Chord has no trades of the token on that chain. Exit 3 = several tokens share the symbol: show the candidates.
## How to answer the user
1. Name the token, the chain and the full address. Lead with the price and the 24h change, then volume and buys
against sells (who is in control), then makers.
2. Use the short windows to say what is happening now (a 1h move against the 24h trend).
3. If `gapPct` is 2 % or more, say Chord's on-chain price and CoinGecko's disagree and by how much.
4. Say what the chain does not cover when the person asked for it (`coverage.lacks`), and every `notes` line.
5. Describe; never predict the price or give investment advice. A flagged `screen` goes first.
## Cost
One to three calls: one for the token, one for the windows (skip with `--quick`), one for the CoinGecko reference on
Avalanche, Base, BNB Chain, Arbitrum and Ethereum, plus one for a Solana symbol. `billableCalls` says how many it used.
Token lists and the chain directory are free. 300 calls a month are free; then $0.006 a call from your ChordSI credit.
If the script exits with code 4, show the person the message: their credit is empty or a limit was reached, and
chordsi.xyz/me is where they top up.
## Chord endpoints it calls
- Monad: `GET /v1/tokens/stats/{address}` (tokens on Chord's Monad list).
- Robinhood Chain: `GET /v1/rh/token/{address}`; Arc: `GET /v1/arc/token/{address}`; windows from `GET /v1/tokens/stats/{address}`.
- Avalanche, Base, BNB Chain, Arbitrum, Ethereum: `GET /v1/chains/{chain}/token/{address}`, windows from
`GET /v1/tokens/stats/{address}?chain=`, reference from `GET /v1/chains/{chain}/token/{address}/ref-price`.
- Solana: `GET /v1/chains/solana/token/{mint}`, `GET /v1/chains/solana/token/{mint}/stats`, `GET /v1/chains/solana/search`.
- Free lookups: `GET /v1/tokens`, `GET /v1/tokens/search`, `GET /v1/chains`.