Overview
Fetch full details for a single LinkedIn job by ID or URL. Useful for getting descriptions, seniority level, and other metadata without running a full search. This is a specialized function for LinkedIn. For a universal function that works with all supported sites, see fetchJobDetails().Signature
Parameters
LinkedIn job ID (e.g.
"4127292817") or full URL (e.g. "https://www.linkedin.com/jobs/view/4127292817")The function automatically extracts the job ID from URLs, so both formats work.Optional configuration object
Description format:
"markdown"— converts HTML to Markdown (default)"html"— preserves original HTML"plain"— strips all markup
Proxy server(s) for the request. Accepts formats:
"host:port""user:pass@host:port""http://host:port""socks5://host:port"
Return Value
Returns aLinkedInJobDetails object with the following fields:
Canonical LinkedIn job URL (e.g.
"https://www.linkedin.com/jobs/view/4127292817")Full job description, formatted according to the
format optionSeniority level (e.g.
"mid-senior level", "entry level", "director")Array of employment types (e.g.
["fulltime"], ["contract", "parttime"])Job function category (e.g.
"Engineering", "Product Management")Company industry classification (e.g.
"Software Development", "Financial Services")Company logo image URL
Direct employer/ATS application URL (if available)
Examples
Fetch by Job ID
Fetch by URL
With Plain Text Format
With Proxy
With Multiple Proxies
Extract Job ID from Search Results
Error Handling
Notes
- This function initializes a new LinkedIn session for each call
- The session is automatically closed after fetching
- For bulk operations, consider using
scrapeJobs()withlinkedin_fetch_description: trueinstead - Job IDs are extracted from URLs by taking the last segment before any query parameters
Related
- scrapeJobs() - Search and scrape multiple job boards
- fetchJobDetails() - Fetch details for any job by ID (works with all sites)
- Types Reference - Full type definitions
