1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "datasetIds": [],
10 "rows": [
11 {
12 "email": "support@apify.com",
13 "company_domain": "apify.com",
14 },
15 {
16 "email": "support@stripe.com",
17 "company_domain": "stripe.com",
18 },
19 {
20 "email": "support@shopify.com",
21 "company_domain": "shopify.com",
22 },
23 {
24 "email": "support@dropbox.com",
25 "company_domain": "dropbox.com",
26 },
27 {
28 "email": "security@github.com",
29 "company_domain": "github.com",
30 },
31 {
32 "email": "security@mozilla.org",
33 "company_domain": "mozilla.org",
34 },
35 {
36 "email": "press@openai.com",
37 "company_domain": "openai.com",
38 },
39 {
40 "email": "support@notion.so",
41 "company_domain": "notion.so",
42 },
43 {
44 "email": "support@slack.com",
45 "company_domain": "slack.com",
46 },
47 {
48 "email": "support@atlassian.com",
49 "company_domain": "atlassian.com",
50 },
51 ],
52 "emailFields": [],
53 "domainFields": [],
54 "nameFields": [],
55 "companyFields": [],
56 "signals": [],
57 "websitePaths": [
58 "/about",
59 "/team",
60 ],
61 "maxRows": [10000],
62 "timeoutMs": [7000],
63 "retryCounts": [2],
64 "dedupKeys": [
65 "email",
66 "companyDomain",
67 ],
68 "disclaimerAck": ["accepted"],
69}
70
71
72run = client.actor("ntriqpro/b2b-lead-list-verifier").call(run_input=run_input)
73
74
75print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
76for item in client.dataset(run.default_dataset_id).iterate_items():
77 print(item)
78
79