{
  "openapi": "3.0.1",
  "info": {
    "title": "Startup Jobs Intelligence",
    "description": "Scrape job listings from YC-backed startups enriched with salary, equity %, tech stack, seniority, hiring velocity and lead score (0–100). Filter by role, remote, YC batch, funding stage, industry, team size, keywords. Sources: WorkAtAStartup + Greenhouse ATS.",
    "version": "1.0",
    "x-build-id": "VkERfBTxTP4btHanT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/brilliant_gum~startup-jobs-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-brilliant_gum-startup-jobs-intelligence",
        "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/brilliant_gum~startup-jobs-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-brilliant_gum-startup-jobs-intelligence",
        "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/brilliant_gum~startup-jobs-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-brilliant_gum-startup-jobs-intelligence",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Search terms matched against job title and description (e.g. 'machine learning', 'fullstack react')"
          },
          "roles": {
            "title": "Role Categories",
            "type": "array",
            "description": "Filter by role type. Leave empty for all roles.",
            "items": {
              "type": "string",
              "enum": [
                "eng",
                "design",
                "product",
                "sales",
                "marketing",
                "ops",
                "finance",
                "data"
              ]
            },
            "default": [
              "eng"
            ]
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, country, or 'Remote'. Leave empty to include all locations."
          },
          "remote": {
            "title": "Remote Only",
            "type": "boolean",
            "description": "Only include remote-eligible jobs",
            "default": false
          },
          "ycBatchFilter": {
            "title": "YC Batch Filter",
            "type": "array",
            "description": "Restrict to specific YC batches, e.g. [\"W24\",\"S23\"]. Leave empty for all batches."
          },
          "fundingStage": {
            "title": "Funding Stage",
            "type": "array",
            "description": "Filter companies by stage. 'early' = seed through Series C startups. 'growth' = late-stage, Series D+ and acquired companies. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "early",
                "growth"
              ]
            },
            "default": []
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Filter by industry tags, e.g. [\"Fintech\",\"AI / ML\",\"Healthcare\"]. Leave empty for all."
          },
          "minTeamSize": {
            "title": "Min Team Size",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum company employee count"
          },
          "maxTeamSize": {
            "title": "Max Team Size",
            "type": "integer",
            "description": "Maximum company employee count"
          },
          "techStack": {
            "title": "Required Tech Stack",
            "type": "array",
            "description": "Only include jobs that mention at least one of these technologies in the description, e.g. [\"Rust\",\"Kubernetes\",\"PyTorch\"]"
          },
          "minSalary": {
            "title": "Minimum Salary (USD)",
            "type": "integer",
            "description": "Only include jobs with an extracted salary >= this value. Leave empty to include all (including those with no salary listed)."
          },
          "hasEquity": {
            "title": "Has Equity",
            "type": "boolean",
            "description": "Only include jobs that mention equity, options or RSUs",
            "default": false
          },
          "seniority": {
            "title": "Seniority Level",
            "type": "array",
            "description": "Filter by seniority. Leave empty for all levels.",
            "items": {
              "type": "string",
              "enum": [
                "intern",
                "junior",
                "mid",
                "senior",
                "staff",
                "principal",
                "lead",
                "head"
              ]
            },
            "default": []
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of job records to return (1–1000)",
            "default": 100
          },
          "includeJobDescription": {
            "title": "Include Job Description",
            "type": "boolean",
            "description": "Include full job description text (truncated to 2000 characters). Increases cost per record.",
            "default": false
          },
          "sources": {
            "title": "Data Sources",
            "type": "array",
            "description": "Which job boards to scrape. 'workatastartup' = YC's official board (fastest). 'greenhouse' = direct ATS pages for YC companies.",
            "items": {
              "type": "string",
              "enum": [
                "workatastartup",
                "greenhouse"
              ]
            },
            "default": [
              "workatastartup"
            ]
          },
          "minDelay": {
            "title": "Min Request Delay (ms)",
            "type": "integer",
            "description": "Minimum delay between requests in milliseconds",
            "default": 1500
          },
          "maxDelay": {
            "title": "Max Request Delay (ms)",
            "type": "integer",
            "description": "Maximum delay between requests in milliseconds",
            "default": 4000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}