{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Form D Funding Leads & Change Monitor",
    "description": "Export and monitor official SEC Form D and D/A fundraising filings with structured issuer, offering, amount, exemption, related-person, recipient, and amendment data.",
    "version": "0.1",
    "x-build-id": "J5TwbM81OGlLRVzqO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/luminar~sec-form-d-funding-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-luminar-sec-form-d-funding-monitor",
        "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/luminar~sec-form-d-funding-monitor/runs": {
      "post": {
        "operationId": "runs-sync-luminar-sec-form-d-funding-monitor",
        "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/luminar~sec-form-d-funding-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-luminar-sec-form-d-funding-monitor",
        "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": {
          "workflow": {
            "title": "What do you want to do?",
            "enum": [
              "baseline",
              "changes_standard",
              "changes_bulk"
            ],
            "type": "string",
            "description": "Baseline exports filings. A first valid Changes run establishes its comparison baseline; later same-scope runs return only new notices, amendments, and confirmed same-accession corrections.",
            "default": "baseline"
          },
          "outputMode": {
            "title": "Result style",
            "enum": [
              "raw",
              "tracker"
            ],
            "type": "string",
            "description": "Tracker adds free official-source counts and amount totals to the run summary. Dataset filing fields stay the same.",
            "default": "raw"
          },
          "discovery": {
            "title": "Where to look",
            "enum": [
              "market",
              "companies",
              "accessions"
            ],
            "type": "string",
            "description": "Market uses official quarterly Form D datasets plus the current EDGAR full index. Selected issuers use official SEC submissions history. Exact accessions go directly to their official archive directories.",
            "default": "market"
          },
          "ciks": {
            "title": "Issuer CIK numbers",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Optional for All Form D filings; required for Selected issuers when company names are empty. Add up to 100 SEC CIKs. They are padded to ten digits and deduplicated before source work.",
            "items": {
              "type": "string",
              "pattern": "^[0-9]{1,10}$",
              "maxLength": 10
            }
          },
          "accessionNumbers": {
            "title": "Exact Form D accessions",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Required for Exact accession numbers. Add up to 100 D or D/A accession numbers; dashes are optional.",
            "items": {
              "type": "string",
              "pattern": "^[0-9]{10}-?[0-9]{2}-?[0-9]{6}$",
              "maxLength": 20
            }
          },
          "companyNames": {
            "title": "Issuer names contain",
            "maxItems": 25,
            "uniqueItems": true,
            "type": "array",
            "description": "Optional alternative to CIKs for Selected issuers. Add up to 25 case-insensitive fragments matched only against official filed issuer names; CIK is more precise and usually cheaper when known.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 160
            }
          },
          "daysBack": {
            "title": "Previous completed days",
            "minimum": 1,
            "maximum": 730,
            "type": "integer",
            "description": "Rolling date window used when Filed from and Filed through are empty. The implicit end is yesterday in UTC so an incomplete current-day index is never called complete.",
            "default": 30
          },
          "startDate": {
            "title": "Filed from",
            "type": "string",
            "description": "Optional inclusive filing start date. The maximum supported interval is 730 days."
          },
          "endDate": {
            "title": "Filed through",
            "type": "string",
            "description": "Optional inclusive filing end date. If only Filed from is supplied, the end is yesterday in UTC."
          },
          "searchQuery": {
            "title": "Search official filing fields",
            "maxLength": 200,
            "type": "string",
            "description": "Optional case-insensitive text search across official issuer, offering, related-person, recipient, exemption, security, and clarification fields. It can require scanning more filings before the result limit is reached."
          },
          "amendmentFilter": {
            "title": "Notice type",
            "enum": [
              "all",
              "new_notices_only",
              "amendments_only"
            ],
            "type": "string",
            "description": "D and D/A are separate filings with separate accession identities. Amendment links use only the official previous-accession field.",
            "default": "all"
          },
          "issuerStates": {
            "title": "Issuer state codes",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Match filed issuer business-address state or country codes.",
            "items": {
              "type": "string",
              "maxLength": 32
            }
          },
          "issuerCountries": {
            "title": "Issuer countries",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Match the filed business-address country value.",
            "items": {
              "type": "string",
              "maxLength": 64
            }
          },
          "jurisdictions": {
            "title": "Incorporation jurisdictions",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Match the filed jurisdiction of incorporation or organization.",
            "items": {
              "type": "string",
              "maxLength": 64
            }
          },
          "industryGroups": {
            "title": "Industry groups",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Match official Form D industry-group values.",
            "items": {
              "type": "string",
              "maxLength": 120
            }
          },
          "investmentFundTypes": {
            "title": "Investment-fund types",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Match official investment-fund types when the issuer filed one.",
            "items": {
              "type": "string",
              "maxLength": 120
            }
          },
          "issuerScope": {
            "title": "Issuer kind",
            "enum": [
              "all",
              "operating_companies",
              "investment_funds"
            ],
            "type": "string",
            "description": "Uses the filed investment-fund field; it does not infer a business category from a company name.",
            "default": "all"
          },
          "entityTypes": {
            "title": "Entity types",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Match filed entity types such as Corporation or Limited Liability Company.",
            "items": {
              "type": "string",
              "maxLength": 120
            }
          },
          "securityTypes": {
            "title": "Security types",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Match official offered-security flags, including filed other-security text.",
            "items": {
              "type": "string",
              "maxLength": 120
            }
          },
          "federalExemptions": {
            "title": "Federal exemptions",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Match official Form D exemption selections such as Rule 506(b) or Rule 506(c).",
            "items": {
              "type": "string",
              "maxLength": 80
            }
          },
          "nonAccreditedInvestor": {
            "title": "Non-accredited investors",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Uses only the issuer's filed answer. It does not identify individual investors.",
            "default": "any"
          },
          "minOfferingAmount": {
            "title": "Minimum total offering amount",
            "minimum": 0,
            "maximum": 1000000000000000,
            "type": "number",
            "description": "Keep filings whose numeric total offering amount is at least this value. Indefinite or missing amounts do not satisfy a positive minimum.",
            "default": 0
          },
          "minAmountSold": {
            "title": "Minimum amount sold",
            "minimum": 0,
            "maximum": 1000000000000000,
            "type": "number",
            "description": "Keep filings whose filed total amount sold is at least this value. Amount sold is a filed fact, not proof that a round closed.",
            "default": 0
          },
          "minInvestment": {
            "title": "Minimum investment accepted",
            "minimum": 0,
            "maximum": 1000000000000000,
            "type": "number",
            "description": "Keep filings whose filed minimum investment accepted is at least this value.",
            "default": 0
          },
          "minInvestors": {
            "title": "Minimum investors already invested",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Keep filings whose filed investor count is at least this value. No investor identities are provided.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort results",
            "enum": [
              "newest",
              "oldest",
              "amount_offered",
              "amount_sold",
              "first_sale"
            ],
            "type": "string",
            "description": "Sorting happens after official records are normalized and filtered.",
            "default": "newest"
          },
          "maxResults": {
            "title": "Maximum delivered filings or changes",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Baseline and Bulk support up to 10,000 delivered rows. Standard Changes supports up to 200. Reaching the limit reports CAPPED and state advances only for confirmed delivered changes.",
            "default": 100
          },
          "maxTrackedAccessions": {
            "title": "Maximum tracked accessions",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Changes-only state capacity. It must be at least Maximum delivered filings or changes. The 10,000 maximum is locally proven as one validated state snapshot under the 9 MB state limit.",
            "default": 1000
          },
          "maxFilingsScanned": {
            "title": "Maximum filings inspected",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Independent official-record scan guard for filters. If it stops traversal, coverage is CAPPED and monitoring state does not advance.",
            "default": 5000
          },
          "includeUnchanged": {
            "title": "Include unchanged audit rows",
            "type": "boolean",
            "description": "Changes only. Adds free UNCHANGED audit rows. They never become paid changes and observation time is excluded from fingerprints.",
            "default": false
          },
          "monitorLabel": {
            "title": "Monitoring scope label",
            "maxLength": 64,
            "type": "string",
            "description": "Optional stable label that separates otherwise identical watch states. Every result-affecting input is still included in the state fingerprint."
          },
          "maxBuyerChargeUsd": {
            "title": "Maximum projected Actor charge",
            "minimum": 0.001,
            "maximum": 5000,
            "type": "number",
            "description": "Internal pre-source guard against a requested paid-event vector that exceeds the configured run ceiling.",
            "default": 5
          },
          "maxRequests": {
            "title": "SEC request guard",
            "minimum": 1,
            "maximum": 12000,
            "type": "integer",
            "description": "Run-wide official SEC request ceiling. The high guard makes the 10,000-row current-index route reachable; the 100-row default stops as soon as its result scope is proven.",
            "default": 12000
          },
          "maxSourceBytes": {
            "title": "SEC transfer guard",
            "minimum": 100000,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Run-wide official source-byte ceiling. It is a safety ceiling, not a transfer target; result and scan limits still stop normal runs.",
            "default": 1000000000
          },
          "maxRuntimeSecs": {
            "title": "Source runtime guard",
            "minimum": 30,
            "maximum": 3600,
            "type": "integer",
            "description": "Run-wide source-work ceiling. At the enforced four-request-per-second maximum, this permits the advertised 10,000-record one-request archive route.",
            "default": 3600
          },
          "maxArchiveCompressedBytes": {
            "title": "Archive compressed-byte guard",
            "minimum": 100000,
            "maximum": 100000000,
            "type": "integer",
            "description": "Per-archive compressed-byte ceiling.",
            "default": 75000000
          },
          "maxArchiveInflatedBytes": {
            "title": "Archive inflated-byte guard",
            "minimum": 100000,
            "maximum": 500000000,
            "type": "integer",
            "description": "Per-archive combined inflated-byte ceiling.",
            "default": 350000000
          },
          "maxArchiveEntryBytes": {
            "title": "Archive entry guard",
            "minimum": 100000,
            "maximum": 250000000,
            "type": "integer",
            "description": "Per-entry inflated-byte ceiling.",
            "default": 200000000
          },
          "maxArchiveEntries": {
            "title": "Archive entry-count guard",
            "minimum": 6,
            "maximum": 12,
            "type": "integer",
            "description": "Rejects unexpected entry fan-out before inflation.",
            "default": 8
          },
          "maxArchiveExpansionRatio": {
            "title": "Archive expansion guard",
            "minimum": 1,
            "maximum": 30,
            "type": "number",
            "description": "Rejects excessive inflated-to-compressed ratios.",
            "default": 25
          },
          "maxParseMemoryBytes": {
            "title": "Archive parse-memory guard",
            "minimum": 1000000,
            "maximum": 700000000,
            "type": "integer",
            "description": "Conservative archive parse-memory ceiling.",
            "default": 600000000
          },
          "_luminarQaFaultStage": {
            "title": "Private QA fault stage",
            "type": "string",
            "description": "Private Factory QA only. Any use outside the separately registered private QA Actor on the exact canonical build fails closed before source, charge, or state work."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}