1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "currentItems": [
10 {
11 "jobId": "JOB1",
12 "employer": "Acme Retail",
13 "jobFamily": "Engineering",
14 "salaryUsd": 82000,
15 "category": "new",
16 "date": "2026-10-12",
17 },
18 {
19 "jobId": "JOB2",
20 "employer": "Acme Retail",
21 "jobFamily": "Support",
22 "salaryUsd": 49000,
23 "category": "new",
24 "date": "2026-10-12",
25 },
26 {
27 "jobId": "JOB3",
28 "employer": "Beta Systems",
29 "jobFamily": "Engineering",
30 "salaryUsd": 91000,
31 "category": "active",
32 "date": "2026-10-12",
33 },
34 ],
35 "previousItems": [
36 {
37 "jobId": "JOB3",
38 "employer": "Beta Systems",
39 "jobFamily": "Engineering",
40 "salaryUsd": 88000,
41 "category": "active",
42 "date": "2026-10-05",
43 },
44 {
45 "jobId": "JOB0",
46 "employer": "Acme Retail",
47 "jobFamily": "Engineering",
48 "salaryUsd": 79000,
49 "category": "removed",
50 "date": "2026-10-05",
51 },
52 ],
53}
54
55
56run = client.actor("quanmatrix/indeed-job-salary-demand-change-analyzer").call(run_input=run_input)
57
58
59print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
60for item in client.dataset(run.default_dataset_id).iterate_items():
61 print(item)
62
63