@paulelliot/findymail-cli
v0.1.1
Published
Unofficial agent-friendly CLI for the Findymail API
Maintainers
Readme
findymail-cli
Independent, unofficial CLI for the Findymail API. It is not affiliated with, endorsed by, or maintained by Findymail.
Agent-friendly CLI for the Findymail API.
It wraps the confirmed Findymail endpoints behind a non-interactive JSON-first shell interface so coding agents can call it reliably.
Features
- non-interactive command surface
- JSON in, JSON out
- structured JSON errors on
stderr - bearer auth from
FINDYMAIL_API_KEY - optional
FINDYMAIL_BASE_URLoverride for local testing - optional
FINDYMAIL_TIMEOUT_MSoverride for HTTP timeout control - bounded
--waitsupport for Intellimatch polling
Install
Requires Node 20 or newer.
npm install -g @paulelliot/findymail-cliOr install it locally in a project and run it with npx:
npm install @paulelliot/findymail-cli
npx findymail --helpFor local development:
pnpm install
pnpm build
pnpm dev -- --helpAuth
export FINDYMAIL_API_KEY=your_api_keyFor tests or alternate environments:
export FINDYMAIL_BASE_URL=http://127.0.0.1:3000
export FINDYMAIL_TIMEOUT_MS=30000Commands
Verify
findymail verify --json '{"email":"[email protected]"}'
cat payload.json | findymail verify --stdin--stdin is pipe-only. The CLI refuses to read interactive terminal input.
Search
findymail search business-profile --json '{"linkedin_url":"https://linkedin.com/in/ada"}'
findymail search name --json '{"name":"Ada Lovelace","domain":"example.com"}'
findymail search domain --json '{"domain":"example.com","roles":["CEO"]}'
findymail search company --json '{"domain":"example.com"}'
findymail search employees --json '{"website":"example.com","job_titles":["CEO"],"count":1}'
findymail search reverse-email --json '{"email":"[email protected]","with_profile":true}'
findymail search phone --json '{"linkedin_url":"https://linkedin.com/in/ada"}'Lists And Contacts
findymail lists get
findymail lists create --json '{"name":"VIPs"}'
findymail lists delete --id 42
findymail contacts get --id 0Intellimatch
findymail intellimatch search --json '{"query":"SaaS companies in US"}'
findymail intellimatch status --hash job-123
findymail intellimatch search --json '{"query":"SaaS companies in US"}' --wait --poll-interval 1000 --max-wait 30000Output Contract
Successful commands print raw API JSON to stdout.
Errors print structured JSON to stderr:
{
"ok": false,
"error": {
"type": "usage",
"message": "Provide exactly one of --json, --input, or --stdin"
}
}Validation
pnpm test
pnpm build