{
  "openapi": "3.0.1",
  "info": {
    "title": "YC Companies Scraper | $5/1K | Founders, Socials, Batches",
    "description": "Scrape Y Combinator companies directory: name, batch, industry, team size, website, LinkedIn, Twitter, founders with bios. 5000+ startups. Official public data source.",
    "version": "1.0",
    "x-build-id": "I6lG9X07z3mRvAvXU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~yc-companies-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-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/apivault_labs~yc-companies-scraper/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-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/apivault_labs~yc-companies-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-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": "Keyword search",
            "type": "string",
            "description": "Optional free-text search across company names and descriptions. Leave empty to browse by filters.",
            "default": ""
          },
          "batches": {
            "title": "Filter by batch(es)",
            "type": "array",
            "description": "YC batches in readable format. Examples: 'Summer 2024', 'Winter 2024', 'Spring 2025', 'Fall 2024'. Leave empty for all batches.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Filter by industry",
            "type": "array",
            "description": "Top-level industries. Examples: 'B2B', 'Consumer', 'Fintech', 'Healthcare', 'Industrials', 'Real Estate and Construction', 'Government'. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Filter by region",
            "type": "array",
            "description": "Geographic regions. Examples: 'United States of America', 'America / Canada', 'Europe', 'Asia', 'Latin America', 'Africa', 'Remote'. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Filter by status",
            "type": "array",
            "description": "Company lifecycle status. Examples: 'Active', 'Public', 'Acquired', 'Inactive'.",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Filter by tag",
            "type": "array",
            "description": "Topic tags. Examples: 'Marketplace', 'AI', 'SaaS', 'Developer Tools', 'Climate', 'Crypto', 'API'.",
            "items": {
              "type": "string"
            }
          },
          "isHiring": {
            "title": "Only hiring companies",
            "type": "boolean",
            "description": "If enabled, only return companies that have open roles on Work at a Startup.",
            "default": false
          },
          "topCompaniesOnly": {
            "title": "Only top companies",
            "type": "boolean",
            "description": "If enabled, only return YC 'Top Companies' (billion-dollar and high-growth).",
            "default": false
          },
          "slugs": {
            "title": "Exact company slugs (overrides search)",
            "type": "array",
            "description": "If set, skip the search/filter and scrape these exact company slugs instead (e.g. ['airbnb', 'stripe', 'dropbox']). Always includes full detail.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max companies to fetch",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after fetching this many companies (0 = all matching, up to 5894 total). Each Algolia page is 40 hits.",
            "default": 100
          },
          "fullDetails": {
            "title": "Fetch founders + full description",
            "type": "boolean",
            "description": "When enabled, makes a second request per company to get founders (name, bio, linkedin, twitter), long description, and all social links. Slower but way more data.",
            "default": true
          },
          "extractIndustry": {
            "title": "Industry & Subindustry",
            "type": "boolean",
            "description": "Include industry classification.",
            "default": true
          },
          "extractBatch": {
            "title": "Batch",
            "type": "boolean",
            "description": "Include YC batch (Summer 2024 etc.) and short code (S24).",
            "default": true
          },
          "extractLocation": {
            "title": "Location",
            "type": "boolean",
            "description": "Include city, country, and regions array.",
            "default": true
          },
          "extractTeamSize": {
            "title": "Team Size",
            "type": "boolean",
            "description": "Include team_size (employee count) when set.",
            "default": true
          },
          "extractStatus": {
            "title": "Status & Stage",
            "type": "boolean",
            "description": "Include status (Active/Public/Acquired) and stage (Seed/Growth).",
            "default": true
          },
          "extractSocials": {
            "title": "Social Links",
            "type": "boolean",
            "description": "Include LinkedIn, Twitter, Facebook, GitHub URLs. Full socials require fullDetails=true.",
            "default": true
          },
          "extractTags": {
            "title": "Tags",
            "type": "boolean",
            "description": "Include topic tags array.",
            "default": true
          },
          "extractFounders": {
            "title": "Founders (fullDetails only)",
            "type": "boolean",
            "description": "Include founders array with name, bio, LinkedIn, Twitter. Requires fullDetails=true.",
            "default": true
          },
          "extractLongDescription": {
            "title": "Long Description (fullDetails only)",
            "type": "boolean",
            "description": "Include long description / about text. Requires fullDetails=true.",
            "default": true
          },
          "extractLogo": {
            "title": "Logo",
            "type": "boolean",
            "description": "Include company logo URL.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel HTTP requests for detail fetching. 5-10 works well, YC tolerates it.",
            "default": 5
          },
          "timeout": {
            "title": "Timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "HTTP timeout per request.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}