Overview
TheJobResponse interface is the top-level response object returned by the scrapeJobs() function. It contains an array of job postings scraped from the specified job boards.
Interface Definition
Fields
Array of job postings scraped from the job boards. Each element is a JobPost object containing all available information about a single job.
Example Usage
Basic Scraping
Filtering Results
Sorting and Grouping
Exporting Results
Handling Empty Results
If no jobs are found matching your criteria,response.jobs will be an empty array:
Notes
- The
jobsarray may contain fewer results thanresults_wantedif the job boards don’t have enough matching positions. - Jobs are returned in the order provided by the job boards (usually most relevant first).
- Duplicate jobs across different sites are automatically filtered unless
skip_dedup: trueis set in the parameters. - The response object is serializable to JSON for easy storage and transport.
Related Types
- JobPost - Individual job posting structure
- ScrapeJobsParams - Parameters for scrapeJobs()
- scrapeJobs() - Main scraping function
