Skip to main content

Cornect CLI

Cornect from your terminal.

Search companies, manage exports, and check credits from the command line — with scriptable JSON and CSV output, so it drops straight into your pipelines and CI.

cornect — zsh
$ cornect leads --family funding --days 14

DOMAIN       COMPANY   WHAT HAPPENED                       KIND     DATE        MORE
───────────  ────────  ──────────────────────────────────  ───────  ──────────  ────
acme.com     Acme      Acme raises $20M Series B           Funding  2026-10-08  +2
globex.com   Globex    Globex closes $8M seed round        Funding  2026-10-06
initech.com  Initech   Initech secures $45M Series C       Funding  2026-10-02  +1

Showing 3 of 41 companies.

$ cornect monitors create --name "Funded, hiring" --type hiring     --domain acme.com --domain globex.com --domain initech.com
This monitor checks 3 companies × 1 signal type every morning (09:00 UTC): 3 credits per run.
Monitor created.

What you can do

Search, export, credits — one command away.

cornect leads

Companies where something just happened — hiring, funding, news, partnerships — newest first, one row per company, by industry, size and country if you like. `cornect leads company acme.com` lists everything recent at one company. Free.

cornect monitors

Watch companies for new signals every morning, delivered by email or webhook. create, add, remove, pause, resume, delete, and see each run check by check. `create` tells you the daily credit cost before it sends.

cornect signals

Everything your monitors delivered — filter by kind, company, monitor or date, count it, or export it as CSV. Free.

cornect search

Search the company database with filters — query, country, industry, exclude lists, tech, size. Table, --json, or --csv output.

cornect count

The EXACT number of companies matching a filter set — no 10,000 ceiling, and it costs no credits. Size a filter before you export it.

cornect company get

Fetch a single company's full detail by id — profile, location, tech stack, funding.

cornect export preview

See exactly what an export will cost BEFORE creating it — new companies, credits, and how many rows a short balance would drop. Free.

cornect export

Create export jobs, poll their status, and download the CSV — straight to a file.

cornect credits

Check your workspace credit balance and recent transactions before bulk operations.

cornect login

Authenticate once — your token is stored securely (chmod 600), or set CORNECT_API_TOKEN for CI. `cornect logout` removes the stored token.

--json / --csv

Every command speaks JSON and CSV for pipelines — pipe to jq, redirect to a file, wire into scripts.

Install

Up and running in a minute.

01

Get an API token

Create a token at Account → API tokens. Choose read for search and lookup, or read_write if you'll create exports.

Get an API token
02

Install the CLI

Install globally, or run on demand with npx:

install
npm install -g @cornect/cli
# or, without installing:
npx @cornect/cli <command>
ℹNeeds Node 18 or later. Already installed? Update with the same command; cornect --version should say 0.8.0 or later for leads, signals and monitors, and 0.8.2 or later for every Find leads filter. The source is in the repo: cli README.
03

Authenticate

Log in once — your token is stored securely. For CI/scripts, set CORNECT_API_TOKEN instead.

authenticate
cornect login
# CI/scripts:
export CORNECT_API_TOKEN=cornect_your_token
04

Use it

Filter with full country names ("Germany", not "DE"). Pipe JSON to jq or CSV to a file:

examples
$ cornect leads --family hiring --days 7
$ cornect leads --industry technology --size 51-200 --country "United States"
$ cornect leads --family hiring --department sales --seniority vice_president
$ cornect leads company acme.com --json | jq '.items[].headline'
$ cornect signals list --since 2026-10-01 --csv > signals.csv
$ cornect monitors pause 3f1c2a9e-8b7d-4c6e-9a1b-2d3e4f5a6b7c

Built for scripting

Tables for you, JSON for your scripts.

Every command prints a clean table by default, and switches to --json or --csv for pipelines. Colors turn off automatically when output is piped, so redirected data stays clean. Set CORNECT_API_TOKEN and it runs unattended in CI.

FAQ

Questions, answered.

Is it free?

Yes — the CLI is free. You spend Cornect credits only when creating exports, and through the daily runs of your monitors (1 credit per company and signal type per run). Finding leads, reading signals, search, company lookup, credit checks, and export status/downloads don't charge.

Which token scope do I need?

A read token covers leads, signals, monitors (read), search, company lookup, and credits. Use a read_write token to create exports or to create and change monitors — and changing monitors also needs you to be an owner or admin of the workspace.

How do I filter by country?

Use full country NAMES, not ISO codes — "Germany", "United States", "United Kingdom" (not "DE"/"US"). ISO codes match nothing. The same applies to industries. To target a city, also pass --country (city names repeat across countries).

Where's the source / help?

The CLI is on npm as @cornect/cli — install it with npm install -g @cornect/cli. The source lives in the Cornect repo under cli/. Questions: support@cornect.io.

Get started.