{
  "openapi": "3.0.1",
  "info": {
    "title": "Y Combinator Scraper - YC Companies, Founders & Jobs",
    "description": "Scrape the Y Combinator company directory with batch, industry, region, tag, status, team size and hiring filters. Input: search query and filters. Output: one item per YC company with website, one-liner, batch, status, industries, location, team size, socials, founders and open jobs.",
    "version": "1.0",
    "x-build-id": "7fzjtXp1rz3ASucva"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/artificially~ycombinator-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-artificially-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/artificially~ycombinator-scraper/runs": {
      "post": {
        "operationId": "runs-sync-artificially-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/artificially~ycombinator-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-artificially-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": {
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text search over company name, one-liner, description, tags and industries, exactly like the search box on ycombinator.com/companies. Example: \"ai agents\" or \"payments\". Leave empty to list all companies that match the filters."
          },
          "batches": {
            "title": "Batches",
            "type": "array",
            "description": "Keep companies from ANY of these YC batches. Accepts short codes (W24, S25, F24, P25 or X25 for Spring), full names (\"Winter 2025\", \"Summer 2021\") or a year (\"2024\" = every batch of that year). Example: [\"W24\", \"Summer 2025\"]. Leave empty for all batches.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Keep companies in ANY of these YC industries or sub-industries (case-insensitive). Top level: B2B, Consumer, Education, Fintech, Government, Healthcare, Industrials, Real Estate and Construction. Sub-industries include Engineering, Product and Design; Infrastructure; Security; Sales; Marketing; Analytics; Payments; Insurance; Healthcare IT; Therapeutics; Manufacturing and Robotics; Climate; Defense and more. Example: [\"B2B\", \"Fintech\"].",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions / countries",
            "type": "array",
            "description": "Keep companies in ANY of these YC regions (case-insensitive exact names from the directory). Examples: \"United States of America\", \"America / Canada\", \"Europe\", \"United Kingdom\", \"Germany\", \"India\", \"Latin America\", \"Southeast Asia\", \"Remote\", \"Fully Remote\", \"Partly Remote\". Example: [\"Europe\", \"Canada\"].",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations (text match)",
            "type": "array",
            "description": "Keep companies whose location text or region contains ANY of these strings (case-insensitive substring). Use for cities, e.g. [\"San Francisco\", \"New York\", \"London\"]. Applied after the search, so it may need more scanning than the regions filter.",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Keep companies with ANY of these YC tags (case-insensitive exact tag names). Examples: \"Artificial Intelligence\", \"AI\", \"Generative AI\", \"SaaS\", \"Developer Tools\", \"Open Source\", \"Fintech\", \"Robotics\", \"Climate\". Example: [\"Developer Tools\", \"Open Source\"].",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "title": "Company status",
            "type": "array",
            "description": "Keep companies with ANY of these statuses. Allowed values: Active, Acquired, Public, Inactive. Example: [\"Active\"]. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Active",
                "Acquired",
                "Public",
                "Inactive"
              ]
            }
          },
          "teamSizeMin": {
            "title": "Team size (min)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep companies with at least this many employees, as listed on YC. Example: 10."
          },
          "teamSizeMax": {
            "title": "Team size (max)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep companies with at most this many employees, as listed on YC. Example: 50."
          },
          "isHiring": {
            "title": "Only companies that are hiring",
            "type": "boolean",
            "description": "Set to true to keep only companies YC marks as hiring (they have open roles on Work at a Startup). Combine with includeJobs to get the roles.",
            "default": false
          },
          "nonprofit": {
            "title": "Only nonprofits",
            "type": "boolean",
            "description": "Set to true to keep only nonprofit YC companies.",
            "default": false
          },
          "topCompany": {
            "title": "Only YC top companies",
            "type": "boolean",
            "description": "Set to true to keep only companies on YC's Top Companies list (e.g. Airbnb, Stripe, DoorDash).",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "launchDate"
            ],
            "type": "string",
            "description": "relevance = the directory's default order (best search match first); launchDate = most recently launched first.",
            "default": "relevance"
          },
          "includeFounders": {
            "title": "Include founders",
            "type": "boolean",
            "description": "Set to true to add founders (name, title, bio, LinkedIn, X/Twitter) from each company's public YC page. Needs one extra page request per company, so runs are slower.",
            "default": false
          },
          "includeJobs": {
            "title": "Include open jobs",
            "type": "boolean",
            "description": "Set to true to add open roles (title, location, type, salary, equity, experience, visa, skills, URL) listed on each company's public YC page. Needs one extra page request per company; combine with isHiring to skip companies without jobs.",
            "default": false
          },
          "includeSocials": {
            "title": "Include social links",
            "type": "boolean",
            "description": "Set to true to add LinkedIn, X/Twitter, Facebook, Crunchbase and GitHub links plus year founded, city, country and YC partner from each company's YC page. Also filled automatically whenever includeFounders or includeJobs is on (same page request).",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after saving this many companies. Example: 100. Leave empty for all matches (the run also stops at your maximum cost per run)."
          },
          "onlyNewSinceLastRun": {
            "title": "Only new companies since last run (monitoring)",
            "type": "boolean",
            "description": "Set to true to remember companies already returned for this exact search (query + filters) and return only companies you have not seen before. Ideal with Apify Schedules to catch each new batch: you pay only for new companies.",
            "default": false
          },
          "compactOutput": {
            "title": "Compact output (for AI agents)",
            "type": "boolean",
            "description": "Set to true to save a slim item per company with only: name, slug, ycUrl, website, oneLiner, batch, status, industries, location, teamSize, isHiring, linkedin, founders (name, title, linkedin) and jobs (title, location, salary, url). Recommended when an AI agent or LLM reads the results. Leave false for the full item.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional, leave as is. The YC directory and company pages are public and work without a proxy."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}