leadstrategist
v0.1.0
Published
Read-only CLI for Danish company data (CVR) and annual-report financials from Lead Strategist: look up companies, search by industry/size/revenue, fetch financials.
Downloads
178
Maintainers
Readme
leadstrategist
Command-line access to Danish company data (CVR) and structured annual-report financials from Lead Strategist. Look up any company by CVR number, search by name, industry, size or revenue, and pull financial history, from your terminal or scripts.
- Read-only. The CLI only reads data. It can't change anything in the data or your account.
- Around 948,000 Danish companies; annual-report figures (revenue, gross profit, EBIT, net income, equity, assets, employees) for around 460,000 of them.
- No dependencies. Node.js 20 or newer.
Install
npm i -g leadstrategist # then: leadstrategist --help
# or run without installing:
npx leadstrategist --helpGet an API key (free trial)
- Sign up at https://leadstrategist.dk/login?mode=signup and confirm your email.
- Under Konto / Account, create an API key (
ls_live_...).
New accounts get a one-off free 14-day trial with 2,000 credits (as of 1 Oct 2026; the
current numbers are always on https://leadstrategist.dk/en/pricing). Once card payments are
open, a payment card is required to start the trial: you add it under Konto / Account
(0 kr is charged), the 14 days start that day, and if you cancel before day 14 ends, nothing
is charged; otherwise it continues as the plan you chose. Until payments open, no card is
needed and the 14 days start at your first successful call. Every successful lookup costs
1 credit. Failed lookups (errors, unknown CVR) cost nothing. The trial is shared with the Lead Strategist MCP server and REST API,
and there is one trial per company email domain. whoami, health and login are not metered.
There is no lasting free plan. After the trial, you need prepaid credits or a plan
(see https://leadstrategist.dk/priser; payments are not open yet). whoami shows your own limit.
Log in
leadstrategist login # paste your key (input is hidden); it is checked, then saved
leadstrategist whoami # plan and remaining callsThe key is saved with file mode 600 in ~/.config/leadstrategist/config.json (Linux),
~/Library/Application Support/leadstrategist/config.json (macOS) or
%APPDATA%\leadstrategist\config.json (Windows). In CI, set LEADSTRATEGIST_API_KEY instead.
Examples
# Company card by CVR number (1 call)
leadstrategist company 10007127
# Financial history, newest first; one fiscal year (1 call)
leadstrategist financials 10007127
leadstrategist financials 10007127 --year 2024
# Search (1 call): name, industry code, industry text, size, revenue
leadstrategist search --name novo --limit 5
leadstrategist search --industry-code 620100 --min-employees 50 --max-employees 250
leadstrategist search --industry software --min-revenue 10000000 --limit 10
leadstrategist search --industry-code 620100 --offset 20 # next page
# JSON for scripts
leadstrategist company 10007127 --json | jq -r .data.company_nameSearch leaves out companies with reklamebeskyttelse (Danish marketing protection) unless you
pass --include-protected. Protected companies are always flagged and must not be contacted
for marketing.
Commands
| Command | What it does | Metered |
|---|---|---|
| login [--key KEY] | Check and save your API key | no |
| logout | Delete the saved key | no |
| whoami (alias usage) | Plan, calls used/remaining, trial dates | no |
| health | API status | no |
| company <cvr> | Company snapshot | 1 call |
| financials <cvr> [--year Y] [--limit N] | Annual-report financials | 1 call |
| search [filters] | Company search | 1 call |
Search filters: --name, --industry-code, --industry, --status, --min-employees,
--max-employees, --min-revenue, --max-revenue (DKK), --municipality (kommune name or code,
e.g. Aarhus or 751), --city (postal town prefix or postnummer, e.g. 8000), --region,
--include-protected, --limit (1–50), --offset. Global options: --json, --key, --api-url / --base-url, -h/--help, -v/--version.
Environment variables: LEADSTRATEGIST_API_KEY, LEADSTRATEGIST_API_URL (default
https://leadstrategist.dk/api/v1; a bare https://leadstrategist.dk works too),
LEADSTRATEGIST_CONFIG_DIR.
Exit codes: 0 ok · 1 error · 2 usage error · 3 missing/invalid key · 4 trial/quota used up · 5 not found.
Links
- Sign up: https://leadstrategist.dk/login?mode=signup
- REST API (OpenAPI 3.1): https://leadstrategist.dk/api/v1/openapi.json
- Docs, including MCP setup for ChatGPT, Claude and Cursor: https://leadstrategist.dk/docs
- Contact: [email protected]
Data licence: Data from the Danish Central Business Register (CVR), Danish Business Authority, CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Credit the source when you reuse the data.
MIT License.
