1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "previous": {
10 "snapshotId": "jobs-ge-2026-08-31",
11 "observedAt": "2026-08-31T09:00:00.000Z",
12 "sourceLabel": "Authorized weekly export",
13 "postings": [
14 {
15 "postingKey": "job-removed",
16 "title": "Marketing Analyst",
17 "department": "Marketing",
18 "location": "Tbilisi",
19 "canonicalUrl": "https://jobs.example.com/job-removed",
20 },
21 {
22 "postingKey": "job-changed",
23 "title": "Software Engineer",
24 "department": "Engineering",
25 "location": "Tbilisi",
26 "workplaceType": "OFFICE",
27 "canonicalUrl": "https://jobs.example.com/job-changed",
28 },
29 {
30 "postingKey": "job-same",
31 "title": "Product Manager",
32 "department": "Product",
33 "location": "Tbilisi",
34 "canonicalUrl": "https://jobs.example.com/job-same",
35 },
36 ],
37 },
38 "current": {
39 "snapshotId": "jobs-ge-2026-09-01",
40 "observedAt": "2026-09-01T09:00:00.000Z",
41 "sourceLabel": "Authorized weekly export",
42 "postings": [
43 {
44 "postingKey": "job-added",
45 "title": "Brand Designer",
46 "department": "Marketing",
47 "location": "Tbilisi",
48 "canonicalUrl": "https://jobs.example.com/job-added",
49 },
50 {
51 "postingKey": "job-changed",
52 "title": "Software Engineer",
53 "department": "Engineering",
54 "location": "Remote",
55 "workplaceType": "REMOTE",
56 "canonicalUrl": "https://jobs.example.com/job-changed",
57 },
58 {
59 "postingKey": "job-same",
60 "title": "Product Manager",
61 "department": "Product",
62 "location": "Tbilisi",
63 "canonicalUrl": "https://jobs.example.com/job-same",
64 },
65 ],
66 },
67 "changeTypes": [
68 "ADDED",
69 "REMOVED",
70 "CHANGED",
71 ],
72 "changedFields": [],
73 "includeBeforeAfter": True,
74 "maxChanges": 2000,
75 "inputLabel": "weekly-job-board-diff",
76 "acknowledgeObservedDiffOnly": True,
77}
78
79
80run = client.actor("zinin/job-board-snapshot-change-detector").call(run_input=run_input)
81
82
83print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
84for item in client.dataset(run.default_dataset_id).iterate_items():
85 print(item)
86
87