CLI: export, status, download and batches

Verified CSVs from the terminal, including exports above 50,000 rows.

export creates a verified export, polls it until ready and writes the CSV for you.

npx argorant export "fintech CFOs" --country Germany -n 1000 -o leads.csv

What happens under the hood

  1. The output path is checked as writable before the job is created, so a bad path can never bill you for a file you cannot save.
  2. You are asked to confirm, unless you passed -y or --json or stdin is not a terminal.
  3. The job is created, then polled. Verification runs at this moment and only deliverable rows are billed.
  4. The CSV is downloaded to your -o path. Row count is printed.

Recovery

A paid export is never unrecoverable. If the CLI dies after the job was created, it prints the exact recovery command:

npx argorant export status 12345
npx argorant export download 12345 -o leads.csv

Both are free.

Large exports

Above 50,000 rows the job becomes a multi-chunk batch. The CLI polls the batch and writes one file per chunk: leads-part1.csv, leads-part2.csv and so on. The batch id is printed so you can fetch it again later:

npx argorant export status 987 --batch
npx argorant export download 987 --batch -o leads.csv
Terminal showing export progress dots then a saved row count
Terminal showing export progress dots then a saved row count

Two defaults worth knowing

  • has_email defaults to true, so exported rows carry an address.
  • Contacts you already exported are skipped. Pass --include-exported if you want them back.

Still stuck? support@argorant.com