Skip to content

tomba-io/linkedin-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomba-linkedin

Find the verified business email behind any LinkedIn profile URL — straight from your terminal.

Zero SDK dependency. Calls the Tomba REST API directly with Node's built-in fetch — the source is a working reference for integrating Tomba into your own Node/TypeScript code.

tomba-linkedin demo

The curl equivalent

The whole CLI is just a friendly wrapper around one HTTP call:

curl -G 'https://api.tomba.io/v1/linkedin' \
     --data-urlencode 'url=https://www.linkedin.com/in/alex-maccaw-ab592978' \
     -H "X-Tomba-Key: $TOMBA_KEY" \
     -H "X-Tomba-Secret: $TOMBA_SECRET"

Pipe through jq for just the email:

curl -sG 'https://api.tomba.io/v1/linkedin' \
     --data-urlencode 'url=https://www.linkedin.com/in/satyanadella' \
     -H "X-Tomba-Key: $TOMBA_KEY" \
     -H "X-Tomba-Secret: $TOMBA_SECRET" \
  | jq -r '.data.email'

Features

  • One-shot: tomba-linkedin <linkedin-url>
  • Batch via args or stdin
  • Three output modes: pretty (default), --json, --csv
  • Optional mobile phone enrichment with --enrich-mobile
  • Single npm install, zero config

Install

npm install -g tomba-linkedin-cli
# or
pnpm add -g tomba-linkedin-cli
# or run it once
npx tomba-linkedin-cli https://www.linkedin.com/in/...

Setup

Grab a free key at tomba.io (50 finds + 50 verifications/month, no card).

export TOMBA_KEY=ta_xxxxxxxxxxxxxxxxxx
export TOMBA_SECRET=ts_xxxxxxxxxxxxxxxxxx

Usage

# One profile, pretty output
tomba-linkedin https://www.linkedin.com/in/alex-maccaw-ab592978

# Pipe-friendly JSON
tomba-linkedin --json https://www.linkedin.com/in/satyanadella | jq .

# Batch from a file → CSV
cat linkedin-urls.txt | tomba-linkedin --csv > emails.csv

# Include mobile (paid plans)
tomba-linkedin --enrich-mobile https://www.linkedin.com/in/...

Example output (pretty)

✔ https://www.linkedin.com/in/alex-maccaw-ab592978
  email:    alex@stripe.com
  score:    98
  name:     Alex MacCaw
  position: Founder & CEO
  company:  stripe

Example output (JSON)

[
  {
    "url": "https://www.linkedin.com/in/alex-maccaw-ab592978",
    "email": "alex@stripe.com",
    "score": 98,
    "firstName": "Alex",
    "lastName": "MacCaw",
    "position": "Founder & CEO",
    "company": "stripe",
    "phone": "",
    "error": ""
  }
]

Common use cases

  • Sales prospecting — turn a LinkedIn search export into a contactable list
  • Recruiting — surface direct emails for passive candidates
  • Investor outreach — find partner emails from VC firm profile pages
  • CRM enrichment — fill email on contacts you have LinkedIn URLs for

Development

npm install
npm run build
node dist/index.js --version

Regenerate the demo GIF

vhs .vhs/demo.tape
# outputs docs/demo.gif

License

MIT — see LICENSE.

Related

About

Find the verified business email behind any LinkedIn profile URL — straight from your terminal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors