{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Form D Filings Scraper (Private Fundraising)",
    "description": "New Form D notices from SEC EDGAR: companies and funds raising money privately, with amount offered and sold, investors, industry, securities, exemption, address and the people named. Newest filing days first.",
    "version": "0.1",
    "x-build-id": "MYYPMILxzQAZmPabX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/soogrow_berries~sec-form-d-filings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-soogrow_berries-sec-form-d-filings-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/soogrow_berries~sec-form-d-filings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-soogrow_berries-sec-form-d-filings-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/soogrow_berries~sec-form-d-filings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-soogrow_berries-sec-form-d-filings-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",
        "properties": {
          "daysBack": {
            "title": "Recent filing days",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Read the newest this many filing days of SEC EDGAR (days with filings; weekends and holidays have none). Used when no dates and no filing links are given."
          },
          "fromDate": {
            "title": "Filed from",
            "type": "string",
            "description": "Optional. First filing date to read (YYYY-MM-DD)."
          },
          "toDate": {
            "title": "Filed until",
            "type": "string",
            "description": "Optional. Last filing date to read (YYYY-MM-DD). Default: the newest filing day."
          },
          "includeAmendments": {
            "title": "Include amendments",
            "type": "boolean",
            "description": "Also read amended notices (form D/A). Off: new notices only (form D).",
            "default": false
          },
          "states": {
            "title": "Issuer states",
            "type": "array",
            "description": "Optional. Keep only issuers whose address is in these US states or countries, as SEC codes (CA, NY, TX, DE, ...; X0 = United Kingdom, A6 = Canada (Ontario) and so on). Filings left out are not charged.",
            "items": {
              "type": "string"
            }
          },
          "industryGroups": {
            "title": "Industry groups",
            "type": "array",
            "description": "Optional. Keep only these Form D industry groups, or words in them, such as \"Other Technology\", \"Biotechnology\", \"Pooled Investment Fund\", \"Real Estate\", \"Health Care\". Filings left out are not charged.",
            "items": {
              "type": "string"
            }
          },
          "leaveOutFunds": {
            "title": "Leave out investment funds",
            "type": "boolean",
            "description": "Skip filings by pooled investment funds (hedge, private equity, venture capital and other funds), keeping operating companies. Filings left out are not charged.",
            "default": false
          },
          "minAmountSoldUsd": {
            "title": "Minimum amount sold (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep only filings that report at least this much sold so far. Filings left out are not charged."
          },
          "startUrls": {
            "title": "Filing links",
            "type": "array",
            "description": "Optional. Read these instead: Form D documents (https://www.sec.gov/Archives/edgar/data/<CIK>/<accession>/primary_doc.xml), filing folders (https://www.sec.gov/Archives/edgar/data/<CIK>/<accession>/) or EDGAR daily form indexes (https://www.sec.gov/Archives/edgar/daily-index/2026/QTR4/form.20261006.idx).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "secContactEmail": {
            "title": "Contact email for SEC",
            "type": "string",
            "description": "SEC asks automated tools to name a contact in the User-Agent of their requests (SEC fair access policy). This public business contact is stored visibly in run input and sent to SEC in the User-Agent. The publisher contact is supplied by default; optionally replace it with your own business contact email.",
            "default": "mattl@vextalabs.net"
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after saving this many filings. You pay per result, so this also caps the cost.",
            "default": 20
          },
          "onlyNew": {
            "title": "Only new results",
            "type": "boolean",
            "description": "Skip filings that an earlier run with the same filters already saved. Skipped filings are not saved and not charged. The list of saved IDs is kept in a key-value store named \"sec-form-d-filings-scraper-seen\" in your Apify account; delete it to start over.",
            "default": false
          },
          "leaveOutPersonFields": {
            "title": "Leave out names and phones of people",
            "type": "boolean",
            "description": "Empty the list of people named in the filing (relatedPersons) and the issuer phone (issuerPhone), which small issuers often give as a personal number.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. The Actor runs without a proxy.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}