{
  "openapi": "3.0.1",
  "info": {
    "title": "Y Combinator · YC · Only $1💰 · Jobs & Companies scraper",
    "description": "Y Combinator Jobs & Companies Scraper covers both YC companies and open roles - batch, industry, regions, team size, stage, top-company and hiring flags, launch date, website and tags. 🚀 Dual-mode startup intelligence in one run.",
    "version": "0.1",
    "x-build-id": "vtIlCUWqfk7VxP5SS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapers-hub~y-jobs-companies-scrapers/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapers-hub-y-jobs-companies-scrapers",
        "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/scrapers-hub~y-jobs-companies-scrapers/runs": {
      "post": {
        "operationId": "runs-sync-scrapers-hub-y-jobs-companies-scrapers",
        "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/scrapers-hub~y-jobs-companies-scrapers/run-sync": {
      "post": {
        "operationId": "run-sync-scrapers-hub-y-jobs-companies-scrapers",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "jobs",
              "companies"
            ],
            "type": "string",
            "description": "\"jobs\" scrapes Work at a Startup job listings (ycombinator.com/jobs). \"companies\" scrapes the YC startup directory (ycombinator.com/companies).",
            "default": "jobs"
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Direct ycombinator.com URLs to scrape: a company search page (e.g. /companies?batch=...&industry=...), a single company page (/companies/{slug}), or a job-role page (/jobs/role/{role}/{location}). Overrides mode-based defaults when present.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "role": {
            "title": "Job role",
            "type": "string",
            "description": "Role slug used to build a jobs URL when no startUrls are given, e.g. \"software-engineer\".",
            "default": ""
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Location slug used to build a jobs URL when no startUrls are given, e.g. \"san-francisco\".",
            "default": ""
          },
          "queries": {
            "title": "Search queries",
            "type": "array",
            "description": "Free-text search terms applied against the companies index (company name / description).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "batch": {
            "title": "Batches",
            "type": "array",
            "description": "Filter companies by YC batch, e.g. \"Spring 2026\". Use \"All Batches\" for no filter.",
            "default": [
              "All Batches"
            ],
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Filter companies by industry, e.g. \"B2B\". Use \"All industries\" for no filter.",
            "default": [
              "All industries"
            ],
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Filter companies by region. Use \"Anywhere\" for no filter.",
            "default": [
              "Anywhere"
            ],
            "items": {
              "type": "string"
            }
          },
          "minEmployeeSize": {
            "title": "Min team size",
            "type": "string",
            "description": "Minimum team size, e.g. \"1+\".",
            "default": "1+"
          },
          "maxEmployeeSize": {
            "title": "Max team size",
            "type": "string",
            "description": "Maximum team size, e.g. \"1000+\". A \"+\" suffix means no upper bound.",
            "default": "1000+"
          },
          "isHiring": {
            "title": "Only hiring companies",
            "type": "boolean",
            "description": "Only include companies currently marked as hiring.",
            "default": false
          },
          "nonprofit": {
            "title": "Only nonprofits",
            "type": "boolean",
            "description": "Only include nonprofit companies.",
            "default": false
          },
          "topCompany": {
            "title": "Only top companies",
            "type": "boolean",
            "description": "Only include companies YC has flagged as \"top company\".",
            "default": false
          },
          "scrapeOpenJobs": {
            "title": "Scrape open jobs per company",
            "type": "boolean",
            "description": "For each company result, also fetch its open job postings from its company page.",
            "default": false
          },
          "scrapeFounderDetails": {
            "title": "Scrape founder details per company",
            "type": "boolean",
            "description": "For each company result, also fetch founder names, titles, bios and social links from its company page.",
            "default": false
          },
          "enrichEmails": {
            "title": "Enrich contact emails",
            "type": "boolean",
            "description": "Best-effort: visit each company's own website and look for a public contact/mailto email address. Not always available.",
            "default": false
          },
          "monitoringMode": {
            "title": "Monitoring mode",
            "type": "boolean",
            "description": "Compare this run's results against the previous run (via the actor's key-value store) and tag each item with isNew.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of items to output across all sources.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of concurrent requests.",
            "default": 10
          },
          "minConcurrency": {
            "title": "Min concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Starting/minimum number of concurrent requests.",
            "default": 1
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum retry attempts per failed request.",
            "default": 3
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy configuration. Residential proxies are strongly recommended.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}