1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "jobs": [
12 {
13 "title": "Customer Success Manager",
14 "company": "Acme Corp",
15 "location": "Remote, US",
16 "postedAt": "2026-07-01",
17 "url": "https://www.linkedin.com/jobs/view/4000000001/",
18 "description": "We are always accepting applications and building a talent pipeline for future opportunities on our customer team."
19 },
20 {
21 "title": "Customer Success Manager",
22 "company": "Acme",
23 "location": "Remote, US",
24 "postedAt": "2026-09-30",
25 "url": "https://www.linkedin.com/jobs/view/4000000002/"
26 },
27 {
28 "title": "Payments Engineer",
29 "company": "Example Pay",
30 "location": "Austin, TX",
31 "postedAt": "2026-10-08",
32 "url": "https://boards.greenhouse.io/examplepay/jobs/1",
33 "description": "You will own the payments ledger, work with finance on daily reconciliation and lead the move to real-time settlement across our card and bank rails. You will design the double-entry model, set the on-call standards for money movement and mentor two engineers. We work in Go and Postgres on AWS. The base salary range for this role is $150,000 - $180,000 per year, plus equity and benefits. We hire for this seat now and will close the posting when it is filled."
34 }
35 ]
36};
37
38
39const run = await client.actor("northbell/ghost-job-detector").call(input);
40
41
42console.log('Results from dataset');
43console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
44const { items } = await client.dataset(run.defaultDatasetId).listItems();
45items.forEach((item) => {
46 console.dir(item);
47});
48
49