1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "searchMode": "filters",
10 "directoryUrl": "https://www.ycombinator.com/companies?batch=Summer%202026&isHiring=true",
11 "maxItems": 10,
12 "outputMode": "company",
13 "scrapeFounders": True,
14 "scrapeJobs": False,
15 "scrapeLaunches": False,
16 "scrapeNews": False,
17 "concurrency": 20,
18}
19
20
21run = client.actor("fabri.ce/y-combinator-scraper").call(run_input=run_input)
22
23
24print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
25for item in client.dataset(run.default_dataset_id).iterate_items():
26 print(item)
27
28