Install the Package
If you plan to use Google Jobs scraping, you’ll also need to install Playwright’s Chromium browser:
Your First Job Scrape
Create a new file and add this code:index.ts
Understanding the Response
ThescrapeJobs() function returns a JobResponse object with a jobs array. Each job has these key fields:
Common Use Cases
Scrape Multiple Sites
Scrape all 9 supported job boards at once:Filter by Job Type
Remote Jobs Only
Filter by Posting Date
Get jobs posted in the last 24 hours:Extract Salary Data
Fetch Full Job Details
Get complete information for a specific job:Use Different Description Formats
Search with Distance Radius
Using the CLI
JobSpy JS also provides a command-line interface:Using Proxies
If you need to use proxies for scraping:Next Steps
SDK Guide
Learn about all available parameters and advanced features
CLI Reference
Explore all CLI commands and options
Authentication
Set up credentials for sites that require authentication
Job Boards
Learn about site-specific features and limitations
