Search LinkedIn jobs
Input
keywords requiredFree-text job search query, same as the jobs search box (e.g. "data engineer").
page optional1-based page, 25 jobs per page. Caller loops while (page-1)*25 < total. Job lists move as postings open and close, so fanning out across pages can skip or duplicate a posting near an edit.
Default: 1sortBy optionalSort order. Defaults to relevance, matching LinkedIn's own default.
Default: "relevance"location optionalFree-text location (e.g. "Paris, France", "Germany"). LinkedIn resolves it server-side with its own geo matching, so "Paris, France" becomes "Paris, Île-de-France, France". Omit it to search worldwide: the script asks for worldwide scope deliberately, because LinkedIn's own default quietly narrows results to the viewer's country.
datePosted optionalPosted-date window. Omit for any time.
workplaceTypes optionalWorkplace-type filter, several allowed (matches any of them). Omit for all.
Output
jobs requiredpage requiredtotal requiredTotal matching postings for this filter, read from the SSR blob. 0 with empty jobs[] = no matching jobs (first-class outcome, not an error).
resolvedLocation optionalThe location label LinkedIn resolved the free-text `location` arg to (e.g. "Paris, Île-de-France, France"), read from the search box. "Worldwide" when no location was given. Returned so the caller can detect a mis-resolved location.
