{
  "openapi": "3.0.1",
  "info": {
    "title": "Y Combinator Scraper",
    "description": "Extract Y Combinator companies, founders, open jobs, and Launch YC posts from the public YC directory. Native filters or a pasted directory URL, no browser, CRM-ready output.",
    "version": "1.0",
    "x-build-id": "3hCk0dThm57MYBS9p"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/normdata~y-combinator-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-normdata-y-combinator-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/normdata~y-combinator-scraper/runs": {
      "post": {
        "operationId": "runs-sync-normdata-y-combinator-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/normdata~y-combinator-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-normdata-y-combinator-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",
        "required": [
          "searchMode"
        ],
        "properties": {
          "maxItems": {
            "title": "Maximum companies",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many companies (e.g. 500). Leave empty for no limit. The Apify Free plan is always capped at 10."
          },
          "searchMode": {
            "title": "How do you want to pick companies?",
            "enum": [
              "filters",
              "url"
            ],
            "type": "string",
            "description": "**Filters** uses the fields below. **Directory URL** reuses a link you copied from the YC directory. Pick one, the other block is ignored."
          },
          "batches": {
            "title": "Batches (for Filters)",
            "type": "array",
            "description": "YC batch name(s), e.g. \"Summer 2026\". Leave empty for every batch.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries (for Filters)",
            "type": "array",
            "description": "Only these industries, e.g. \"B2B\", \"Healthcare\".",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions (for Filters)",
            "type": "array",
            "description": "Only these regions, e.g. \"United States of America\", \"Europe\".",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Tags (for Filters)",
            "type": "array",
            "description": "Only these topic tags, e.g. \"Artificial Intelligence\", \"Climate\".",
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Keyword (for Filters)",
            "type": "string",
            "description": "Only companies whose name or description mentions this, e.g. \"robotics\"."
          },
          "isHiring": {
            "title": "Hiring only (for Filters)",
            "type": "boolean",
            "description": "Keep only companies with at least one open role."
          },
          "topCompany": {
            "title": "Top companies only (for Filters)",
            "type": "boolean",
            "description": "Keep only companies YC marks as a top company."
          },
          "nonprofit": {
            "title": "Nonprofits only (for Filters)",
            "type": "boolean",
            "description": "Keep only nonprofit organizations."
          },
          "directoryUrl": {
            "title": "Directory link (for Directory URL)",
            "type": "string",
            "description": "Paste a link from ycombinator.com/companies, e.g. a batch + hiring filter URL. Industry pages work too."
          },
          "outputMode": {
            "title": "How should rows be organized?",
            "enum": [
              "company",
              "founder"
            ],
            "type": "string",
            "description": "**One row per company** nests founders/jobs inside each row. **One row per founder** flattens the company onto every contact, ready for a CRM import."
          },
          "scrapeFounders": {
            "title": "Founders & full company profile",
            "type": "boolean",
            "description": "Adds founders, YC partner, exact location, year founded, socials, photos, videos. Turn this off (with the rest below) for the fastest run."
          },
          "scrapeJobs": {
            "title": "Open jobs",
            "type": "boolean",
            "description": "Adds every open role: salary, equity, visa, skills, full description, hiring manager."
          },
          "scrapeLaunches": {
            "title": "Launch YC posts",
            "type": "boolean",
            "description": "Adds the company's Launch YC announcements with full text."
          },
          "scrapeNews": {
            "title": "News mentions",
            "type": "boolean",
            "description": "Adds press mentions listed on the company's YC page."
          },
          "concurrency": {
            "title": "Company pages to load at once",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Higher is faster but more likely to be rate-limited by YC (e.g. 20)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}