coinone-api-cli
v1.0.5
Published
Developer-friendly CLI for Coinone public APIs.
Maintainers
Readme
coinone-api-cli
A small, developer- and AI-friendly Node.js CLI for Coinone public APIs plus a guarded private API subset.
Documentation
- GitHub Pages guide: https://2sem.github.io/coinone-api-cli/
- Local docs preview:
npm install
npm run docs:devInstall
npm install -g coinone-api-cli
coinone --help
coinone doctor --jsonQuick examples
coinone markets list
coinone ticker get btc --quote krw
coinone trades list btc --quote krw --size 50 --jsonexport COINONE_ACCESS_TOKEN="your-access-token"
export COINONE_SECRET_KEY="your-secret-key"
coinone doctor
coinone auth status
coinone balances list
coinone --max-retries 1 ticker get btc --quote krwCommands
coinone markets list
coinone markets get <targetCurrency> --quote <quoteCurrency>
coinone doctor
coinone auth status
coinone balances list
coinone balances get <currency>
coinone currencies list
coinone currencies get <currency>
coinone fees list
coinone fees get --quote <quoteCurrency> --target <targetCurrency>
coinone orders active [--quote <quoteCurrency>] [--target <targetCurrency>] [--type <type>]
coinone orders get <orderId> --quote <quoteCurrency> --target <targetCurrency> [--user-order-id <id>]
coinone orders place --quote <quoteCurrency> --target <targetCurrency> --side <buy|sell> --type limit --price <string> --qty <string> [--post-only] [--user-order-id <id>] [--auto-user-order-id] (--dry-run | --confirm live)
coinone orders cancel --order-id <id> --quote <quoteCurrency> --target <targetCurrency> [--user-order-id <id>] --confirm live
coinone orders completed --from <timestamp-ms|iso> --to <timestamp-ms|iso> [--size <1-100>] [--to-trade-id <id>] [--quote <quoteCurrency> --target <targetCurrency>]
coinone ticker get <targetCurrency> --quote <quoteCurrency>
coinone ticker list [--quote <quoteCurrency>]
coinone orderbook get <targetCurrency> --quote <quoteCurrency> [--size <n>]
coinone trades list <targetCurrency> --quote <quoteCurrency> [--size <n>]
coinone range-units get <targetCurrency> --quote <quoteCurrency>Safety
- private commands never print raw secrets
orders placerequires--dry-runor--confirm liveorders cancelalways requires--confirm liveorders placevalidates Coinone price units and quantity increments before submission--max-retriesretries safe read commands on 429/5xx without retrying live private writes- prefer
--auto-user-order-idor--user-order-idfor safer live order reconciliation - prefer a dry run before any live order placement
Development
npm test
npm run build
npm run docs:build
npm pack --dry-runLicense
MIT
