1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "currentItems": [
10 {
11 "assignmentId": "A1",
12 "patentId": "US1001",
13 "assignee": "Acme Corp",
14 "cpc": "G06N",
15 "date": "2026-08-01",
16 },
17 {
18 "assignmentId": "A2",
19 "patentId": "US1002",
20 "assignee": "Acme Corp",
21 "cpc": "G06N",
22 "date": "2026-08-05",
23 },
24 {
25 "assignmentId": "A3",
26 "patentId": "US1003",
27 "assignee": "Beta Inc",
28 "cpc": "H04L",
29 "date": "2026-08-07",
30 },
31 ],
32 "previousItems": [{
33 "assignmentId": "P1",
34 "patentId": "US0901",
35 "assignee": "Acme Corp",
36 "cpc": "G06F",
37 "date": "2026-05-01",
38 }],
39}
40
41
42run = client.actor("quanmatrix/patent-transfer-ma-signal-intelligence").call(run_input=run_input)
43
44
45print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
46for item in client.dataset(run.default_dataset_id).iterate_items():
47 print(item)
48
49