All apps

SnapTrade CLI

PopularBy SnapTrade

Inspect accounts, positions and orders from your terminal.

About

The fastest way to see the API respond with your own data. Sign in through your browser or with your Client ID and Consumer Key — the CLI stores the credentials locally.

Set up SnapTrade CLI

  1. Step 1

    Install the CLI globally:

    npm install -g @snaptrade/snaptrade-cli
  2. Step 2

    Launch it:

    snaptrade
  3. Step 3

    On first run, choose Personal SnapTrade account, then sign in through your browser or enter your Client ID and Consumer Key.

  4. Step 4

    Link a brokerage account through the Connection Portal:

    snaptrade connect
  5. Step 5

    Explore what you connected:

    snaptrade status
    snaptrade accounts
    snaptrade positions