Internal service for searching LinkedIn job listings with filtering and pagination.
npm install
npm startThe server listens on port 3000 by default (PORT env var to override).
GET /api/search
| Parameter | Required | Description |
|---|---|---|
| keywords | Yes | Search terms (e.g. react developer) |
| location | Yes | Job location (e.g. remote, Pune) |
| dateSincePosted | No | past_24h, past_week, past_month |
| limit | No | Results per page (default 25, max 200) |
| offset | No | Pagination offset (default 0, max 500) |
Example:
curl "http://localhost:3000/api/search?keywords=react&location=remote&limit=10"import { fetchJobListings, searchJobs } from './src/lib/index.js';| Variable | Description |
|---|---|
PORT |
Server port (default 3000) |
PUPPETEER_HEADLESS |
true, false, or new (default new) |
Start the server, then in another terminal:
npm testFor internal use only. Review LinkedIn's terms of service before use in production.