{
  "openapi": "3.0.1",
  "info": {
    "title": "Y Combinator Companies Scraper - YC Startup Directory",
    "description": "Export Y Combinator startups by batch, industry, region, status, team size and hiring status. Get one-liner, description, website, tags, locations, launch date and YC profile link for every company. Great for B2B lead lists, VC deal sourcing and recruiting. No API key.",
    "version": "0.1",
    "x-build-id": "rIZUKvKNi6R56btYq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hichemdev~yc-companies-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hichemdev-yc-companies-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/hichemdev~yc-companies-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hichemdev-yc-companies-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/hichemdev~yc-companies-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hichemdev-yc-companies-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": {
          "searchQuery": {
            "title": "Search keywords",
            "type": "string",
            "description": "Optional. Whole-word, case-insensitive match against company name, former names, one-liner, long description and tags. Separate several keywords with commas to match ANY of them, e.g. \"AI agents, LLM, voice\". Leave empty to get every company that matches the other filters."
          },
          "batches": {
            "title": "YC batches",
            "type": "array",
            "description": "Optional. Only companies from these batches. Accepts \"Winter 2025\", \"W25\", \"S24\", \"F25\" (Fall), \"X25\" or \"Sp25\" (Spring), \"winter-2025\". Leave empty for all batches.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Optional. Keep companies in ANY of these YC industries or sub-industries, e.g. \"B2B\", \"Fintech\", \"Healthcare IT\", \"Engineering, Product and Design\", \"Security\". Case-insensitive; slugs like \"healthcare-it\" also work. For things like \"Developer Tools\" or \"AI\" use Tags instead.",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Optional. Keep companies having ANY of these YC tags, e.g. \"AI\", \"SaaS\", \"Developer Tools\", \"Generative AI\", \"Robotics\". Exact tag name, case-insensitive.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Regions / locations",
            "type": "array",
            "description": "Optional. Keep companies matching ANY of these regions or places, e.g. \"Europe\", \"Latin America\", \"United Kingdom\", \"San Francisco\", \"New York\", \"Remote\". Whole-word, case-insensitive match against YC regions and office locations.",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "title": "Company status",
            "type": "array",
            "description": "Optional. Keep only companies with these statuses. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Active",
                "Acquired",
                "Public",
                "Inactive"
              ],
              "enumTitles": [
                "Active",
                "Acquired",
                "Public",
                "Inactive"
              ]
            }
          },
          "isHiring": {
            "title": "Currently hiring only",
            "type": "boolean",
            "description": "Keep only companies YC lists as currently hiring.",
            "default": false
          },
          "topCompaniesOnly": {
            "title": "Top companies only",
            "type": "boolean",
            "description": "Keep only companies YC flags as Top Companies.",
            "default": false
          },
          "teamSizeMin": {
            "title": "Minimum team size",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep companies with at least this many employees. Companies without a team size are excluded when set."
          },
          "teamSizeMax": {
            "title": "Maximum team size",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep companies with at most this many employees. Companies without a team size are excluded when set."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "batchNewest",
              "batchOldest",
              "launchedNewest",
              "launchedOldest",
              "teamSizeDesc",
              "teamSizeAsc",
              "nameAsc"
            ],
            "type": "string",
            "description": "Order of results (applied before Max items cuts the list).",
            "default": "batchNewest"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many companies.",
            "default": 1000
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Not needed: the data comes from a public static JSON dataset."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}