1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "currentItems": [
10 {
11 "id": "entity-a",
12 "entity": "Alpha",
13 "category": "growth",
14 "value": 132,
15 "date": "2026-09-01",
16 "source": "current",
17 },
18 {
19 "id": "entity-b",
20 "entity": "Beta",
21 "category": "risk",
22 "value": 78,
23 "date": "2026-09-01",
24 "source": "current",
25 },
26 {
27 "id": "entity-c",
28 "entity": "Gamma",
29 "category": "new",
30 "value": 55,
31 "date": "2026-09-01",
32 "source": "current",
33 },
34 ],
35 "previousItems": [
36 {
37 "id": "entity-a",
38 "entity": "Alpha",
39 "category": "growth",
40 "value": 100,
41 "date": "2026-08-01",
42 "source": "previous",
43 },
44 {
45 "id": "entity-b",
46 "entity": "Beta",
47 "category": "stable",
48 "value": 92,
49 "date": "2026-08-01",
50 "source": "previous",
51 },
52 ],
53}
54
55
56run = client.actor("quanmatrix/keyword-cannibalization-seo-collision-intelligence").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