1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "queries": [
10 "web scraping api",
11 "best crm for small business",
12 "cold email software",
13 "b2b lead generation tools",
14 "email verification service",
15 "linkedin scraper",
16 "google maps scraper",
17 "sales intelligence platform",
18 "b2b data provider",
19 "lead enrichment api",
20 ],
21 "decisionMakerTitles": [
22 "CEO",
23 "Founder",
24 "Owner",
25 "President",
26 ],
27}
28
29
30run = client.actor("bulkleads/duckduckgo-scraper").call(run_input=run_input)
31
32
33print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
34for item in client.dataset(run.default_dataset_id).iterate_items():
35 print(item)
36
37