1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "records": [
10 {
11 "company": "Northstar HVAC Supply",
12 "website": "https://northstarhvacsupply.example",
13 "email": "sales@northstarhvacsupply.example",
14 "phone": "+1 555 010 2210",
15 "city": "Dallas",
16 "state": "TX",
17 "description": "Commercial HVAC supplier serving contractors and property managers",
18 },
19 {
20 "company": "Metro Build Expo",
21 "url": "https://events.example/metro-build-expo",
22 "category": "Building & Construction",
23 "city": "Chicago",
24 "country": "US",
25 "estimatedVisitors": 8500,
26 },
27 ],
28 "icpDescription": "B2B companies in construction, HVAC, industrial supply, manufacturing, trade shows, logistics, or services with a website and reachable sales/contact channel.",
29}
30
31
32run = client.actor("leadops_lab/lead-intelligence-scorer-pro").call(run_input=run_input)
33
34
35print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
36for item in client.dataset(run["defaultDatasetId"]).iterate_items():
37 print(item)
38
39