1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "goal": "Find me frontend developer jobs on Jobberman and MyJobMag, check these pasted job posts for scams, read my emails and sort out my job applications, schedule and prepare me for my interviews, and tailor my resume to each safe job you find.",
12 "targetRole": "frontend developer",
13 "location": "Lagos, Nigeria",
14 "pastedJobs": [
15 "We are hiring a Junior React Developer at Kora Labs Ltd, Lagos (hybrid). Requirements: 1+ years of React, TypeScript, Git. Salary NGN 350,000 - 500,000 monthly. Apply by sending your CV to careers@koralabs.ng",
16 "URGENT!!! Online data entry job, no experience needed, earn N50,000 weekly from your phone. Limited slots. Pay registration fee of N5,000 to activate your account. Message us on WhatsApp now or email hiringteam2026@gmail.com"
17 ],
18 "messages": [
19 {
20 "from": "Kora Labs Careers <careers@koralabs.ng>",
21 "subject": "Your application for Frontend Developer",
22 "date": "2026-09-18T09:12:00Z",
23 "body": "Hi Ada, thank you for applying to the Frontend Developer role at Kora Labs. Our team is reviewing applications and will be in touch soon. Kora Labs Talent Team"
24 },
25 {
26 "from": "Korapay Talent <talent@korapay.com>",
27 "subject": "Interview invitation - Backend Developer",
28 "date": "2026-09-24T14:30:00Z",
29 "body": "Hi Ada, we enjoyed reviewing your application and would like to invite you to an interview for the Backend Developer role at Korapay on Monday, 29 September 2026 at 10:00 AM (WAT) on Google Meet: https://meet.google.com/abc-defg-hij. Please be ready to walk us through a project you have built."
30 },
31 {
32 "from": "Paystack Careers <careers@paystack.com>",
33 "subject": "Update on your application",
34 "date": "2026-09-22T11:00:00Z",
35 "body": "Dear Ada, thank you for your interest in the Backend Developer role at Paystack. Unfortunately, we have decided to move forward with other candidates whose experience more closely matches our needs."
36 },
37 {
38 "from": "Tunde from Moniepoint <people@moniepoint.com>",
39 "subject": "Re: Frontend Engineer interview",
40 "date": "2026-09-24T16:05:00Z",
41 "body": "Hi Ada, unfortunately Tuesday no longer works for our team. Could we do the interview on Thursday, 2 October at 2pm instead? It will be with our CTO."
42 }
43 ],
44 "applications": [
45 {
46 "company": "Flutterwave",
47 "role": "Frontend Engineer",
48 "applied_on": "2026-09-05"
49 }
50 ],
51 "readGmail": true,
52 "resumeText": `Ada Obi
53Frontend developer | Lagos, Nigeria
54
55Experience
56Frontend Developer, PayLink Africa (2023 - present)
57- Built customer dashboards in React and JavaScript, used by 12,000 merchants
58- Worked with the backend team to connect REST APIs for payments
59- Wrote unit tests with Jest and fixed bugs reported by the support team
60
61Skills
62React, JavaScript, HTML, CSS, Git, Jest`,
63 "maxTailoredJobs": 5,
64 "maxJobsPerSource": 10,
65 "resetSeenJobs": true,
66 "resetApplications": true
67};
68
69
70const run = await client.actor("dazedtechie/gigradar").call(input);
71
72
73console.log('Results from dataset');
74console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
75const { items } = await client.dataset(run.defaultDatasetId).listItems();
76items.forEach((item) => {
77 console.dir(item);
78});
79
80