pn) gives you instant access to every PolyNode feature from the terminal. Watch live settlements scroll by, view full-depth orderbooks with bid/ask visualization, track short-form crypto markets with countdown timers, and monitor Chainlink price feeds. Every command also supports --json for programmatic use by agents and scripts.
Install
pn.
Authentication
The CLI resolves your API key in this order:--keyflag:pn markets --key pn_live_...POLYNODE_API_KEYenvironment variable~/.config/polynode/keyfile (auto-saved when you runpn key create)
Commands

| Command | Type | Description |
|---|---|---|
pn key create [name] | REST | Generate a new API key |
pn status | REST | System status and metrics |
pn markets [--count N] | REST | Top markets by 24h volume |
pn search <query> | REST | Full-text market search |
pn market <slug-or-id> | REST | Single market detail |
pn stream [type] | Live TUI | Scrolling real-time event feed |
pn orderbook <slug-or-id> | Live TUI | Full-screen bid/ask depth view |
pn short-form <5m|15m|1h> | Live TUI | Multi-coin crypto dashboard |
pn chainlink | Live TUI | Live Chainlink price feeds |
--json for machine-readable output.
Static Commands
Markets
View the top markets by 24h trading volume.
Search
Full-text search across all market questions.
Status
System health, connection count, and state metrics.
Market Detail
Look up a single market by slug or token ID.Live TUI Commands
Live commands open a full-screen terminal UI that updates in real-time. Pressq or Esc to exit.
Stream
Watch every settlement, trade, block, or oracle event as it happens.
Orderbook
Full-depth live orderbook with proportional bid/ask bars. Green bars show bid depth growing left, red bars show ask depth growing right.
Short-Form Dashboard
Multi-coin dashboard for Polymarket’s short-form crypto markets. Shows all 7 coins (BTC, ETH, SOL, XRP, DOGE, HYPE, BNB) with beat price, direction, odds, liquidity, volume, and a countdown timer. Auto-rotates to the next window when the current one expires.
Chainlink Price Feeds
Live Chainlink data stream prices with bid/ask.
JSON Mode (for Agents)
Every command supports--json for programmatic use. Static commands output pretty-printed JSON. Streaming commands output newline-delimited JSON (NDJSON), one object per line, with no TUI.
pn composable with standard Unix tools and usable as a data source for automated trading agents.
Key Bindings (TUI)
| Key | Action |
|---|---|
q / Esc | Quit |
Ctrl-C | Quit |
Up / Down | Scroll orderbook depth |
Home | Reset scroll to top of book |

