{
  "openapi": "3.0.1",
  "info": {
    "title": "Form D Funding Leads: Private Placement Filings Feed",
    "description": "New Form D private-placement filings from the public SEC EDGAR archive: issuer, address, phone, industry, amount raised and sold, investor count, exemptions and named executives. Daily feed of startup and fund raises with dedupe, date range or by company. Not affiliated with the SEC.",
    "version": "0.1",
    "x-build-id": "9cKSCeniCuToJ3iRe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fecklesspleb~form-d-funding-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fecklesspleb-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/fecklesspleb~form-d-funding-leads/runs": {
      "post": {
        "operationId": "runs-sync-fecklesspleb-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/fecklesspleb~form-d-funding-leads/run-sync": {
      "post": {
        "operationId": "run-sync-fecklesspleb-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": {
          "contactEmail": {
            "title": "Your contact e-mail (needed for live data)",
            "type": "string",
            "description": "The SEC asks every automated client to declare who it is. Requests are sent with the User-Agent 'FormDFundingLeads <this e-mail>'. Use an address where the SEC can reach you about your traffic. Leave it empty to get a few free SAMPLE filings (isSample = true) without contacting the SEC. It is not stored in the output and is masked in the log. Placeholder domains such as example.com are refused. Stored as a secret input (encrypted)."
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "daily_feed",
              "date_range",
              "by_company"
            ],
            "type": "string",
            "description": "Daily feed reads the newest EDGAR daily index files. Date range reads every weekday index between two dates. By company reads each CIK's filing history.",
            "default": "daily_feed"
          },
          "lookbackDays": {
            "title": "Daily feed: index days to read",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many of the most recent published daily index files to read. Weekends are skipped; holidays and not-yet-published days are skipped quietly.",
            "default": 1
          },
          "startDate": {
            "title": "Date range: start date",
            "type": "string",
            "description": "First filing date (YYYY-MM-DD). Required in date range mode."
          },
          "endDate": {
            "title": "Date range: end date",
            "type": "string",
            "description": "Last filing date (YYYY-MM-DD). Defaults to today. A run covers at most 92 days."
          },
          "ciks": {
            "title": "By company: CIKs",
            "maxItems": 200,
            "type": "array",
            "description": "SEC Central Index Keys, with or without leading zeros (1 to 200).",
            "items": {
              "type": "string"
            }
          },
          "includeAmendments": {
            "title": "Include amendments (D/A)",
            "type": "boolean",
            "description": "Also return amended filings. Amendments have isAmendment = true.",
            "default": true
          },
          "states": {
            "title": "Issuer states or countries",
            "maxItems": 100,
            "type": "array",
            "description": "Keep only issuers whose address uses one of these EDGAR state or country codes, e.g. CA, NY, TX, or A6 for Ontario. Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "industryGroups": {
            "title": "Industry groups",
            "maxItems": 50,
            "type": "array",
            "description": "Keep only filings whose industry group contains one of these words, matched case-insensitively against the value in the filing, e.g. 'Biotechnology', 'Technology', 'Real Estate'. Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "excludePooledFunds": {
            "title": "Exclude pooled investment funds",
            "type": "boolean",
            "description": "Drop venture, hedge, private equity and other pooled funds so that only operating companies remain.",
            "default": false
          },
          "minTotalOffering": {
            "title": "Minimum total offering (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop filings with a smaller total offering amount. Offerings marked 'Indefinite' are kept.",
            "default": 0
          },
          "minAmountSold": {
            "title": "Minimum amount sold (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop filings that report less than this amount already sold.",
            "default": 0
          },
          "onlyNewSinceLastRun": {
            "title": "Only filings not returned before",
            "enum": [
              "auto",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Remembers the accession numbers already returned (per state key) so that scheduled runs only return new filings.",
            "default": "auto"
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Use a different key for each separate schedule so that their 'already returned' lists stay apart. Letters, digits, - and _.",
            "default": "default"
          },
          "includeRelatedPersons": {
            "title": "Include related persons",
            "type": "boolean",
            "description": "Names, city, state and roles of the executives, directors and promoters listed on the filing. Street addresses of people are never included.",
            "default": true
          },
          "maxItems": {
            "title": "Max filings returned",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many filings are saved.",
            "default": 1000
          },
          "maxFilingsChecked": {
            "title": "Max filings checked",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Upper bound on filing documents downloaded in one run, including ones your filters drop.",
            "default": 5000
          },
          "maxRequestsPerSecond": {
            "title": "Max requests per second",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Request rate to sec.gov. Capped at 5, half the SEC's published limit of 10 per second.",
            "default": 5
          },
          "debugLog": {
            "title": "Debug log (one line per request)",
            "type": "boolean",
            "description": "Write one log line per request to sec.gov: path, status, duration and how many requests started in the last second. Also turned on when the run's log level is DEBUG. The run summary always includes peakRequestsPerSecond.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}