The LoneScale CLI (Documentation Index
Fetch the complete documentation index at: https://docs.lonescale.com/llms.txt
Use this file to discover all available pages before exploring further.
lonescale) is the official command-line client for the LoneScale Public API. Use it to enrich contacts, source contacts by persona, look up companies, and poll async jobs — all from your terminal or a shell script.
It’s a thin wrapper around the same REST endpoints documented under API Reference, with terminal-friendly output, file/stdin/inline input, and built-in polling.
Install
Authenticate
Get your API key from Dashboard → Integrations → Public API and provide it in one of three ways (checked in this order):Get my API key
Commands
| Command | Purpose |
|---|---|
lonescale enrich | Waterfall enrichment (email / phone) for a list of contacts |
lonescale source | Source contacts at a company by persona, seniority, location |
lonescale companies search | Look up a single company by name, domain, LinkedIn slug, or ID |
lonescale result | Poll the status / result of an async job |
Global options
These flags work with every command:| Option | Description |
|---|---|
--api-key <key> | LoneScale API key (overrides env + config file) |
--output <format> | json (default when piped), table (default in TTY), or minimal (just the id/status — script-friendly) |
--debug | Print HTTP requests / responses to stderr. API keys are redacted automatically. |
Output formats
Data goes to stdout, logs go to stderr — so you can pipe results cleanly intojq, xargs, tee, etc.

