# Y Combinator Companies & Founders Scraper (`webdatatools/yc-companies-scraper`) Actor

Y Combinator company directory scraper — batch, industry, hiring status, one-liner, description and founder names/titles/LinkedIn/Twitter for every YC-funded startup, one row per company.

- **URL**: https://apify.com/webdatatools/yc-companies-scraper.md
- **Developed by:** [Murat Uzun](https://apify.com/webdatatools) (community)
- **Categories:** Lead generation, Business, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What is Y Combinator Companies & Founders Scraper?

Y Combinator Companies & Founders Scraper is an Apify Actor that reads Y Combinator's public startup directory at [ycombinator.com/companies](https://www.ycombinator.com/companies) and returns **one clean row per company** — batch, status, industries, team size, hiring status, one-liner, description and, optionally, **founder name, title, LinkedIn and Twitter/X**. It reads the same public search index the directory page itself queries (with YC’s public `api.ycombinator.com` feed as a fallback), so there is no browser, no anti-bot wall and no API key required, and it can return the **whole directory (6,000+ companies)**, newest launches first. Founder details come from the server-rendered JSON embedded in each company's own profile page. Try it with the default input to pull the 200 most recently launched YC companies, or filter by batch (`W25`, `S25`, `F26`…), industry, status or hiring status.

### Why use Y Combinator Companies & Founders Scraper?

YC has funded over 5,000 startups, and its directory is one of the highest-signal sources of pre-seed and seed-stage company data on the internet — every listed company has passed YC's selection process and has real founders behind it. Buyers of this data include:

- **VCs and angel investors** sourcing deal flow by batch or industry before a demo day.
- **Recruiters and talent scouts** targeting companies that are actively hiring.
- **B2B sales and lead-gen teams** building prospect lists of well-funded, fast-growing startups.
- **Market researchers** tracking which industries and sectors YC is funding batch over batch.

Because founders are extracted with their name, title, LinkedIn and Twitter/X handle, this Actor doubles as a founder-contact-discovery tool — no manual profile-by-profile browsing needed.

### How to use Y Combinator Companies & Founders Scraper

1. Click **Start** with the default input to fetch the 200 newest companies with founders included, or
2. Fill in **Batches** (e.g. `W25`), **Industries** (e.g. `B2B`), **Company statuses** and/or turn on **Is hiring** to narrow the list.
3. Set **Max companies** to the number of rows you need (up to 10,000).
4. Leave **Include founders** on to get founder name/title/LinkedIn/Twitter per company, or turn it off for a faster, founder-free run.
5. Click **Start**, then export the dataset as JSON, CSV, Excel or HTML.

### Example input

```json
{
    "batches": ["W25"],
    "industries": ["B2B"],
    "isHiring": true,
    "maxCompanies": 50,
    "includeFounders": true
}
```

### Example output

```json
{
    "id": 30365,
    "name": "Mentra",
    "slug": "mentra",
    "ycUrl": "https://www.ycombinator.com/companies/mentra",
    "website": "https://mentra.glass",
    "oneLiner": "Building the open source smart glasses operating system.",
    "batch": "W25",
    "status": "Active",
    "industries": ["Consumer", "Virtual and Augmented Reality"],
    "teamSize": 12,
    "isHiring": true,
    "founders": [
        { "name": "Cayden Pierce", "title": "Founder/CEO", "linkedin": "https://www.linkedin.com/in/cayden-pierce/", "twitter": "https://x.com/caydengineer" }
    ],
    "founderCount": 2,
    "scrapedAt": "2026-09-12T18:29:20.320Z"
}
```

### Data table

| Field                                                          | Type            | Description                                                                                |
| --------------------------------------------------------------- | --------------- | -------------------------------------------------------------------------------------------- |
| `id`, `name`, `slug`, `ycUrl`, `website`, `logoUrl`             | number, string  | Identity fields and links                                                                    |
| `oneLiner`, `description`                                       | string          | Short pitch and long description (truncated to 2,000 characters)                             |
| `batch`, `status`                                                | string          | YC batch code (e.g. `W25`) and Active/Acquired/Public/Inactive                                |
| `industries`, `tags`, `locations`, `regions`                    | array           | Industry tags, free-form tags, self-reported offices and region groupings                    |
| `teamSize`                                                       | number          | Self-reported headcount                                                                       |
| `launchedAt`                                                     | string or null  | When the company launched on YC (ISO 8601)                                                        |
| `isHiring`                                                       | boolean or null | Whether the company lists open jobs on YC                                                      |
| `founders`, `founderCount`                                       | array, number   | `{name, title, linkedin, twitter}` per founder, from the company's own profile page           |
| `error`                                                          | string or null  | Set only if founder enrichment failed for this row; all listing fields are still populated    |
| `scrapedAt`                                                      | string          | ISO 8601 timestamp of the run                                                                 |

### Pricing

Y Combinator Companies & Founders Scraper is **pay-per-event** at **$0.002 per company row**. Scraping 1,000 companies with founders costs **$2**, well below the cost of hiring someone to browse the directory manually or building your own scraper against an undocumented API.

### Y Combinator Companies & Founders Scraper vs. manual directory browsing

The YC directory's website only shows 20 companies per page with no bulk export, and founder contact details require opening each profile individually. This Actor pulls thousands of rows in minutes, runs on a schedule, and outputs structured JSON/CSV ready for your CRM, spreadsheet or BI tool — instead of hours of copy-paste.

### Using Y Combinator Companies & Founders Scraper with AI agents / MCP

This Actor is built pay-per-event with limited permissions, so it is directly callable by AI agents through the [Apify MCP server](https://mcp.apify.com) or the `search-actors`/`call-actor` tools. Ask an agent to "find YC W25 companies hiring in B2B with founder LinkedIn URLs" and it can call this Actor with the matching input and read the results straight from the dataset.

### FAQ

**Is this legal?** The Actor reads only YC's own public directory data (the search index behind ycombinator.com/companies and `api.ycombinator.com`) and the public HTML of company profile pages — the same data anyone can see by visiting ycombinator.com/companies while logged out. No login, scraping of private Bookface data, or circumvention of access controls is involved.

**Does this include founder emails?** No — only publicly listed name, title, LinkedIn and Twitter/X, exactly as shown on the company's own YC profile page.

**Integrations**: Pipe the dataset into Google Sheets, Airtable, HubSpot or Salesforce via Apify's built-in integrations, or connect it to n8n/Make/Zapier for automated lead-list building.

**Something not working?** Open an issue on the Actor's Issues tab — YC occasionally reshapes its page markup, and a broken founder parser is usually a quick fix.

### Related Actors

Part of the **webdatatools** web-intelligence suite — every Actor is pay-per-event, reads public data
without a login, and returns one clean row per entity:

Browse the whole suite at [webdatatools](https://paulet4a-commits.github.io/webdatatools/), or call ten of
these Actors straight from Claude, Cursor or Cline with the
[webdatatools MCP server](https://github.com/paulet4a-commits/webdatatools-mcp-server).

**Website & domain intelligence**

- [Email Extractor — Website Contact & Social Finder](https://apify.com/webdatatools/contact-extractor) — e-mails, phones and social profiles per domain
- [Tech Stack Detector — Wappalyzer & BuiltWith Alternative](https://apify.com/webdatatools/tech-stack-detector) — CMS, e-commerce, analytics, pixels and payments per domain
- [Domain DNS & Email Security Checker](https://apify.com/webdatatools/dns-email-security-checker) — SPF, DKIM, DMARC, MX provider, registrar and domain age
- [Domain Security Audit (TLS, HTTP headers, redirects, robots)](https://apify.com/webdatatools/domain-security-audit) — TLS expiry, security headers, redirect chain, robots and llms.txt
- [Subdomain Finder (Certificate Transparency)](https://apify.com/webdatatools/subdomain-finder) — every subdomain seen in CT logs, with a live DNS check
- [Bulk Core Web Vitals & PageSpeed Audit](https://apify.com/webdatatools/core-web-vitals-audit) — Lighthouse scores, LCP, CLS, INP and top fixes per URL
- [On-Page SEO Audit](https://apify.com/webdatatools/seo-page-audit) — title, meta, headings, links, images and schema issues per page
- [Sitemap URL Extractor & Change Monitor](https://apify.com/webdatatools/sitemap-extractor) — every sitemap URL, or new and removed pages between runs
- [Wayback Machine Snapshot & Page Change Tracker](https://apify.com/webdatatools/wayback-page-diff) — how a page changed over time, or every archived snapshot
- [Bulk Domain WHOIS & RDAP Lookup](https://apify.com/webdatatools/domain-whois-rdap) — registrar, dates, status and nameservers per domain
- [Web Scraper — CSS Selector & Data Extractor](https://apify.com/webdatatools/css-selector-extractor) — pull any CSS selector off any page, one row per URL
- [Website Screenshot Generator](https://apify.com/webdatatools/website-screenshot) — full-page or viewport PNG/JPEG screenshots of any URL

**Content for AI, LLMs and RAG**

- [AI Web Search & Read: Google results as clean Markdown](https://apify.com/webdatatools/ai-web-search) — a query turned into clean Markdown from the top search results
- [Website to Markdown — Content Crawler for LLM & RAG](https://apify.com/webdatatools/website-to-markdown) — any site as clean Markdown per page, no browser
- [Article & News Extractor (clean text, author, date, markdown)](https://apify.com/webdatatools/article-extractor) — clean article text, author, date and Markdown per URL
- [Structured Data & JSON-LD Extractor (Schema.org, Open Graph)](https://apify.com/webdatatools/structured-data-extractor) — Schema.org and Open Graph data from any page
- [Google News Scraper (RSS search by keyword, topic, site)](https://apify.com/webdatatools/google-news-scraper) — news results by keyword, topic or site
- [Press Release Monitor: PR Newswire, BusinessWire, GlobeNewswire](https://apify.com/webdatatools/press-release-monitor) — PR Newswire, Business Wire and GlobeNewswire releases

**Search, video and social**

- [YouTube Shorts Scraper](https://apify.com/webdatatools/youtube-shorts-scraper) — Shorts from channels, hashtags and searches with view counts
- [Pinterest Pins Scraper](https://apify.com/webdatatools/pinterest-pins-scraper) — latest pins of public Pinterest profiles and boards
- [YouTube Transcript Scraper](https://apify.com/webdatatools/youtube-transcript-scraper) — captions and subtitles as text + timed segments, per video or channel
- [Google Search Results Scraper — SERP API](https://apify.com/webdatatools/google-search-scraper) — organic SERP results per keyword and country
- [YouTube Comments Scraper — Comments & Replies](https://apify.com/webdatatools/youtube-comments-scraper) — comments and replies with likes, no API key
- [YouTube Channel Latest Videos (RSS, no API key)](https://apify.com/webdatatools/youtube-channel-videos) — the latest 15 videos of any channel from RSS
- [YouTube Channel Scraper (videos, shorts, live)](https://apify.com/webdatatools/youtube-channel-scraper) — a channel's full video, shorts and stream list
- [YouTube Search Results Scraper (videos, channels, no API key)](https://apify.com/webdatatools/youtube-search-scraper) — videos, channels and playlists per query
- [YouTube Video Details Scraper (views, likes, description, tags)](https://apify.com/webdatatools/youtube-video-details) — views, likes, description, tags and chapters per video
- [Apple Podcasts Lookup & Episodes Scraper](https://apify.com/webdatatools/podcast-lookup) — podcast metadata and episodes from iTunes and RSS
- [Bluesky Post, Search & Profile Scraper](https://apify.com/webdatatools/bluesky-scraper) — posts, profiles, followers and threads from the AT Protocol API
- [Telegram Channel Posts Scraper](https://apify.com/webdatatools/telegram-channel-scraper) — posts, views and media flags from any public channel
- [Substack Publication & Posts Scraper](https://apify.com/webdatatools/substack-scraper) — archive, authors and paywall status per publication
- [Google Play Reviews Scraper](https://apify.com/webdatatools/google-play-reviews-scraper) — reviews, ratings, replies and app versions per app
- [App Store Reviews Scraper](https://apify.com/webdatatools/app-store-reviews-scraper) — iOS reviews and ratings per app and country
- [Google Trends Scraper](https://apify.com/webdatatools/google-trends-scraper) — interest over time, by region, and related queries per keyword
- [Google Ads Transparency Scraper](https://apify.com/webdatatools/google-ads-transparency-scraper) — ads any advertiser runs on Google, with format and dates
- [Keyword Suggestions Scraper (Google, YouTube, Amazon, Bing)](https://apify.com/webdatatools/keyword-suggestions-scraper) — autocomplete keyword ideas from four search engines
- [Bilibili Scraper (Videos, Search, Popular)](https://apify.com/webdatatools/bilibili-scraper) — Chinese video platform: views, likes, coins, danmaku, uploader
- [Mastodon Scraper (Hashtags, Accounts, Trending)](https://apify.com/webdatatools/mastodon-scraper) — public fediverse posts by hashtag, account or trending
- [Meetup Events Scraper (Search by Keyword & City)](https://apify.com/webdatatools/meetup-events-scraper) — upcoming events with RSVPs, fees, venues and groups
- [Eventbrite Scraper (Events by Keyword & City)](https://apify.com/webdatatools/eventbrite-scraper) — events by keyword and city with venue, dates and organizer

**Leads, jobs and company data**

- [Career Site Jobs API (Greenhouse, Lever, Ashby, Workday +1)](https://apify.com/webdatatools/career-site-jobs-api) — company domains in, their open jobs out, ATS detected automatically
- [Workday Jobs Scraper](https://apify.com/webdatatools/workday-jobs-scraper) — jobs with full descriptions from any Workday career site
- [Google Maps Scraper](https://apify.com/webdatatools/google-maps-scraper) — businesses with phone, website, address, rating and coordinates per search
- [LinkedIn Jobs Scraper](https://apify.com/webdatatools/linkedin-jobs-scraper) — job titles, companies, locations and full descriptions from LinkedIn job search
- [Company 360: full company profile from a domain](https://apify.com/webdatatools/company-360) — one row per domain: contacts, tech, security, hiring and company facts
- [Hiring Signals Scraper (Greenhouse, Lever, Ashby, Workable)](https://apify.com/webdatatools/hiring-signals) — open jobs and hiring velocity from 10 public ATS boards
- [Wikidata Entity & Company Enrichment (facts, IDs, links)](https://apify.com/webdatatools/wikidata-entity-enrichment) — HQ, founders, employees, revenue and social IDs per company
- [Email Validator & Verifier — Bulk Email Check](https://apify.com/webdatatools/email-validator) — syntax, MX, disposable, role and free-provider checks
- [OpenStreetMap POI Extractor (Overpass API: shops, amenities)](https://apify.com/webdatatools/overpass-poi-extractor) — shops and amenities by radius, bbox or area
- [Stock, Crypto & FX Quotes](https://apify.com/webdatatools/market-quotes) — one row per symbol from Yahoo, Binance and ECB rates
- [Remote Jobs Aggregator (RemoteOK, WWR, Hacker News)](https://apify.com/webdatatools/remote-jobs-aggregator) — one clean row per remote job, de-duplicated across feeds
- [Greenhouse Jobs Scraper](https://apify.com/webdatatools/greenhouse-jobs-scraper) — jobs with descriptions from any Greenhouse job board
- [Lever Jobs Scraper](https://apify.com/webdatatools/lever-jobs-scraper) — jobs with descriptions from any Lever careers page
- [Ashby Jobs Scraper](https://apify.com/webdatatools/ashby-jobs-scraper) — jobs, salaries and descriptions from any Ashby job board
- [SmartRecruiters Jobs Scraper](https://apify.com/webdatatools/smartrecruiters-jobs-scraper) — jobs with descriptions from any SmartRecruiters company
- [Seek Jobs Scraper (Australia & New Zealand)](https://apify.com/webdatatools/seek-jobs-scraper) — Seek job ads with salary, work type and location
- [Dice Jobs Scraper](https://apify.com/webdatatools/dice-jobs-scraper) — US tech jobs from Dice with salary and remote flag
- [AutoScout24 Scraper](https://apify.com/webdatatools/autoscout24-scraper) — European car listings with price, mileage and seller
- [Rightmove Scraper](https://apify.com/webdatatools/rightmove-scraper) — UK property for sale or rent with price and agent
- [Wellfound Jobs Scraper (AngelList Startup Jobs)](https://apify.com/webdatatools/wellfound-jobs-scraper) — startup jobs with salary and equity ranges, company size and stage
- [Yandex Maps Scraper (Places, Ratings, Phones)](https://apify.com/webdatatools/yandex-maps-scraper) — businesses in Russia, Türkiye and the CIS with phones, ratings, hours
- [Craigslist Scraper (Listings, Prices, Locations)](https://apify.com/webdatatools/craigslist-scraper) — listings in any area and category with price, date and coordinates
- [JobStreet Scraper (Malaysia, Singapore, PH, ID + JobsDB)](https://apify.com/webdatatools/jobstreet-scraper) — JobStreet and JobsDB jobs in 6 Asian countries with parsed salaries
- [InfoJobs Scraper (Spain Jobs, Salaries, Companies)](https://apify.com/webdatatools/infojobs-scraper) — Spanish jobs with salary range, contract type and full description
- [Redfin Scraper (Homes for Sale, Prices, Details)](https://apify.com/webdatatools/redfin-scraper) — US homes for sale or sold from any Redfin search, with price and details
- [Kleinanzeigen Scraper (Ads, Prices, Locations)](https://apify.com/webdatatools/kleinanzeigen-scraper) — German classifieds with price, VB flag, ZIP, city and seller type

**Developer, app and research data**

- [npm, PyPI & Crates.io Package Health Checker](https://apify.com/webdatatools/package-health-checker) — releases, downloads, deprecation and a health score
- [GitHub Repository Health & Activity Report](https://apify.com/webdatatools/github-repo-health) — stars, commits, contributors and risk flags per repo
- [VS Code Marketplace Extension Scraper (installs, ratings)](https://apify.com/webdatatools/vscode-marketplace-extensions) — installs, ratings and versions per extension
- [Chrome Web Store Extension Scraper (installs, ratings)](https://apify.com/webdatatools/chrome-web-store-extensions) — users, rating, version and developer per extension
- [Google Play Scraper](https://apify.com/webdatatools/google-play-scraper) — apps, ratings, installs, developer contact and reviews
- [App Store (iOS) App Metadata, Ratings & Top Charts Lookup](https://apify.com/webdatatools/app-store-lookup) — ratings, price, version and charts per app
- [CrossRef DOI & Citation Metadata Lookup](https://apify.com/webdatatools/crossref-doi-lookup) — papers, authors, journals and citation counts
- [FDA Recalls & Adverse Events Monitor (openFDA)](https://apify.com/webdatatools/openfda-recall-monitor) — food, drug and device recalls from openFDA
- [iCal / ICS Calendar Feed to Events Extractor](https://apify.com/webdatatools/ical-calendar-extractor) — any public calendar feed as event rows
- [Shopify Store Products Scraper](https://apify.com/webdatatools/shopify-products-scraper) — catalog, prices, variants and stock per store
- [Hacker News Search & Front Page Scraper](https://apify.com/webdatatools/hacker-news-scraper) — stories, comments and points by query or front page
- [GitHub Trending Repositories Scraper](https://apify.com/webdatatools/github-trending-scraper) — trending repos and developers by language and period
- [Stack Overflow & Stack Exchange Q\&A Scraper](https://apify.com/webdatatools/stackexchange-scraper) — questions, answers and scores by query, tag or site
- [Bulk Image Downloader](https://apify.com/webdatatools/bulk-image-downloader) — download image URLs to storage with size, dimensions and a ZIP
- [Google Flights Scraper (Prices, Airlines, Stops)](https://apify.com/webdatatools/google-flights-scraper) — flight prices, airlines, times, stops and CO2 by route and date
- [Google Hotels Scraper (Prices, Ratings, Reviews)](https://apify.com/webdatatools/google-hotels-scraper) — hotel prices per night, stars, rating and reviews by city and dates
- [AliExpress Scraper (Search Products & Prices)](https://apify.com/webdatatools/aliexpress-scraper) — AliExpress search results with USD price, discount and rank
- [Lazada Scraper (Products, Prices, Sold, Ratings)](https://apify.com/webdatatools/lazada-scraper) — Lazada products in 6 countries with price, rating, units sold and seller

### Support

Found a bug or have a feature request? Use the Issues tab on this Actor's Apify Store page — custom scraping and data-enrichment work is also available on request.

# Actor input Schema

## `mode` (type: `string`):

Pick "Browse companies" to list/filter the directory by batch, industry, status or hiring status, or "Search by keyword" to additionally match the query text against each company's name and description.

## `query` (type: `string`):

Enter keywords to match against the company name, one-liner and description, e.g. "AI agents". Only used when mode is "Search by keyword", or as an extra filter on top of the other fields in "Browse companies" mode. Leave empty to skip text search.

## `batches` (type: `array`):

Enter YC batch codes to keep, e.g. W25, S25, F26. Leave empty to include every batch. Codes are case-insensitive and matched exactly against the company's batch field.

## `industries` (type: `array`):

Enter industry names to keep, e.g. B2B, Fintech, Healthcare. A company matches if it has at least one of the listed industries. Leave empty to include every industry.

## `statuses` (type: `array`):

Select which company statuses to keep. Leave empty to include every status (most companies are Active).

## `isHiring` (type: `boolean`):

Turn on to keep only companies currently marked as hiring on YC's directory, or leave this switch off (unset) to include both hiring and non-hiring companies. There is no third state for "only non-hiring" — untoggled means "do not filter".

## `maxCompanies` (type: `integer`):

Enter the maximum number of matching companies to return, e.g. 200. This is also the billed unit — the run stops as soon as it collects this many matches or runs out of companies to check.

## `includeFounders` (type: `boolean`):

Keep this on to fetch each matched company's public YC profile page and extract founder name, title, LinkedIn and Twitter/X links. Turning it off skips one extra request per company and returns founders as null, which is much faster for large runs.

## `maxConcurrency` (type: `integer`):

Enter how many HTTP requests (listing pages and founder profile pages) to run in parallel, e.g. 3. Raise it for faster large runs, lower it if you see request errors.

## Actor input object example

```json
{
  "mode": "companies",
  "query": "AI agents",
  "batches": [
    "W25"
  ],
  "industries": [
    "B2B"
  ],
  "statuses": [
    "Active"
  ],
  "maxCompanies": 50,
  "includeFounders": true,
  "maxConcurrency": 3
}
```

# Actor output Schema

## `companies` (type: `string`):

All matched companies — download as JSON, CSV, Excel or HTML.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "companies",
    "query": "AI agents",
    "batches": [
        "W25"
    ],
    "industries": [
        "B2B"
    ],
    "statuses": [
        "Active"
    ],
    "maxCompanies": 50,
    "includeFounders": true,
    "maxConcurrency": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("webdatatools/yc-companies-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "companies",
    "query": "AI agents",
    "batches": ["W25"],
    "industries": ["B2B"],
    "statuses": ["Active"],
    "maxCompanies": 50,
    "includeFounders": True,
    "maxConcurrency": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("webdatatools/yc-companies-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "companies",
  "query": "AI agents",
  "batches": [
    "W25"
  ],
  "industries": [
    "B2B"
  ],
  "statuses": [
    "Active"
  ],
  "maxCompanies": 50,
  "includeFounders": true,
  "maxConcurrency": 3
}' |
apify call webdatatools/yc-companies-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,webdatatools/yc-companies-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/pG9PALrFB6nbU7rZ4/builds/fuBlAVEnPoBWeAbDH/openapi.json
