{
  "openapi": "3.0.1",
  "info": {
    "title": "Y Combinator Startups, Hiring & Founders API + Live MCP",
    "description": "Search and filter 6,400+ Y Combinator startups (through 2026 batches) by batch, industry, region, hiring status, team size, and stage. Dual-mode Batch Dataset + Standby Remote MCP Server (/mcp) with zero proxies.",
    "version": "1.0",
    "x-build-id": "rc0YB89QTctPseTA3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/shawn1905~yc-startups-leads-mcp/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-shawn1905-yc-startups-leads-mcp",
        "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/shawn1905~yc-startups-leads-mcp/runs": {
      "post": {
        "operationId": "runs-sync-shawn1905-yc-startups-leads-mcp",
        "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/shawn1905~yc-startups-leads-mcp/run-sync": {
      "post": {
        "operationId": "run-sync-shawn1905-yc-startups-leads-mcp",
        "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": {
          "mode": {
            "title": "Operation Mode",
            "enum": [
              "search_companies",
              "batch_summary"
            ],
            "type": "string",
            "description": "Choose 'search_companies' to export filtered YC startup leads, or 'batch_summary' to aggregate startup counts and hiring rates by batch.",
            "default": "search_companies"
          },
          "query": {
            "title": "Keyword Search",
            "type": "string",
            "description": "Optional keyword matching company name, one-liner, long description, industries, or tags (e.g. 'AI agent', 'fintech', 'devtools')."
          },
          "batches": {
            "title": "YC Batches",
            "type": "array",
            "description": "Optional list of YC batches (supports both full names like 'Winter 2026' / 'Summer 2025' and shorthands like 'W26', 'S25', 'F25', 'X25').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries / Tags Filter",
            "type": "array",
            "description": "Optional industry or tag filters (case-insensitive substring match, e.g. 'B2B', 'Healthcare', 'Fintech', 'Artificial Intelligence').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions / Locations",
            "type": "array",
            "description": "Optional region or location filters (e.g. 'United States', 'Europe', 'San Francisco', 'Remote').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "status": {
            "title": "Company Status",
            "enum": [
              "All",
              "Active",
              "Public",
              "Acquired",
              "Inactive"
            ],
            "type": "string",
            "description": "Filter by current YC company status.",
            "default": "Active"
          },
          "onlyHiring": {
            "title": "Only Actively Hiring Companies",
            "type": "boolean",
            "description": "When enabled, returns only YC startups currently flagged as actively hiring.",
            "default": false
          },
          "onlyTopCompanies": {
            "title": "Only YC Top Companies",
            "type": "boolean",
            "description": "When enabled, returns only companies designated on the YC Top Companies list.",
            "default": false
          },
          "minTeamSize": {
            "title": "Minimum Team Size",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum headcount filter (0 = no minimum).",
            "default": 0
          },
          "maxTeamSize": {
            "title": "Maximum Team Size",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum headcount filter (0 = no maximum).",
            "default": 0
          },
          "sortBy": {
            "title": "Sort Order",
            "enum": [
              "newest",
              "team_size",
              "name"
            ],
            "type": "string",
            "description": "Sort matching companies by newest launch/batch, largest team size, or alphabetical name.",
            "default": "newest"
          },
          "maxResults": {
            "title": "Maximum Results",
            "minimum": 1,
            "maximum": 6500,
            "type": "integer",
            "description": "Maximum number of company records (or batch summaries) to output.",
            "default": 100
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}