# Y Combinator Companies API: Startup Directory (`ailu_studio/yc-companies-api`) Actor

Export Y Combinator company profiles. Filter batches, industries, regions and hiring status for startup research and company lists.

- **URL**: https://apify.com/ailu_studio/yc-companies-api.md
- **Developed by:** [Ailu Studio](https://apify.com/ailu_studio) (community)
- **Categories:** Lead generation, Business, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 result rows

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### Y Combinator Companies API: Startup Directory

Export Y Combinator company profiles. Filter batches, industries, regions and hiring status for startup research and company lists.

### Try a small sample

Paste this into the Input JSON editor, run the Actor, then inspect its dataset. Export JSON or CSV from the dataset, or use the API tab for authenticated integration examples.

```json
{
  "maxItems": 10
}
```

### Workflow example

Use hiring flags to shortlist startup research targets. Directory flags can lag company changes; verify current openings on the linked careers page.

```json
{
  "isHiring": true,
  "maxItems": 50
}
```

Examples show supported inputs, not guaranteed result counts. Public sources and filters can produce fewer rows or zero rows. Check the run log and any summary/error records before treating the output as complete.

For recurring use, save the input as an Apify Task and schedule sequential runs. Export results to your own spreadsheet, database, n8n or Make workflow. Scheduling does not add stateful tracking to Actors that only return snapshots. Keep API credentials in environment variables.

### Related workflow

[Careers Page Jobs API: Eight ATS Platforms](https://apify.com/ailu_studio/career-site-jobs-api) can complement this Actor. It runs separately and has its own price and input requirements.

### Detailed reference

### Y Combinator Companies API: All YC Startups by Batch, Industry, Status

Get the Y Combinator company directory as clean JSON: every YC startup with batch, status (Active, Acquired, Public, Inactive), one-liner, long description, website, industries, tags, regions, locations, team size, hiring flag and Top Company badge. Filter by batch (`W25`, `S25`, `F24`, ...), industry, status, region, hiring status or free-text keywords. The Actor reads the public JSON API that powers ycombinator.com/companies directly (no API key, no browser, no HTML scraping) and returns one flat row per company with a stable `id`, so it works well for AI agents, lead lists, dashboards and scheduled exports.

### Use cases

- Build investor, sales or recruiting lead lists of YC startups in a given batch, industry or region.
- Track a new batch as companies are announced: run with `batches: ["W27"]` on a schedule and diff on `id`.
- Market research: count companies per industry, status or region, or export descriptions for analysis.
- Find YC companies that are hiring in your field (`isHiring: true` plus `industries` or `keywords`).
- Feed company descriptions, websites and tags into an AI agent or an enrichment pipeline.

### Input

| Field | Default | Meaning |
|---|---|---|
| `batches` | `[]` | Batch codes such as `W25`, `S25`, `F24`, `X25` (also `Winter 2025`). Case-insensitive. Empty = all batches, newest first. |
| `industries` | `[]` | Industry names, e.g. `Fintech`, `Healthcare`, `B2B`, `Consumer`, `Industrials`. Exact YC names are filtered by the API (fast); other text is matched as a case-insensitive substring while paging (slower). A company matches when any of its industries matches any term. |
| `status` | `all` | `all`, `Active`, `Acquired`, `Public` or `Inactive`. |
| `isHiring` | `false` | When true, only companies flagged as hiring. False applies no filter. |
| `regions` | `[]` | Region or country names as YC uses them, e.g. `Europe`, `United States of America`, `India`, `Germany`, `Remote`. Exact names are filtered by the API; other text falls back to substring matching. |
| `keywords` | `[]` | Free-text terms passed to YC's company search (name, one-liner, description, tags). One search per term; results are merged and de-duplicated. |
| `topCompanyOnly` | `false` | When true, only companies on YC's Top Companies list. |
| `maxItems` | `200` | Maximum number of charged rows. Paging stops as soon as this many companies have been collected. |

Example input:

```json
{ "batches": ["W25", "S25"], "industries": ["Fintech"], "status": "Active", "isHiring": true, "maxItems": 500 }
```

Filters within one field are OR-ed (any batch, any industry, any region, any keyword); different fields are AND-ed.

### Output

One row per company.

| Field | Type | Meaning |
|---|---|---|
| `id` | string | Stable key `yc:<slug>`. |
| `name` | string | null | Company name. |
| `slug` | string | null | Profile slug, e.g. `airbnb`. |
| `batch` | string | null | Batch code: `W` winter, `S` summer, `F` fall, `P` spring (e.g. `W25`, `P25`). |
| `status` | string | null | `Active`, `Acquired`, `Public` or `Inactive`. |
| `oneLiner` | string | null | One-sentence pitch. |
| `description` | string | null | Long description, paragraph breaks kept, truncated to 2,000 characters. |
| `website` | string | null | Company website. |
| `industries` | string\[] | Industry and sub-industry names, e.g. `["Fintech", "Payments"]`. |
| `tags` | string\[] | Free-form tags, e.g. `["AI", "Developer Tools"]`. |
| `regions` | string\[] | Regions and countries, e.g. `["United States of America", "America / Canada"]`. |
| `locations` | string\[] | City-level locations. |
| `teamSize` | integer | null | Team size from the profile. |
| `isHiring` | boolean | Profile carries the `isHiring` badge. |
| `topCompany` | boolean | Company is on YC's Top Companies list. |
| `nonprofit` | boolean | Company is flagged as a nonprofit. |
| `badges` | string\[] | Raw badge list, e.g. `["topCompany", "isHiring", "highlightWomen"]`. |
| `logoUrl` | string | null | Small logo image URL. |
| `url` | string | YC profile page `https://www.ycombinator.com/companies/<slug>`. |
| `fetchedAt` | ISO 8601 | When the row was fetched. |

Sample row:

```json
{
  "id": "yc:groww", "name": "Groww", "slug": "groww", "batch": "W18", "status": "Public",
  "oneLiner": "Making financial services simple, transparent and delightful.",
  "description": "Groww aims to empower people in India by making financial services simple, transparent and delightful. By leveraging technology, we build reliable and accessible financial products...",
  "website": "https://groww.in", "industries": ["Fintech", "Asset Management"], "tags": ["India", "Investing"],
  "regions": ["India", "South Asia"], "locations": ["Bengaluru"], "teamSize": 1050,
  "isHiring": true, "topCompany": true, "nonprofit": false, "badges": ["topCompany", "isHiring"],
  "logoUrl": "https://bookface-images.s3.amazonaws.com/small_logos/0ae62cb1672e8223d9b0ae2e5b7ecde4ae763c5e.png",
  "url": "https://www.ycombinator.com/companies/groww", "fetchedAt": "2026-11-03T15:20:00.000Z"
}
```

The run summary (queries, pages fetched, companies scanned and matched, errors, request count) is stored in the `OUTPUT` record of the default key-value store.

### How it works and limits

- Source: `https://api.ycombinator.com/v0.1/companies`, the JSON API behind the YC company directory. It returns 20-25 companies per page; the full directory is roughly 6,400 companies across about 255 pages (as of November 2026).
- The API accepts one value per filter, so the Actor runs one query per combination of batch, keyword, industry and region (for example 2 batches x 2 industries = 4 queries) and merges the results, de-duplicating by `id`. Status, hiring and Top Company filters are applied by the API.
- Industry and region values are matched exactly (case-insensitively) by the API. If no company matches that way, the Actor pages through the broader result set and matches your terms as substrings of each company's industries and regions instead. A substring scan with no batch filter can read the whole directory (a few minutes); set `batches` or `maxItems` to keep runs short.
- Requests are spaced at least 300 ms apart; 429 and 5xx responses are retried with backoff. A run with the default input (newest 200 companies) takes a few seconds; the whole directory takes a few minutes.
- Keywords use YC's own search, which is a multi-word full-text match, not an exact phrase match, so results can include companies that match only some of the words.
- Not covered: founder names and profiles, funding data, launch posts, job listings, company news and anything behind a YC login. `subindustries` and launch dates are not exposed by this API; sub-industries appear inside `industries` after the parent industry.
- Freshness: data is read live from YC on every run; `teamSize`, status and badges are whatever the YC profile shows at that moment.

### Pricing

Pay per result: **$1.00 per 1,000 rows** (`result` event). Platform usage is billed separately by Apify. Removed/free rows are not charged.

### Legal

Not affiliated with Y Combinator. Uses the public Y Combinator companies API (the JSON endpoint behind ycombinator.com/companies) only. Data licence/terms: https://www.ycombinator.com/legal

### FAQ

**How do I get every YC company?** Leave all filters empty and set `maxItems` to 10000. The run pages through the whole directory (about 255 requests, a few minutes).

**Which batch codes exist?** `W` (winter), `S` (summer), `F` (fall) and `P` (spring) followed by the two-digit year, e.g. `W25`, `S25`, `F24`, `P25`. The API also accepts `X25` for the Spring 2025 batch and long names such as `Winter 2025`.

**Why did my industry filter return nothing or take long?** Only exact YC industry names (for example `Fintech`, `Healthcare`, `B2B`) are filtered by the API. Other text triggers the slower substring scan; combine it with `batches` to limit the pages read. A truly unknown term returns zero rows with status `ok`.

**Can I detect new companies in a batch over time?** Yes: schedule the Actor with `batches: ["W27"]` and compare the `id` values with the previous run; new slugs are new companies.

**Is the hiring flag reliable?** It mirrors the `isHiring` badge on the YC profile, which companies set themselves. Check the company's own careers page before relying on it.

# Actor input Schema

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

YC batch codes such as "W25", "S25", "F24" or "X25" (also accepts "Winter 2025"). Empty means all batches, newest first.

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

Industry names such as "Fintech", "Healthcare", "B2B", "Consumer" or "Industrials". Exact YC names are filtered by the API and are fast; any other text is matched as a case-insensitive substring of the company's industries while paging through the catalogue (slower). A company matches when any of its industries matches any term.

## `status` (type: `string`):

Keep only companies with this status. "all" (default) returns every status.

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

When true, only companies currently flagged as hiring on their YC profile are returned. False (default) applies no hiring filter.

## `regions` (type: `array`):

Region or country names as used by YC, e.g. "Europe", "United States of America", "India", "Germany", "Remote". Exact names are filtered by the API; other text falls back to substring matching. A company matches when any of its regions matches any term.

## `keywords` (type: `array`):

Free-text search terms passed to YC's company search (name, one-liner, description, tags), one search per term, results merged and de-duplicated. Example: \["drone", "payments api"].

## `topCompanyOnly` (type: `boolean`):

When true, only companies on YC's Top Companies list (badge "topCompany") are returned.

## `maxItems` (type: `integer`):

Upper limit on returned (charged) rows for this run. Paging stops as soon as this many companies have been collected. Default 200.

## Actor input object example

```json
{
  "batches": [],
  "industries": [],
  "status": "all",
  "isHiring": false,
  "regions": [],
  "keywords": [],
  "topCompanyOnly": false,
  "maxItems": 200
}
```

# Actor output Schema

## `results` (type: `string`):

All rows in the default dataset.

# 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 = {
    "batches": [],
    "industries": [],
    "regions": [],
    "keywords": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("ailu_studio/yc-companies-api").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 = {
    "batches": [],
    "industries": [],
    "regions": [],
    "keywords": [],
}

# Run the Actor and wait for it to finish
run = client.actor("ailu_studio/yc-companies-api").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 '{
  "batches": [],
  "industries": [],
  "regions": [],
  "keywords": []
}' |
apify call ailu_studio/yc-companies-api --silent --output-dataset

```

## MCP server setup

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

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/CdyZ52fd5OgHUVeAD/builds/uTWe788h6TDAR9dZf/openapi.json
