1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "icpDescription": "Founders and heads of growth at B2B SaaS companies with 10-200 employees that sell to marketing teams",
10 "maxDiscoveryChargeUsd": 0.5,
11 "sourceMode": "list",
12 "itemsList": [
13 {
14 "email": "maya.chen@northwind-analytics.io",
15 "status": "valid",
16 "score": 96,
17 "smtp_valid": True,
18 "is_catch_all": False,
19 "is_disposable": False,
20 "is_role_based": False,
21 "is_free_provider": False,
22 "risk_type": None,
23 "syntax_valid": True,
24 "domain_exists": True,
25 "mx_found": True,
26 "reason": "Mailbox accepted",
27 "verified_at": "2026-10-03T09:12:41Z",
28 "name": "Maya Chen",
29 "title": "Head of Growth",
30 "company": "Northwind Analytics",
31 "website": "https://northwind-analytics.io",
32 },
33 {
34 "email": "d.okafor@brightpath.co",
35 "status": "valid",
36 "score": 91,
37 "smtp_valid": True,
38 "is_catch_all": False,
39 "is_disposable": False,
40 "is_role_based": False,
41 "is_free_provider": False,
42 "risk_type": None,
43 "syntax_valid": True,
44 "domain_exists": True,
45 "mx_found": True,
46 "reason": "Mailbox accepted",
47 "verified_at": "2026-10-03T09:12:42Z",
48 "title": "Founder",
49 "company": "BrightPath Studio",
50 },
51 {
52 "email": "info@lumenlabs.com",
53 "status": "valid",
54 "score": 78,
55 "smtp_valid": True,
56 "is_catch_all": False,
57 "is_disposable": False,
58 "is_role_based": True,
59 "is_free_provider": False,
60 "risk_type": "role_based",
61 "syntax_valid": True,
62 "domain_exists": True,
63 "mx_found": True,
64 "reason": "Role-based mailbox",
65 "verified_at": "2026-10-03T09:12:43Z",
66 "company": "Lumen Labs",
67 },
68 {
69 "email": "temp8841@mailinator.com",
70 "status": "invalid",
71 "score": 5,
72 "smtp_valid": False,
73 "is_catch_all": False,
74 "is_disposable": True,
75 "is_role_based": False,
76 "is_free_provider": False,
77 "risk_type": "disposable",
78 "syntax_valid": True,
79 "domain_exists": True,
80 "mx_found": True,
81 "reason": "Disposable domain",
82 "verified_at": "2026-10-03T09:12:44Z",
83 },
84 {
85 "email": "sam@acme-widgets.com",
86 "status": "valid",
87 "score": 74,
88 "smtp_valid": True,
89 "is_catch_all": True,
90 "is_disposable": False,
91 "is_role_based": False,
92 "is_free_provider": False,
93 "risk_type": "catch_all",
94 "syntax_valid": True,
95 "domain_exists": True,
96 "mx_found": True,
97 "reason": "Domain accepts all addresses",
98 "verified_at": "2026-10-03T09:12:45Z",
99 "company": "Acme Widgets",
100 },
101 {
102 "email": "jordan.lee@gmail.com",
103 "status": "valid",
104 "score": 88,
105 "smtp_valid": True,
106 "is_catch_all": False,
107 "is_disposable": False,
108 "is_role_based": False,
109 "is_free_provider": True,
110 "risk_type": None,
111 "syntax_valid": True,
112 "domain_exists": True,
113 "mx_found": True,
114 "reason": "Mailbox accepted",
115 "verified_at": "2026-10-03T09:12:46Z",
116 "name": "Jordan Lee",
117 },
118 {
119 "email": "priya.nair@tidewater.dev",
120 "status": "valid",
121 "score": 88,
122 "smtp_valid": True,
123 "is_catch_all": False,
124 "is_disposable": False,
125 "is_role_based": False,
126 "is_free_provider": False,
127 "risk_type": None,
128 "syntax_valid": True,
129 "domain_exists": True,
130 "mx_found": True,
131 "reason": "Mailbox accepted",
132 "verified_at": "2026-10-03T09:12:47Z",
133 "name": "Priya Nair",
134 "title": "VP Marketing",
135 "company": "Tidewater",
136 "website": "https://tidewater.dev",
137 },
138 ],
139 "discoveryInput": {},
140}
141
142
143run = client.actor("rich_minds/email-list-qualifier-ai").call(run_input=run_input)
144
145
146print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
147for item in client.dataset(run.default_dataset_id).iterate_items():
148 print(item)
149
150