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": "Sr. Software Engineer, Payments",
14 "company": "Stripe",
15 "location": "New York, NY",
16 "jobUrl": "https://www.linkedin.com/jobs/view/4012345678/",
17 "postedOn": "2026-10-03"
18 },
19 {
20 "title": "Senior Software Engineer, Payments",
21 "companyName": "Stripe, Inc.",
22 "location": "NYC",
23 "absolute_url": "https://stripe.com/jobs/listing/senior-software-engineer-payments/7001",
24 "first_published": "2026-09-28"
25 },
26 {
27 "positionName": "Senior Software Engineer, Payments",
28 "company": "Stripe",
29 "location": "New York, NY 10001",
30 "url": "https://www.indeed.com/viewjob?jk=a1b2c3",
31 "postedAt": "3 days ago"
32 },
33 {
34 "title": "Software Engineer, Payments",
35 "company": "Stripe",
36 "location": "New York, NY",
37 "jobUrl": "https://www.linkedin.com/jobs/view/4012345999/"
38 }
39 ]
40};
41
42
43const run = await client.actor("northbell/job-dedupe-merge").call(input);
44
45
46console.log('Results from dataset');
47console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
48const { items } = await client.dataset(run.defaultDatasetId).listItems();
49items.forEach((item) => {
50 console.dir(item);
51});
52
53