1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "company_domain": "stripe.com",
10 "scoring_config": {
11 "weights": {
12 "gtm_hiring_signal": 12,
13 "gtm_role_count_strong": 6,
14 "crm_detected": 6,
15 "seq_tool_detected": 5,
16 "uses_clay": 4,
17 "uses_hubspot": 3,
18 "uses_salesforce": 2,
19 "headcount_in_range": 8,
20 "employee_band_match": 8,
21 "revenue_in_range": 7,
22 "industry_match": 8,
23 "recently_funded": 9,
24 "well_funded": 5,
25 "social_presence": 4,
26 "strong_social_following": 4,
27 "active_hiring_volume": 5,
28 "keyword_signal_match": 4,
29 },
30 "headcount_range": {
31 "min": 50,
32 "max": 5000,
33 },
34 "target_industries": [
35 "B2B Software",
36 "SaaS",
37 "Developer Tools",
38 "MarTech",
39 "Fintech",
40 "Professional Services",
41 ],
42 "target_employee_bands": [
43 "11-50",
44 "51-200",
45 "201-500",
46 "501-1000",
47 "1001-5000",
48 ],
49 "revenue_range": {
50 "min": 1000000,
51 "max": 1000000000,
52 },
53 "min_gtm_roles": 2,
54 "min_total_followers": 1000,
55 "min_social_platforms": 2,
56 "min_job_count": 3,
57 "min_keyword_matches": 1,
58 "min_funding_amount": 1000000,
59 },
60 "template": "full_signal",
61 "tier_thresholds": {
62 "tier_a": 80,
63 "tier_b": 60,
64 "tier_c": 40,
65 },
66 "funded_within_days": 540,
67 "gtm_hiring_signal": "true",
68 "gtm_role_count": "8",
69 "uses_clay": "true",
70 "crm_detected": "true",
71 "seq_tool_detected": "true",
72 "headcount": "3000",
73 "employee_band": "1001-5000",
74 "revenue_estimate": "50000000",
75 "latest_funding_amount": "50000000",
76 "funding_stage": "series_b",
77 "industry": "Fintech",
78 "social_platforms_found": "5",
79 "total_followers": "1490000",
80 "has_linkedin": "true",
81 "job_count": "12",
82 "keyword_match_count": "3",
83}
84
85
86run = client.actor("mambalabs/icp-account-lead-scoring-fit-scorer-0-100-for-clay").call(run_input=run_input)
87
88
89print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
90for item in client.dataset(run["defaultDatasetId"]).iterate_items():
91 print(item)
92
93