{
  "openapi": "3.0.1",
  "info": {
    "title": "Y Combinator Scraper — Companies, Founders & Jobs",
    "description": "Scrape the full Y Combinator startup directory: company profile, batch, status, team size, industry, location, website, plus founders with LinkedIn/Twitter, company socials and open jobs. Filter by batch, industry, region or status. Monitor mode for new companies. No login.",
    "version": "0.1",
    "x-build-id": "OX8LZCLokedLbglxi"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~ycombinator-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-ycombinator-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/scrapesage~ycombinator-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-ycombinator-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/scrapesage~ycombinator-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-ycombinator-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "YC URLs (search or profile)",
            "type": "array",
            "description": "Optional. Paste a YC directory search URL (filters are read straight from it), e.g. <code>https://www.ycombinator.com/companies?batch=Summer%202024&industry=Fintech</code>, or specific company profile URLs like <code>https://www.ycombinator.com/companies/airbnb</code>. Leave empty to use the filters below.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Optional free-text search across the YC directory (company name, description, tags)."
          },
          "batches": {
            "title": "Batches",
            "type": "array",
            "description": "Filter by YC batch, full names as shown on YC, e.g. <code>Summer 2024</code>, <code>Winter 2025</code>, <code>Spring 2025</code>. Leave empty to sweep all batches.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Filter by top-level industry, e.g. <code>B2B</code>, <code>Fintech</code>, <code>Consumer</code>, <code>Healthcare</code>, <code>Real Estate and Construction</code>, <code>Education</code>, <code>Government</code>, <code>Industrials</code>.",
            "items": {
              "type": "string"
            }
          },
          "subindustries": {
            "title": "Sub-industries",
            "type": "array",
            "description": "Filter by sub-industry, e.g. <code>Fintech -> Banking and Exchange</code>, <code>B2B -> Engineering, Product and Design</code>.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Filter by region, e.g. <code>United States of America</code>, <code>Europe</code>, <code>India</code>, <code>Latin America</code>, <code>Remote</code>.",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Filter by company tag, e.g. <code>Artificial Intelligence</code>, <code>SaaS</code>, <code>Developer Tools</code>, <code>Marketplace</code>, <code>Machine Learning</code>.",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Status",
            "type": "array",
            "description": "Filter by company status.",
            "items": {
              "type": "string",
              "enum": [
                "Active",
                "Acquired",
                "Public",
                "Inactive"
              ]
            }
          },
          "stages": {
            "title": "Stage",
            "type": "array",
            "description": "Filter by growth stage, e.g. <code>Early</code>, <code>Growth</code>.",
            "items": {
              "type": "string"
            }
          },
          "isHiring": {
            "title": "Only companies hiring",
            "type": "boolean",
            "description": "Only include companies with open roles.",
            "default": false
          },
          "topCompaniesOnly": {
            "title": "Only YC Top Companies",
            "type": "boolean",
            "description": "Only include companies on YC's Top Companies list.",
            "default": false
          },
          "nonprofit": {
            "title": "Only nonprofits",
            "type": "boolean",
            "description": "Only include YC nonprofit organizations.",
            "default": false
          },
          "enrichProfile": {
            "title": "Enrich with founders & socials",
            "type": "boolean",
            "description": "Open each company's YC profile to also capture founders (name, title, bio, LinkedIn, Twitter/X), company social links (LinkedIn, X, Facebook, GitHub, Crunchbase), YC group partner, year founded, city/country and media. Adds one fast request per company. Turn off for a quick directory-only pull.",
            "default": true
          },
          "includeJobs": {
            "title": "Scrape open jobs",
            "type": "boolean",
            "description": "Also output each company's open job postings (title, role, location, salary & equity ranges, apply URL) as separate `job` records.",
            "default": false
          },
          "maxItems": {
            "title": "Max companies",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of companies to scrape (0 = no limit; the full directory is ~6,000).",
            "default": 0
          },
          "onlyNewItems": {
            "title": "Monitor mode — only new items",
            "type": "boolean",
            "description": "Remember companies (and jobs) seen in previous runs in a named key-value store and emit only new ones. Pair with an Apify Schedule to get alerted to each new YC company, batch or job — the Schedule decides WHEN to run, monitor mode decides WHICH items are new. They do not conflict.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Optional name of the key-value store used by monitor mode. Defaults to <code>ycombinator-monitor-state</code>."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum profile pages fetched in parallel.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. YC and its Algolia directory are lightly protected, so the default Apify proxy is plenty.",
            "default": {
              "useApifyProxy": true
            }
          },
          "debugDump": {
            "title": "Debug: dump raw HTML",
            "type": "boolean",
            "description": "Developer aid — saves the first profile page's raw HTML to the key-value store. Leave off for normal runs.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}