{
  "openapi": "3.0.1",
  "info": {
    "title": "Y Combinator Companies Scraper & API - YC Startup Directory",
    "description": "List Y Combinator startups from ycombinator.com/companies. Input: optional search text, batches (e.g. W24), status, industries, regions, tags, team size, hiring flag. One result = one company: name, website, one-liner, batch, status, industry, team size, location, tags, founders. $1 per 1,000.",
    "version": "1.0",
    "x-build-id": "O5FdH8vpzX2ZRW00V"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~yc-companies-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-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/rel8ble~yc-companies-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-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/rel8ble~yc-companies-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-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": {
          "query": {
            "title": "Search text",
            "type": "string",
            "description": "Optional. Free-text search over company name, one-liner, description, tags and location, exactly like the search box on ycombinator.com/companies. Examples: \"AI agents\", \"fintech Brazil\", \"Stripe\". Leave empty to list every company that matches the filters below."
          },
          "batches": {
            "title": "Batches",
            "type": "array",
            "description": "Optional. YC batches to include, one per line. Accepts the long form \"Winter 2024\" or the short form \"W24\" (W = Winter, S = Summer, F = Fall, X = Spring). Empty = all batches since 2005 (about 6,300 companies).",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Company status",
            "type": "array",
            "description": "Optional. Keep only companies with these statuses. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "Active",
                "Acquired",
                "Public",
                "Inactive"
              ],
              "enumTitles": [
                "Active",
                "Acquired",
                "Public",
                "Inactive"
              ]
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Optional. Industry or sub-industry names as YC spells them, one per line, e.g. \"B2B\", \"Fintech\", \"Healthcare\", \"Consumer\", \"Developer Tools\", \"Sales\", \"Infrastructure\", \"Real Estate and Construction\". A company matches if any of its industries match. Empty = all. The full list is in the README.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Optional. Region or country names as YC lists them, e.g. \"United States of America\", \"Europe\", \"India\", \"Latin America\", \"Remote\", \"United Kingdom\", \"Canada\". Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Optional. YC tags, e.g. \"SaaS\", \"Artificial Intelligence\", \"Marketplace\", \"Developer Tools\", \"Climate\", \"Open Source\". A company matches if it carries any of them. Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "hiringOnly": {
            "title": "Hiring only",
            "type": "boolean",
            "description": "Optional boolean. true = only companies currently marked as hiring on YC. Default false.",
            "default": false
          },
          "topCompaniesOnly": {
            "title": "YC Top Companies only",
            "type": "boolean",
            "description": "Optional boolean. true = only companies on YC's Top Companies list (the highest-valued alumni). Default false.",
            "default": false
          },
          "nonprofitOnly": {
            "title": "Nonprofits only",
            "type": "boolean",
            "description": "Optional boolean. true = only nonprofit companies. Default false.",
            "default": false
          },
          "teamSizeMin": {
            "title": "Minimum team size",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep companies with at least this many employees (YC's self-reported team size). Example: 10."
          },
          "teamSizeMax": {
            "title": "Maximum team size",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep companies with at most this many employees. Example: 50."
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "default",
              "launch_date"
            ],
            "type": "string",
            "description": "Optional. \"default\" = YC's directory order (relevance for a search text, otherwise top companies first). \"launch_date\" = most recently launched first. Default \"default\".",
            "default": "default"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Maximum number of companies to save, integer >= 0. Default 100. 0 = no limit (the whole directory is about 6,300 companies). You pay per company saved.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include founders, social links and jobs (slower)",
            "type": "boolean",
            "description": "Optional boolean. true = also open each company's YC page and add founders (name, title, LinkedIn/Twitter URL), company LinkedIn/Twitter/Facebook/Crunchbase/GitHub URLs, year founded, city, country, open job titles and launch count. One extra request per company, about 5-10 companies per second. Same price per result. Default false.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Optional, advanced. Parallel requests, integer 1-20. Default 5. Only matters with includeDetails.",
            "default": 5
          },
          "maxRequestRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Optional, advanced. Retries per failed request, integer 0-20; each retry uses a new session. Default 5.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional, advanced. Apify Proxy settings object, e.g. {\"useApifyProxy\": true}. Default: Apify Proxy on (datacenter), which is enough for this site. Leave unset.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}