{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Form D Scraper: Startup Funding Leads",
    "description": "Companies that just raised private money, from every new SEC Form D filing: name, address, phone, industry, amount raised and sold, investor count, officers and filing link. Filter by state, industry and raise size. Run it daily for a funding lead feed.",
    "version": "1.1",
    "x-build-id": "XNamHSngvJuxui5zk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/greatwork~sec-form-d-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-greatwork-sec-form-d-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/greatwork~sec-form-d-leads/runs": {
      "post": {
        "operationId": "runs-sync-greatwork-sec-form-d-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/greatwork~sec-form-d-leads/run-sync": {
      "post": {
        "operationId": "run-sync-greatwork-sec-form-d-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": {
          "daysBack": {
            "title": "Filing days back",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "How many of the most recent EDGAR filing days to scan (weekends and holidays are skipped automatically). Ignored when 'Date from' is set.",
            "default": 3
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "First filing date to include (YYYY-MM-DD). Leave empty to use 'Days back'."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Last filing date to include (YYYY-MM-DD). Defaults to today."
          },
          "states": {
            "title": "Issuer states",
            "type": "array",
            "description": "Two-letter codes of the issuer's principal place of business, e.g. CA, NY, TX. Leave empty for every state and country.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industry groups",
            "type": "array",
            "description": "Form D industry groups to keep (the SEC's fixed list). Leave empty for all industries. Real estate groups are Commercial, Residential, REITS and Finance, Other Real Estate.",
            "items": {
              "type": "string",
              "enum": [
                "Other Technology",
                "Computers",
                "Telecommunications",
                "Biotechnology",
                "Pharmaceuticals",
                "Other Health Care",
                "Health Insurance",
                "Hospitals and Physicians",
                "Business Services",
                "Manufacturing",
                "Retailing",
                "Restaurants",
                "Agriculture",
                "Commercial",
                "Residential",
                "Construction",
                "REITS and Finance",
                "Other Real Estate",
                "Energy Conservation",
                "Environmental Services",
                "Oil and Gas",
                "Electric Utilities",
                "Coal Mining",
                "Other Energy",
                "Commercial Banking",
                "Investment Banking",
                "Insurance",
                "Investing",
                "Other Banking and Financial Services",
                "Pooled Investment Fund",
                "Airlines and Airports",
                "Lodging and Conventions",
                "Tourism and Travel Services",
                "Other Travel",
                "Other"
              ]
            }
          },
          "minOfferingAmount": {
            "title": "Minimum offering size (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only raises of at least this total offering amount. Open-ended ('Indefinite') offerings are kept. 0 = no minimum.",
            "default": 0
          },
          "maxOfferingAmount": {
            "title": "Maximum offering size (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop raises above this amount. 0 = no maximum.",
            "default": 0
          },
          "excludePooledFunds": {
            "title": "Exclude investment funds",
            "type": "boolean",
            "description": "Drop pooled investment funds (hedge, PE, VC and real-estate fund vehicles) so you only get operating companies.",
            "default": true
          },
          "incorporatedWithinFiveYearsOnly": {
            "title": "Young companies only",
            "type": "boolean",
            "description": "Keep only issuers incorporated within the last five years (startups).",
            "default": false
          },
          "includeAmendments": {
            "title": "Include amendments (D/A)",
            "type": "boolean",
            "description": "Also return amended filings. Off = only new raises.",
            "default": false
          },
          "nameContains": {
            "title": "Company name contains",
            "type": "string",
            "description": "Optional case-insensitive text match on the issuer name."
          },
          "includeRelatedPersons": {
            "title": "Include related persons",
            "type": "boolean",
            "description": "Add the executive officers, directors and promoters named in the filing (name, role, city, state). Off by default.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many filings. You pay per filing returned, so this is also your cost cap.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only filings not delivered before",
            "type": "boolean",
            "description": "For scheduled runs: skip filings this feed already returned in the last 60 days, so overlapping date windows never repeat a company. Tracked in a key-value store in your own account.",
            "default": false
          },
          "feedName": {
            "title": "Feed name",
            "type": "string",
            "description": "Keeps separate 'already delivered' lists per schedule, e.g. 'ca-tech'.",
            "default": "default"
          },
          "contactEmail": {
            "title": "Your contact email (optional)",
            "type": "string",
            "description": "Added to the User-Agent sent to the SEC, as its fair-access policy asks. Not stored or shared."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}