tossctl
Reference

Command Reference

All tossctl commands

Every read command supports --output table|json|csv (default table). Automation and agents should use --output json.

Auth

CommandDescription
tossctl auth login [--headless] [--qr-output <path>]QR + phone-approval login
tossctl auth statusSession validity / expiry
tossctl auth extend [--timeout 120s]Extend session via phone push (~7 days)

Account & Portfolio

CommandDescription
tossctl account listAccounts
tossctl account summaryTotal assets, P&L, by market
tossctl portfolio positionsHoldings (USD shown for US)
tossctl portfolio allocationAllocation
tossctl portfolio dividends [--year N] [--by-payment-date]Annual dividends (total, region, monthly, tax)

Quotes

CommandDescription
tossctl quote get <symbol>Quote (OHLC, 52w, market cap, trading value, strength)
tossctl quote batch <s1,s2,...> [--chart] [--live]Multi-quote / live refresh
tossctl quote chart <symbol> --interval 1m|...|60mASCII candle chart
tossctl quote orderbook <symbol>10-level orderbook
tossctl quote trades <symbol> --count NTrade ticks
tossctl quote limits <symbol>Price limits (KR)
tossctl quote warnings <symbol>Buy cautions
tossctl quote sellable <symbol>Sellable quantity
tossctl quote commission <symbol>Commission & tax rate

Market

CommandDescription
tossctl market index [<code|name>]Major indices / detail (OHLC, 52w) with an argument
tossctl market ranking --size NLive popularity ranking
tossctl market investorsTop net-buy by investor (foreign, institution, retail)
tossctl market sectors [<id>]Sector movements (top-level/sub, 1d·1m·1y)
tossctl market earnings [--major]Earnings calendar / major companies
tossctl market briefingPersonalized AI news briefing (by theme)
tossctl market signalsToss AI signals
tossctl market fxFX & dollar index
tossctl market hoursTrading hours
tossctl market screener [<preset-id>] [--filter '<json>'] [--nation kr|us]Screener

Community

CommandDescription
tossctl community rankings --type influencer|profit|followersCommunity rankings

Orders & Trading

Trading is disabled by default. See the Safety Model.

CommandDescription
tossctl order preview --symbol <s> --side <buy|sell> --qty <n> --price <p>dry-run preview (no order sent)
tossctl order place ... --execute --confirm <token>Live order (two-step gate)
tossctl order cancel --order-id <id> --symbol <s>Cancel
tossctl order amend --order-id <id> ...Amend
tossctl orders list · orders completed · order show <id>Pending/filled/single lookup

Fractional (amount-based) order: order place --fractional --amount <krw> --qty 0 (US market order).

Transactions & Export

CommandDescription
tossctl transactions list --market us|krTrades, deposits/withdrawals, dividends ledger
tossctl transactions overview --market us|krOrderable / withdrawable / scheduled deposits
tossctl export positions|orders --market us|kr|allCSV export

Watchlist

CommandDescription
tossctl watchlist list · watchlist groupsWatchlist / folders
tossctl watchlist group create|rename|deleteFolder management
tossctl watchlist add|remove --group <id>Add/remove symbols

Official Open API · Auto-routing

Connect an official key and the read/trade features the official API supports route through OAuth (tokens auto-refresh); everything else uses the WTS path. All features work without a key too. See the auto-routing guide.

CommandDescription
tossctl initOnboarding wizard (web-session login, official key, trading config)
tossctl openapi loginRegister official API Key/Secret (env, flags, or interactive; file 0600)
tossctl openapi statusDiagnose key / token / allowed IPs / routing
tossctl openapi testVerify the connection with a real call
tossctl openapi logoutDelete the credential file
tossctl <command> --backend auto|wts|openapiPick the routing backend per request (global, default auto)

Ops (push · monitor · doctor)

CommandDescription
tossctl push listenReal-time push stream (orders/fills/holdings) via SSE
tossctl monitor apiCore read API health (early server-change detection)
tossctl doctor [--report]Env/session diagnostics + official key/token/IP checks (JSON, home paths masked)
tossctl versionVersion / update availability

On this page