{
  "openapi": "3.0.1",
  "info": {
    "title": "Y Combinator Scraper",
    "description": "The Y Combinator Scraper exports the YC startup directory and Work at a Startup jobs — companies filtered by batch, industry, region, status and hiring, with founders, socials, team size, open roles, salaries and equity — and can track what changed since thelast run.",
    "version": "0.0",
    "x-build-id": "MklDxSvHfdfhiUwfd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/piotrv1001~y-combinator-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-piotrv1001-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/piotrv1001~y-combinator-scraper/runs": {
      "post": {
        "operationId": "runs-sync-piotrv1001-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/piotrv1001~y-combinator-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-piotrv1001-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",
        "properties": {
          "mode": {
            "title": "What to collect",
            "enum": [
              "companies",
              "jobs"
            ],
            "type": "string",
            "description": "**Companies** returns one row per YC company matching the filters. **Jobs** returns one row per open role at the hiring companies matching the same filters.",
            "default": "companies"
          },
          "query": {
            "title": "Search keywords",
            "type": "string",
            "description": "Optional free-text search over company names, descriptions and tags, exactly like the search box on the YC directory (e.g. `AI agents`, `fintech`, `Berlin`)."
          },
          "batches": {
            "title": "Batches",
            "type": "array",
            "description": "Limit to these YC batches. Either form works: `Summer 2026` or `S26`, `Winter 2025` or `W25`, `Fall 2026` or `F26`, `Spring 2026` or `X26`. Leave empty for all batches.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Limit to these industries or sub-industries as named on the directory, e.g. `B2B`, `Fintech`, `Healthcare`, `Consumer`, `Industrials`, `B2B -> Infrastructure`.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Limit to companies based in these regions or countries as named on the directory, e.g. `United States of America`, `Europe`, `India`, `Remote`.",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "title": "Company status",
            "enum": [
              "any",
              "Active",
              "Public",
              "Acquired",
              "Inactive"
            ],
            "type": "string",
            "description": "Limit to companies with this status.",
            "default": "any"
          },
          "isHiring": {
            "title": "Hiring only",
            "type": "boolean",
            "description": "Only companies currently marked as hiring on the directory. Jobs mode always uses hiring companies.",
            "default": false
          },
          "topCompany": {
            "title": "Top companies only",
            "type": "boolean",
            "description": "Only companies on YC's Top Companies list.",
            "default": false
          },
          "role": {
            "title": "Job role",
            "enum": [
              "any",
              "eng",
              "design",
              "product",
              "science",
              "sales",
              "marketing",
              "support",
              "operations",
              "recruiting",
              "finance",
              "legal"
            ],
            "type": "string",
            "description": "Jobs mode only. Keep roles in this category.",
            "default": "any"
          },
          "location": {
            "title": "Job location",
            "type": "string",
            "description": "Jobs mode only. Keep roles whose location mentions this text, e.g. `San Francisco`, `New York`, `London`, `Remote`."
          },
          "scrapeDetails": {
            "title": "Scrape details",
            "type": "boolean",
            "description": "Open each company page for founders (names, titles, bios, LinkedIn/X), LinkedIn, X, Crunchbase and GitHub links, year founded, launches and press — or each job page for the full description and interview process. Slower and priced as a detail row.",
            "default": false
          },
          "trackChanges": {
            "title": "Track changes between runs",
            "type": "boolean",
            "description": "The first run saves a snapshot and returns the rows as usual. Every later run with the same filters and memory name returns only what changed: new companies or jobs (full rows), changed company fields (team size, status, hiring, stage, tags, one-liner, location, website) and companies or jobs that disappeared. Schedule the run to get a change feed.",
            "default": false
          },
          "memoryName": {
            "title": "Change memory name",
            "type": "string",
            "description": "Runs that share this name compare against the same saved snapshot. Use a different name for each set of filters you track.",
            "default": "default"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of rows to save in this run.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}