1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "sanctionsLists": [
10 "ofac_sdn",
11 "ofac_consolidated",
12 "uk_sanctions",
13 ],
14 "cacheMaxAgeHours": 24,
15 "contactEmail": "",
16 "tool": "screen_sanctions",
17 "arguments": {
18 "name": "Banco Nacional de Cuba",
19 "entity_type": "company",
20 },
21}
22
23
24run = client.actor("taiw/company-due-diligence-mcp").call(run_input=run_input)
25
26
27print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
28for item in client.dataset(run.default_dataset_id).iterate_items():
29 print(item)
30
31