1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "maxResults": 100,
10 "jobTitles": [
11 "Chief Executive Officer",
12 "VP of Sales",
13 "Head of Growth",
14 ],
15 "jobFunctions": [
16 "Sales",
17 "Marketing",
18 ],
19 "seniority": [
20 "CXO",
21 "Vice President",
22 "Director",
23 ],
24 "companySizeMin": 10,
25 "companySizeMax": 500,
26 "industries": [
27 "Computer Software",
28 "Information Technology & Services",
29 ],
30 "countries": ["United States"],
31}
32
33
34run = client.actor("scalelist/leads-finder").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41