Search Indeed jobs
Input
query requiredFree-text job search query, same as Indeed's search box (e.g. "data engineer"). Must be non-empty — an empty query redirects Indeed to its homepage instead of a results page.
page optional1-based page. Only page=1 is reliably supported anonymously — Indeed shows a sign-in wall for further pages, which the script surfaces as a thrown error.
Default: 1sortBy optionalSort order. Default: relevance (Indeed's own default).
Default: "relevance"country optionalIndeed country site to search, as its subdomain code (e.g. "us", "fr", "de", "uk", "ca"). Lowercased; "us" maps to www.indeed.com, others to "<country>.indeed.com".
Default: "us"location optionalFree-text location (e.g. "Paris", "Berlin"). Must match the chosen country site or Indeed marks the result outOfCountry and returns unrelated jobs.
Output
jobs requiredpage requiredtotal requiredMatching job count reported by Indeed for this query/location. Not meaningful when outOfCountry is true (Indeed falls back to a broad, location-agnostic count).
outOfCountry requiredTrue when Indeed treated the requested location as outside the chosen country site — total and jobs then reflect a fallback, not the requested location.
