Install the quantisnow CLI
quantisnow is on npm. It has no dependencies, so the first run takes a few seconds and nothing else gets installed. New accounts get 20 free calls to try every endpoint, the MCP server and the CLI. After that, plans start at $49 a month for 30,000 calls.
Check Node.js
node --versionYou need v18 or later. If the command isn't found or prints something older, install the current LTS release from nodejs.org, or with a version manager such as nvm install --lts (macOS and Linux) or winget install OpenJS.NodeJS.LTS (Windows).
Run it with npx
npx quantisnow loginnpx downloads the package the first time and reuses it after that. Every example in these docs uses npx quantisnow ..., so nothing has to be on your PATH.
Or install it globally
npm install -g quantisnow
quantisnow loginThen drop the npx: quantisnow insiders --min 1m. On macOS and Linux, if npm says it can't write to its global folder, don't use sudo; set a user-owned prefix with npm config set prefix ~/.npm-global and add ~/.npm-global/bin to your PATH, or use a version manager, which installs into your home folder.
Sign in
login opens your browser to quantisnow.com, where you sign in or make an account and allow access. The terminal picks up the sign-in by itself. On a machine without a browser (a server over SSH), use a key instead:
npx quantisnow login --paste # prompts for the key, keeps it out of shell history
npx quantisnow whoamiWhere it's saved
- macOS and Linux:
~/.config/quantisnow/config.json(or under$XDG_CONFIG_HOMEwhen that is set), readable only by your user (mode 600). - Windows:
%USERPROFILE%\.config\quantisnow\config.json. npx quantisnow logoutdeletes it.QUANTISNOW_API_KEYin the environment overrides it.
Windows notes
- PowerShell treats
$and quotes differently from bash. Put full-text queries in single quotes and phrases in double quotes inside them:npx quantisnow search '"going concern"' --forms 10-K. - If PowerShell says running scripts is disabled when you call
npx, runnpx.cmd quantisnow ...instead, or use Command Prompt. - To set a key for one session in PowerShell:
$env:QUANTISNOW_API_KEY = "qs_your_key".
In CI and scheduled jobs
Don't run login on a CI runner. Make an API key, store it as a secret, and pass it as QUANTISNOW_API_KEY. A GitHub Actions job that writes the day's large insider buys to a file each weekday evening:
name: insider-buys
on:
schedule:
- cron: "30 22 * * 1-5" # 22:30 UTC, after the US close
workflow_dispatch:
jobs:
pull:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Large open-market buys, last day
env:
QUANTISNOW_API_KEY: ${{ secrets.QUANTISNOW_API_KEY }}
run: npx -y quantisnow insiders --min 250k --days 1 --json > buys.json
- uses: actions/upload-artifact@v4
with:
name: insider-buys
path: buys.json-y stops npx from asking before it downloads. Each command is one call against the key's plan.
Upgrade
- With npx:
npx quantisnow@latest --versionfetches the newest release. npx otherwise keeps using the copy it cached. - Installed globally:
npm install -g quantisnow@latest. - MCP configs written by
mcp installrunnpx -y quantisnow mcp, which picks up new releases the same way.
Uninstall
npx quantisnow logout
npm uninstall -g quantisnow # only if you installed it globally