{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Form D Startup Funding Leads (No-Fund Filter)",
    "description": "Extract fresh US startup funding rounds directly from official SEC EDGAR Form D XML. Automatically strips out hedge funds, VC/PE feeder funds & SPVs to return clean operating companies with amounts raised, HQ, phone & CEO names — ready for Clay, n8n & MCP.",
    "version": "1.0",
    "x-build-id": "aRFgwgUYdSRSnYfz2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vayneshen~sec-form-d-funding-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vayneshen-sec-form-d-funding-leads",
        "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/vayneshen~sec-form-d-funding-leads/runs": {
      "post": {
        "operationId": "runs-sync-vayneshen-sec-form-d-funding-leads",
        "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/vayneshen~sec-form-d-funding-leads/run-sync": {
      "post": {
        "operationId": "run-sync-vayneshen-sec-form-d-funding-leads",
        "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": {
          "daysBack": {
            "title": "Days Back to Search",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Fetch Form D filings submitted in the last N days (1 to 90, US Eastern Time). Ignored when startDate is provided.",
            "default": 7
          },
          "startDate": {
            "title": "Custom Start Date (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional ISO start date (e.g. '2026-11-01'). Overrides daysBack when set.",
            "default": ""
          },
          "endDate": {
            "title": "Custom End Date (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional ISO end date (e.g. '2026-11-25'). Defaults to today (America/New_York). If only endDate is set, searches daysBack ending on endDate.",
            "default": ""
          },
          "includeAmendments": {
            "title": "Include Form D/A Amendments",
            "type": "boolean",
            "description": "Include Form D/A amendment filings in addition to initial Form D filings. Keep OFF to capture newly opened rounds without duplicate billing.",
            "default": false
          },
          "excludeInvestmentFunds": {
            "title": "Exclude Hedge Funds, VC/PE Funds & SPVs",
            "type": "boolean",
            "description": "Recommended ON for B2B sales & startup sourcing. Strips out 3(c)(1)/3(c)(7) pooled funds, feeder funds, LPs, SPVs, and property shell LLCs without falsely dropping tech/security corporations like OneTrust.",
            "default": true
          },
          "excludeRealEstateAndFinance": {
            "title": "Exclude Real Estate & Energy Vehicles",
            "type": "boolean",
            "description": "Filters out Real Estate, Residential/Commercial property, REITs, Oil & Gas, Mineral Properties, and Energy partnerships. Preserves Fintech (Banking & Financial Services), Insurtech (Insurance), and Construction-Tech.",
            "default": true
          },
          "excludeTraditionalSectors": {
            "title": "Exclude Traditional Non-Startup Sectors (Banks, Mining, Breweries)",
            "type": "boolean",
            "description": "Recommended ON for B2B SaaS/tech outbound. Strips Commercial Banks/Bancshares, Gold/Metal Mining, Breweries/Distilleries, Restaurants, Lodging, and Agriculture while preserving Fintech, Insurtech, Biotech, and Tech startups.",
            "default": true
          },
          "excludeTraditionalFinance": {
            "title": "Also Exclude All Banking, Insurance & Investing Sectors",
            "type": "boolean",
            "description": "Enable only if you explicitly want to exclude SEC 'Banking and Financial Services', 'Insurance', and 'Investing' categories (note: many Fintech & Insurtech startups file under these SEC categories).",
            "default": false
          },
          "excludeBusinessCombinations": {
            "title": "Exclude M&A / Business Combinations",
            "type": "boolean",
            "description": "Recommended ON. Filters out Form D filings triggered by mergers/acquisitions stock swaps rather than fresh capital raises.",
            "default": true
          },
          "onlyCorporations": {
            "title": "Only Corporations (Inc. / Corp.)",
            "type": "boolean",
            "description": "Restrict results to entityType = 'Corporation' (highest concentration of VC-backed Delaware C-Corp startups).",
            "default": false
          },
          "industryGroups": {
            "title": "Target SEC Industry Groups",
            "type": "array",
            "description": "Optional whitelist of official SEC Form D industry groups (case-insensitive substring match, e.g. ['Technology', 'Biotechnology', 'Health Care', 'Banking and Financial Services', 'Other']). Note: SEC does not have a 'SaaS' category — SaaS startups file under 'Technology' or 'Other'.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "Issuer US States (2-Letter Codes)",
            "type": "array",
            "description": "Optional US state codes for issuer headquarters (e.g. ['CA', 'NY', 'TX', 'MA', 'WA']). Leave empty for all jurisdictions.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Company / Executive / Notes Keywords",
            "type": "array",
            "description": "Optional case-insensitive keywords matched locally against company name, industry group, executive titles, and offering notes (e.g. ['AI', 'Robotics', 'Health', 'Bio']).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minOfferingUsd": {
            "title": "Minimum Total Offering Size (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep filings with totalOfferingAmount >= this USD threshold (e.g. 500000). Set 0 for no minimum.",
            "default": 0
          },
          "minSoldUsd": {
            "title": "Minimum Amount Already Sold (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep filings where at least this USD amount has already closed/sold (e.g. 250000 or 1000000). Set 0 for no minimum.",
            "default": 0
          },
          "enableDomainEnrichment": {
            "title": "Verify Company Website Domain & Summary (Zero-Key DNS + Homepage)",
            "type": "boolean",
            "description": "Recommended ON. Verifies each qualified startup's live website via parallel DNS + homepage brand/location cross-check (zero third-party APIs) and extracts websiteTitle & websiteDescription. Uncertain matches intentionally return null rather than guessing.",
            "default": true
          },
          "deduplicateByCompanyInRun": {
            "title": "Deduplicate Multi-Tranche Filings by Company (Same Run)",
            "type": "boolean",
            "description": "Recommended ON. Ensures companies that file multiple Form D tranches on the same day only export and bill once per run (deduplicated by SEC CIK).",
            "default": true
          },
          "deduplicateAcrossRuns": {
            "title": "Deduplicate Across Runs (Daily Incremental Mode)",
            "type": "boolean",
            "description": "When enabled, remembers previously exported accessionNumbers in a dedicated Key-Value Store inside your Apify account so daily n8n/Clay runs only fetch and bill brand-new filings. Keep OFF for one-off queries.",
            "default": false
          },
          "dedupKey": {
            "title": "Deduplication Namespace",
            "type": "string",
            "description": "Optional namespace isolating seen filing history between different schedules (defaults to 'default', e.g. 'daily-seed-alerts' vs 'weekly-biotech'). Used only when deduplicateAcrossRuns is enabled."
          },
          "dedupTtlDays": {
            "title": "Deduplication Memory TTL (Days)",
            "minimum": 7,
            "maximum": 365,
            "type": "integer",
            "description": "How many days to remember exported accessionNumbers before expiring old entries (7 to 365).",
            "default": 90
          },
          "maxResults": {
            "title": "Max Qualified Leads to Output",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of matched Form D leads to export (1 to 1000). Default 10 finishes in ~20-30s for instant testing, MCP tool calls, and daily alerts.",
            "default": 10
          },
          "maxXmlFetches": {
            "title": "Max SEC XML Documents to Inspect (0 = Auto)",
            "minimum": 0,
            "maximum": 1500,
            "type": "integer",
            "description": "Safety cap on total SEC XML files fetched (0 = automatic scaling up to max(120, maxResults * 5), capped at 1500).",
            "default": 0
          },
          "secContactEmail": {
            "title": "Custom SEC Fair-Access Contact Email (Optional)",
            "type": "string",
            "description": "Optional contact email included in the SEC EDGAR compliant User-Agent header per SEC Fair Access Policy.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}