{
  "openapi": "3.0.1",
  "info": {
    "title": "💵 SEC Form D Funding Leads — New Raises Watch",
    "description": "SEC EDGAR Form D watch — new private placements and funding leads (issuer, amount, dates) with deltas on new and changed filings.",
    "version": "0.1",
    "x-build-id": "vFwTd8ueeb4PbeiHV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nexgenwatch~form-d-funding-leads-watch/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nexgenwatch-form-d-funding-leads-watch",
        "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/nexgenwatch~form-d-funding-leads-watch/runs": {
      "post": {
        "operationId": "runs-sync-nexgenwatch-form-d-funding-leads-watch",
        "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/nexgenwatch~form-d-funding-leads-watch/run-sync": {
      "post": {
        "operationId": "run-sync-nexgenwatch-form-d-funding-leads-watch",
        "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": {
          "watchMode": {
            "title": "Watch mode (seed-zero delta feed)",
            "type": "boolean",
            "description": "When true, seed a private baseline and emit only post-baseline qualifying deltas (first run emits zero). When false, emit snapshot form_d_filing rows.",
            "default": false
          },
          "baselineKey": {
            "title": "Baseline key",
            "type": "string",
            "description": "Named watch baseline (1-120 chars, [A-Za-z0-9._:-]). Null derives a SHA-256 of the normalized filters."
          },
          "filingTypes": {
            "title": "Filing types",
            "type": "array",
            "description": "Form D filing types to include.",
            "items": {
              "type": "string",
              "enum": [
                "D",
                "D/A"
              ]
            },
            "default": [
              "D",
              "D/A"
            ]
          },
          "issuerNameKeywords": {
            "title": "Issuer name keywords (match-any)",
            "type": "array",
            "description": "Keep only filings whose issuer name contains one of these substrings (case-insensitive). Empty keeps all.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "issuerStates": {
            "title": "Issuer states / countries",
            "type": "array",
            "description": "Uppercase two-letter US state or SEC country codes. Empty keeps all issuers (including foreign).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "industryGroups": {
            "title": "Industry groups (exact)",
            "type": "array",
            "description": "Exact Form D industry-group labels.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "industryKeywords": {
            "title": "Industry keywords",
            "type": "array",
            "description": "Local match against issuer-reported industry fields (case-insensitive).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "federalExemptions": {
            "title": "Federal exemptions / exclusions",
            "type": "array",
            "description": "Keep filings claiming any of these exemptions. Empty keeps all; filed values are preserved.",
            "items": {
              "type": "string",
              "enum": [
                "06b",
                "3C",
                "3C.1",
                "3C.7",
                "3C.9",
                "Rule504",
                "Rule506b",
                "Rule506c",
                "SecuritiesAct4a5"
              ]
            },
            "default": []
          },
          "minTotalOfferingAmount": {
            "title": "Min total offering amount (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only filings whose total offering amount is at least this. Indeterminate ('Indefinite') amounts are excluded when a minimum is set. Null disables.",
            "default": 1000000
          },
          "maxTotalOfferingAmount": {
            "title": "Max total offering amount (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Upper bound on total offering amount. Null disables."
          },
          "minAmountSold": {
            "title": "Min amount sold (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only filings with at least this amount already sold. Null disables."
          },
          "firstSaleWithinDays": {
            "title": "First sale within days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep filings whose first sale is within this many days of the filing date (yet-to-sell handled by includeYetToSell). Null disables.",
            "default": 30
          },
          "includeYetToSell": {
            "title": "Include yet-to-sell offerings",
            "type": "boolean",
            "description": "Whether filings that have not yet made a first sale qualify.",
            "default": true
          },
          "includeRelatedPersons": {
            "title": "Include related persons",
            "type": "boolean",
            "description": "Include the public related-persons list (no enrichment).",
            "default": false
          },
          "includeSalesCompensation": {
            "title": "Include sales compensation",
            "type": "boolean",
            "description": "Include public Item 12 sales-compensation recipients.",
            "default": false
          },
          "emitDeltaTypes": {
            "title": "Emit delta types",
            "type": "array",
            "description": "Which watch-mode delta types to emit.",
            "items": {
              "type": "string",
              "enum": [
                "NEW_OFFERING",
                "AMENDMENT",
                "OFFERING_INCREASED",
                "AMOUNT_SOLD_INCREASED",
                "OFFERING_CLOSED",
                "FILER_CORRECTION"
              ]
            },
            "default": [
              "NEW_OFFERING",
              "AMENDMENT",
              "OFFERING_INCREASED",
              "AMOUNT_SOLD_INCREASED",
              "OFFERING_CLOSED",
              "FILER_CORRECTION"
            ]
          },
          "startDate": {
            "title": "Start date (YYYY-MM-DD)",
            "type": "string",
            "description": "Earliest filing date to process. Null uses the latest available filing date on seed. Must be <= today."
          },
          "maxFilingDates": {
            "title": "Max filing dates",
            "minimum": 1,
            "maximum": 14,
            "type": "integer",
            "description": "Maximum daily filing dates to process this run.",
            "default": 1
          },
          "maxFilings": {
            "title": "Max filings",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum matching D/D/A filings to fetch this run.",
            "default": 40
          },
          "secUserAgent": {
            "title": "SEC User-Agent (contact)",
            "type": "string",
            "description": "Descriptive User-Agent with a real contact, e.g. 'NexGenData FormDWatch/1.0 you@example.org'. Required by SEC fair-access. Falls back to the SEC_USER_AGENT env var."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}