{
  "openapi": "3.0.1",
  "info": {
    "title": "Funded Startups Feed (SEC Form D)",
    "description": "Companies that just raised money, from official SEC Form D filings: amount raised, investors, industry, address, phone and named executives. Filter by sector, state, size and age, or monitor daily.",
    "version": "0.1",
    "x-build-id": "gLzal2PHTNspNlpWi"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/leanpilar~funded-startups/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-leanpilar-funded-startups",
        "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/leanpilar~funded-startups/runs": {
      "post": {
        "operationId": "runs-sync-leanpilar-funded-startups",
        "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/leanpilar~funded-startups/run-sync": {
      "post": {
        "operationId": "run-sync-leanpilar-funded-startups",
        "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": "Days back",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "How many days of filings to check, counting back from today (or from End date). Default 7, or 14 in monitor mode."
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "Optional. First filing date (YYYY-MM-DD). Overrides Days back."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Optional. Last filing date (YYYY-MM-DD). Default: today."
          },
          "sectors": {
            "title": "Sectors",
            "type": "array",
            "description": "Only companies in these sectors. Leave empty for all sectors except investment funds.",
            "items": {
              "type": "string",
              "enum": [
                "technology",
                "healthcare",
                "energy",
                "financial",
                "realEstate",
                "consumer",
                "industrial",
                "other",
                "funds"
              ],
              "enumTitles": [
                "Technology (computers, telecom, software)",
                "Health care and biotech",
                "Energy",
                "Banking, insurance and financial services",
                "Real estate",
                "Consumer (retail, restaurants, travel)",
                "Industrial (manufacturing, business services, agriculture)",
                "Other",
                "Investment funds (VC, PE, hedge funds)"
              ]
            }
          },
          "states": {
            "title": "States or countries",
            "type": "array",
            "description": "Only companies based here. Two-letter codes as SEC uses them, e.g. CA, NY, TX. Leave empty for everywhere.",
            "items": {
              "type": "string"
            }
          },
          "minAmountRaised": {
            "title": "Minimum amount raised (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip filings that report less money already raised."
          },
          "minOfferingSize": {
            "title": "Minimum round size (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip rounds smaller than this. Rounds with an open-ended (indefinite) size are kept."
          },
          "maxCompanyAgeYears": {
            "title": "Maximum company age (years)",
            "minimum": 0,
            "type": "integer",
            "description": "Only young companies, e.g. 3 = incorporated in the last 3 years. Leave empty for any age."
          },
          "searchText": {
            "title": "Search text",
            "type": "string",
            "description": "Optional. Only filings that mention this text, e.g. a company or person name. Use quotes for an exact phrase."
          },
          "includeAmendments": {
            "title": "Include amendments",
            "type": "boolean",
            "description": "Also return amended filings (Form D/A), which update an earlier round.",
            "default": false
          },
          "includeFunds": {
            "title": "Include investment funds",
            "type": "boolean",
            "description": "About two thirds of Form D filings are investment funds. They are skipped unless you turn this on.",
            "default": false
          },
          "monitorMode": {
            "title": "Monitor mode (only new filings)",
            "type": "boolean",
            "description": "Remember what earlier runs returned and give you only filings you have not seen. Schedule the actor daily to get a feed of newly funded companies.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Use different names to keep separate feeds, e.g. one per sector.",
            "default": "default"
          },
          "maxResults": {
            "title": "Max companies",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many companies. Leave empty for no limit."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}