Skip to content

Linkedin api

linkedin api

Send a raw Voyager GET request (read-only escape hatch)

Synopsis

Call any Voyager endpoint directly (relative to https://www.linkedin.com/voyager/api). This is the documented escape hatch for anything linkedin does not wrap as a first-class command. It is GET-ONLY by design — this is a read-only client and driving writes against the unofficial API is not supported. Honors --dry-run, -o/--output, and --jq.

linkedin api <PATH> [-q key=value ...] [flags]

Examples

  linkedin api me
  linkedin api jobs/jobPostings/4012345678 -q decorationId=com.linkedin...WebFullJobPosting-65
  linkedin api organization/companies -q q=universalName -q universalName=stripe

Options

  -h, --help                help for api
  -q, --query stringArray   query parameter key=value (repeatable)

Options inherited from parent commands

      --all                   page through all results (search commands)
      --base-url string       override the Voyager API host (default https://www.linkedin.com/voyager/api)
      --columns strings       comma-separated columns to show
      --count int             results per page (search commands) (default 25)
      --daily-cap int         override the ban-safety daily job-detail fetch cap (0 keeps the default of 30)
      --dry-run               print the equivalent curl and make no request
      --jq string             gojq expression applied to the response before rendering
      --limit int             max items to return across pages (search commands)
      --no-color              disable colored output
  -o, --output string         output format: table|json|yaml|csv|id
      --profile string        named profile to use
      --quiet                 suppress non-essential chatter
      --show-token            reveal the session cookies in dry-run output
  -v, --verbose               verbose request logging (stderr)
      --web-base-url string   override the web host used for geo typeahead (default https://www.linkedin.com)

SEE ALSO

  • linkedin - A read-only, agent-friendly CLI for LinkedIn job search (unofficial Voyager API)