{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Scraper – Form D Funding Leads & Filings",
    "description": "SEC EDGAR Form D scraper for startup & private-company funding leads: amount raised, industry, address, phone, executives, filed daily. Plus EDGAR full-text search of any filing (8-K, 10-K, S-1, Form 4). Official SEC data, no API key.",
    "version": "0.1",
    "x-build-id": "eW5TT4ZT4GFRYNB2q"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dedicated_crest~sec-edgar-funding-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dedicated_crest-sec-edgar-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/dedicated_crest~sec-edgar-funding-leads/runs": {
      "post": {
        "operationId": "runs-sync-dedicated_crest-sec-edgar-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/dedicated_crest~sec-edgar-funding-leads/run-sync": {
      "post": {
        "operationId": "run-sync-dedicated_crest-sec-edgar-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "formD",
              "filings"
            ],
            "type": "string",
            "description": "Form D mode parses each Form D into a funding lead. Filings mode returns filing metadata for any form type.",
            "default": "formD"
          },
          "filedWithinDays": {
            "title": "Filed within last N days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Look back this many days (ignored if Start date is set).",
            "default": 7
          },
          "startDate": {
            "title": "Start date (optional)",
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "endDate": {
            "title": "End date (optional)",
            "type": "string",
            "description": "YYYY-MM-DD, defaults to today"
          },
          "query": {
            "title": "Full-text search (optional)",
            "type": "string",
            "description": "EDGAR full-text search terms; use quotes for phrases, e.g. \"artificial intelligence\" or \"material cybersecurity incident\"."
          },
          "forms": {
            "title": "Form types (Filings mode)",
            "type": "array",
            "description": "e.g. 8-K, 10-K, 10-Q, S-1, 4, 13F-HR, SC 13D. Empty = all forms.",
            "items": {
              "type": "string"
            }
          },
          "companies": {
            "title": "Companies (tickers or CIKs)",
            "type": "array",
            "description": "Limit to these companies, e.g. AAPL, NVDA or 320193.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "US states (business or incorporation)",
            "type": "array",
            "description": "Two-letter codes, e.g. CA, NY, TX.",
            "items": {
              "type": "string"
            }
          },
          "includeAmendments": {
            "title": "Include Form D amendments (D/A)",
            "type": "boolean",
            "description": "Form D mode: also include amended filings.",
            "default": false
          },
          "excludePooledFunds": {
            "title": "Exclude pooled investment funds",
            "type": "boolean",
            "description": "Form D mode: skip hedge/PE/VC/real-estate funds and keep operating companies.",
            "default": true
          },
          "industryGroups": {
            "title": "Industry groups (any)",
            "type": "array",
            "description": "Form D mode: keep only these industry groups, e.g. Other Technology, Biotechnology, Other Health Care, Commercial, Restaurants.",
            "items": {
              "type": "string"
            }
          },
          "minOfferingAmount": {
            "title": "Min offering amount ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Form D mode: total offering amount at least this (indefinite offerings are kept)."
          },
          "minAmountSold": {
            "title": "Min amount already raised ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Form D mode: total amount sold at least this."
          },
          "includeRelatedPersons": {
            "title": "Include executives & directors",
            "type": "boolean",
            "description": "Form D mode: list related persons (executive officers, directors, promoters) with roles.",
            "default": true
          },
          "contactEmail": {
            "title": "Your contact email for SEC User-Agent (optional)",
            "type": "string",
            "description": "SEC asks automated tools to identify themselves. Leave empty to use the Actor's default contact."
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop after this many results. The run also stops cleanly when your Maximum cost per run is reached.",
            "default": 200
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}