1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [
9 {
10 "recordType": "screening_result",
11 "schemaVersion": "1.0.0",
12 "found": True,
13 "partial": False,
14 "failureType": None,
15 "checkedAt": "2026-09-22T05:34:24.086Z",
16 "observedAt": "2026-09-22T05:34:24.086Z",
17 "input": "Rosneft",
18 "match": True,
19 "matchCount": 3,
20 "matches": [
21 {
22 "listName": "EU Consolidated",
23 "entityName": "RN AERO",
24 "entityType": "entity",
25 "program": "UKR",
26 "matchedName": "ROSNEFT AERO",
27 "matchedNameType": "alias",
28 "score": 1,
29 },
30 {
31 "listName": "OFAC SDN",
32 "entityName": "ROSNEFT TRADING S.A.",
33 "entityType": "entity",
34 "program": "UKRAINE-EO13662, VENEZUELA-EO13850",
35 "matchedName": "ROSNEFT TRADING S.A.",
36 "matchedNameType": "primary",
37 "score": 1,
38 },
39 {
40 "listName": "OFAC SDN",
41 "entityName": "OPEN JOINT-STOCK COMPANY ROSNEFT OIL COMPANY",
42 "entityType": "entity",
43 "program": "UKRAINE-EO13662, RUSSIA-EO14024",
44 "matchedName": "OPEN JOINT-STOCK COMPANY ROSNEFT OIL COMPANY",
45 "matchedNameType": "primary",
46 "score": 1,
47 },
48 ],
49 "listsChecked": [
50 "OFAC SDN",
51 "EU Consolidated",
52 ],
53 "listsComplete": True,
54 "__source": {
55 "actor": "zinin/sanctions-screening",
56 "actorId": "RYwuWHt3affl21mgr",
57 "runId": "gfGprzXPXSImvd42G",
58 "datasetId": "FaAC6aj77s1y29W7J",
59 "sampleRowIndex": 0,
60 "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload.",
61 },
62 },
63 {
64 "recordType": "sanctions_update_alert",
65 "found": False,
66 "error": "",
67 "checkedAt": "2026-09-22T05:34:43.197Z",
68 "observedAt": "2026-09-22T05:34:43.197Z",
69 "baselineCreated": False,
70 "name": None,
71 "entityId": None,
72 "entityName": None,
73 "listName": None,
74 "entityType": None,
75 "program": None,
76 "matchedName": None,
77 "matchedNameType": None,
78 "currentHitsCount": None,
79 "changedHitsCount": None,
80 "disappearedHitsCount": None,
81 "sourceComplete": True,
82 "errorCode": None,
83 "changeType": None,
84 "__source": {
85 "actor": "zinin/sanctions-update-alert",
86 "actorId": "VH62PZAzDLhD5qeU9",
87 "runId": "90xCoTrpIdfoZy8gy",
88 "datasetId": "jbD8vHxOyfg1T2OL7",
89 "sampleRowIndex": 0,
90 "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload.",
91 },
92 },
93 {
94 "recordType": "sanctions_update_alert",
95 "found": False,
96 "error": "",
97 "checkedAt": "2026-09-19T17:38:22.865Z",
98 "observedAt": "2026-09-19T17:38:22.865Z",
99 "baselineCreated": False,
100 "name": None,
101 "entityId": None,
102 "entityName": None,
103 "listName": None,
104 "entityType": None,
105 "program": None,
106 "matchedName": None,
107 "matchedNameType": None,
108 "currentHitsCount": None,
109 "changedHitsCount": None,
110 "disappearedHitsCount": None,
111 "sourceComplete": True,
112 "errorCode": None,
113 "changeType": None,
114 "__source": {
115 "actor": "zinin/sanctions-update-alert",
116 "actorId": "VH62PZAzDLhD5qeU9",
117 "runId": "F1DaBhH5BOckF9xCo",
118 "datasetId": "yRboZHYT2ATFJWPhc",
119 "sampleRowIndex": 0,
120 "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload.",
121 },
122 },
123 {
124 "recordType": "sanctions_update_alert",
125 "found": False,
126 "error": "",
127 "checkedAt": "2026-09-17T11:31:36.877Z",
128 "observedAt": "2026-09-17T11:31:36.877Z",
129 "baselineCreated": False,
130 "name": None,
131 "entityId": None,
132 "entityName": None,
133 "listName": None,
134 "entityType": None,
135 "program": None,
136 "matchedName": None,
137 "matchedNameType": None,
138 "currentHitsCount": None,
139 "changedHitsCount": None,
140 "disappearedHitsCount": None,
141 "sourceComplete": True,
142 "errorCode": None,
143 "changeType": None,
144 "__source": {
145 "actor": "zinin/sanctions-update-alert",
146 "actorId": "VH62PZAzDLhD5qeU9",
147 "runId": "bMS7hRm12kHbo7da6",
148 "datasetId": "kJLTAIClpQ9I8Cggx",
149 "sampleRowIndex": 0,
150 "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload.",
151 },
152 },
153 ] }
154
155
156run = client.actor("zinin/sanctions-source-coverage-review").call(run_input=run_input)
157
158
159print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
160for item in client.dataset(run.default_dataset_id).iterate_items():
161 print(item)
162
163