{
  "openapi": "3.0.1",
  "info": {
    "title": "Ycombinator $0.8💰  Companies Scraper",
    "description": "Pull every ycombinator.com company across every batch, with founders, social URLs, application Q&A, demo-day video, photos, and partner. Filter by 14 dimensions or paste any /companies search URL straight from your browser.",
    "version": "1.0",
    "x-build-id": "4O6r6lmTjUfdLU2EG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/abotapi~ycombinator-com-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-abotapi-ycombinator-com-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/abotapi~ycombinator-com-scraper/runs": {
      "post": {
        "operationId": "runs-sync-abotapi-ycombinator-com-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/abotapi~ycombinator-com-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-abotapi-ycombinator-com-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "1. Search mode",
            "enum": [
              "search",
              "url"
            ],
            "type": "string",
            "description": "Search mode = configure filters below. URL mode = paste any /companies search URL already refined in a browser (recommended for complex filters).",
            "default": "search"
          },
          "query": {
            "title": "Free-text query",
            "type": "string",
            "description": "Optional keyword search across company name, one-liner, and description. Leave blank to match all companies."
          },
          "batches": {
            "title": "Batches",
            "type": "array",
            "description": "Filter by YC batch. Accepts full names (Winter 2024, Summer 2023) or short codes (W24, S23, F25, X26 for Spring). Multiple values are OR'd. Leave empty for all batches.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries",
            "uniqueItems": true,
            "type": "array",
            "description": "Top-level industry. Multiple values are OR'd.",
            "items": {
              "type": "string",
              "enum": [
                "B2B",
                "Consumer",
                "Healthcare",
                "Fintech",
                "Industrials",
                "Real Estate and Construction",
                "Education",
                "Government",
                "Unspecified"
              ]
            }
          },
          "subindustries": {
            "title": "Subindustries",
            "type": "array",
            "description": "Refined industry tag (e.g. 'Fintech -> Payments', 'Healthcare -> Therapeutics'). Multiple values OR'd. See ycombinator.com/companies for the full list.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "HQ region or country. Examples: 'United States of America', 'Europe', 'Remote', 'India', 'Latin America'. Multiple values OR'd.",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Topic tags. Examples: 'SaaS', 'Artificial Intelligence', 'Developer Tools', 'Marketplace', 'Crypto / Web3'. Multiple values OR'd.",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Status",
            "uniqueItems": true,
            "type": "array",
            "description": "Company status filter. Multiple values OR'd.",
            "items": {
              "type": "string",
              "enum": [
                "Active",
                "Inactive",
                "Acquired",
                "Public"
              ]
            }
          },
          "stages": {
            "title": "Stage",
            "uniqueItems": true,
            "type": "array",
            "description": "Funding / maturity stage. Multiple values OR'd.",
            "items": {
              "type": "string",
              "enum": [
                "Seed",
                "Early",
                "Growth"
              ]
            }
          },
          "isHiring": {
            "title": "Hiring only",
            "type": "boolean",
            "description": "Only return companies with active job postings.",
            "default": false
          },
          "topCompany": {
            "title": "Top companies only",
            "type": "boolean",
            "description": "Only YC top-ranked companies (~91 of ~5,800).",
            "default": false
          },
          "nonprofit": {
            "title": "Nonprofits only",
            "type": "boolean",
            "description": "Only nonprofit companies (~42 of ~5,800).",
            "default": false
          },
          "hasDemoDayVideo": {
            "title": "Has demo-day video",
            "type": "boolean",
            "description": "Only companies with a public demo-day video.",
            "default": false
          },
          "hasAppVideo": {
            "title": "Has application video",
            "type": "boolean",
            "description": "Only companies whose YC application video is public.",
            "default": false
          },
          "hasAppAnswers": {
            "title": "Has application answers",
            "type": "boolean",
            "description": "Only companies whose YC application answers are public.",
            "default": false
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "launch-date-desc"
            ],
            "type": "string",
            "description": "Algolia returns 'relevance' by default; 'launch-date-desc' surfaces the newest companies first.",
            "default": "relevance"
          },
          "urls": {
            "title": "Search URLs",
            "type": "array",
            "description": "One or more YC URLs. Supports search URLs (https://www.ycombinator.com/companies?batch=W24&industry=B2B) and detail URLs (https://www.ycombinator.com/companies/airbnb). Multi-URL supported. Filter-mode fields above are ignored.",
            "items": {
              "type": "string"
            }
          },
          "fetchDetails": {
            "title": "Fetch full detail page (recommended ON)",
            "type": "boolean",
            "description": "When ON (default), the scraper fetches each company's profile page and adds founders, social URLs (LinkedIn, Twitter, Crunchbase, GitHub, Facebook), application Q&A, demo-day video, photos, partner, jobs, news, launches, year founded, city. Adds ~1 HTTP call per company. Turn OFF only if you want a fast SERP-only run.",
            "default": true
          },
          "maxListings": {
            "title": "Max companies",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of companies to collect. 0 = unlimited (all ~5,800 across the public index).",
            "default": 20
          },
          "maxPages": {
            "title": "Max search pages",
            "minimum": 0,
            "type": "integer",
            "description": "Optional bound on search pages walked per query (each page returns up to 100 hits). Leave empty to walk every result page until maxListings is hit or the result set ends."
          },
          "resumeFromRunId": {
            "title": "Resume from a previous run (optional)",
            "type": "string",
            "description": "Paste a previous run ID or dataset ID to continue a full-catalogue walk across separate runs. Companies already collected there (matched by objectID) are skipped, so this run only saves the new ones. Leave empty for a normal fresh run. Do not combine with Incremental mode below unless this is the very first incremental run for a new state key — the two solve different problems (one interrupted run vs. recurring monitoring of the same search)."
          },
          "incrementalMode": {
            "title": "Incremental mode (recurring monitoring)",
            "type": "boolean",
            "description": "For a search/URL set you run on a schedule (e.g. daily). The actor remembers the companies it saw last time and labels every row's `changeType`: NEW, UPDATED, UNCHANGED, REAPPEARED, or EXPIRED (only when 'Emit expired' is on). Distinct from 'Resume from a previous run' above, which continues one interrupted run instead of tracking a recurring search. Off by default so a normal run's output shape is unchanged.",
            "default": false
          },
          "stateKey": {
            "title": "State key (incremental mode only, optional)",
            "type": "string",
            "description": "Names the saved baseline this run compares against. Leave empty to auto-derive one from your filters/URLs (so two different searches never share a baseline). Set your own value if you want multiple scheduled runs of the SAME search to intentionally share one baseline, or to give a search a stable name across small filter tweaks."
          },
          "emitUnchanged": {
            "title": "Emit unchanged rows (incremental mode only)",
            "type": "boolean",
            "description": "When ON, incremental mode also pushes companies with no detected change (changeType=UNCHANGED). Off by default: a quiet run returns only what's new or changed. Turning this on returns — and bills — a row for every tracked company, every run.",
            "default": false
          },
          "emitExpired": {
            "title": "Emit expired rows (incremental mode only)",
            "type": "boolean",
            "description": "When ON, incremental mode pushes a changeType=EXPIRED row for any previously-tracked company no longer found, but ONLY after a run that scanned the full tracked search with no cap/page limit cutting it short and no resumeFromRunId (a partial scan can never prove a company is really gone). Off by default: this also bills one extra row per expired company.",
            "default": false
          },
          "proxy": {
            "title": "Proxy",
            "type": "object",
            "description": "Proxy for outbound traffic. Apify datacenter (default) is fast and cheap and works for this site. Residential is supported as an upgrade if you ever see throttling.",
            "default": {
              "useApifyProxy": true
            }
          },
          "mcpConnectors": {
            "title": "Pipe results into your apps (optional)",
            "type": "array",
            "description": "Optionally send the scraped results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize a connector once under Apify → Settings → Integrations, then select it here. The connector receives a condensed, human-readable summary per item (title + key fields), not the full JSON — the complete record stays in the dataset. Leave empty to skip. Supported: Notion (https://mcp.notion.com/mcp), Linear (https://mcp.linear.app/sse), Airtable (https://mcp.airtable.com/mcp), Apify (https://mcp.apify.com)."
          },
          "notionParentPageUrl": {
            "title": "Notion parent page (Notion connector only)",
            "type": "string",
            "description": "URL (or id) of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors."
          },
          "maxNotifyListings": {
            "title": "Max items to export per connector",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap on items written to each connector per run. Does not affect the dataset.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}