A native, standalone CLI tool for extracting full LinkedIn profiles and activity posts via Apify. YAML-first output, OS keystore secrets, and structured agent envelopes.
Built upon the SpaceCorps high-performance CLI tenets with zero runtime bloat.
Compiled to a single standalone static binary with Rust 2024 edition, fat LTO, and zero interpreter overhead. Perfect for high-frequency agent tool loops.
Outputs clean, human-readable YAML by default for terminal review. Pass --json for deterministic jq pipelines and autonomous LLM tool calling.
Tokens are never stored in plaintext disk files. Integrates directly with macOS Keychain, Windows DPAPI, and Linux Secret Service daemons.
Fetch only the sections you need with --include experiences,skills,educations, slashing token usage and response payload sizes.
Switch between multiple Apify accounts safely with --account <name>. Never accidentally query using the wrong organization key.
Autonomous agents can run linkedin agent-readme [--json] to inspect the full tool manual, schema rules, and error exit codes without network roundtrips.
Comprehensive commands for profile discovery, post retrieval, and account control.
| Command | Description | Options |
|---|---|---|
linkedin profile <URL> |
Scrape full profile details for a LinkedIn user | --include <SECTIONS>, -a, --account <NAME>, --api-key <KEY> |
linkedin post <URL> |
Scrape posts from update, profile, company, or search URL | --limit <N>, --since <DATE>, --no-deep, --raw, --include |
linkedin me |
Inspect authenticated user context and token validity | -a, --account <NAME>, --api-key <KEY> |
linkedin login [<NAME>] |
Authenticate with Apify token and store into OS keystore | --api-key <KEY>, --api-key-stdin, --no-browser, --force |
linkedin accounts list |
List all configured accounts and keystore backend | --check |
linkedin accounts test <NAME> |
Verify that a stored account key still works | None |
linkedin accounts remove <NAME> |
Remove account and delete key from local keystore | --yes |
linkedin agent-readme |
Print the built-in operating manual for LLM agents | --json |
Get up and running with LinkedIn CLI in under 60 seconds.
Download pre-compiled standalone binaries for macOS, Linux, and Windows.