{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Form D Filings: Funding Rounds, First-Time Raisers & EINs",
    "description": "New private funding rounds from SEC Form D filings, by day, industry, state and amount: the company's name, address, phone, EIN, industry and revenue range, amounts offered and sold, investors and exemptions, with its earlier rounds, so first-time raisers stand out; a summary by industry and state.",
    "version": "0.1",
    "x-build-id": "5hYbBvk7HNatwSrFb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pikoulas~form-d-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pikoulas-form-d-filings",
        "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/pikoulas~form-d-filings/runs": {
      "post": {
        "operationId": "runs-sync-pikoulas-form-d-filings",
        "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/pikoulas~form-d-filings/run-sync": {
      "post": {
        "operationId": "run-sync-pikoulas-form-d-filings",
        "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": {
          "filedWithinDays": {
            "title": "Filed within (days)",
            "minimum": 1,
            "maximum": 366,
            "type": "integer",
            "description": "Filings made in the last this many days, newest first. EDGAR publishes a day's filings that evening; weekends and holidays have none.",
            "default": 7
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "The industry group the company filed under. None means all.",
            "items": {
              "type": "string",
              "enum": [
                "Agriculture",
                "Airlines and Airports",
                "Biotechnology",
                "Business Services",
                "Coal Mining",
                "Commercial",
                "Commercial Banking",
                "Computers",
                "Construction",
                "Electric Utilities",
                "Energy Conservation",
                "Environmental Services",
                "Health Insurance",
                "Hospitals and Physicians",
                "Insurance",
                "Investing",
                "Investment Banking",
                "Lodging and Conventions",
                "Manufacturing",
                "Oil and Gas",
                "Other",
                "Other Banking and Financial Services",
                "Other Energy",
                "Other Health Care",
                "Other Real Estate",
                "Other Technology",
                "Other Travel",
                "Pharmaceuticals",
                "Pooled Investment Fund",
                "REITS and Finance",
                "Residential",
                "Restaurants",
                "Retailing",
                "Telecommunications",
                "Tourism and Travel Services"
              ]
            }
          },
          "excludeFunds": {
            "title": "Leave out investment funds",
            "type": "boolean",
            "description": "Leaves out pooled investment funds (private equity, venture capital and hedge funds raising from their investors), more than half of new filings, for operating companies only.",
            "default": false
          },
          "states": {
            "title": "States or countries",
            "type": "array",
            "description": "Two-character EDGAR codes of the company's address: US state codes (CA, NY, TX), or EDGAR's country codes (E9 Cayman Islands, X0 United Kingdom, A1 British Columbia). None means all.",
            "items": {
              "type": "string"
            }
          },
          "minAmountSold": {
            "title": "Minimum amount sold ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Only offerings that have sold at least this many dollars so far."
          },
          "incorporatedWithinFiveYears": {
            "title": "Young companies only",
            "type": "boolean",
            "description": "Only companies incorporated within the last five years.",
            "default": false
          },
          "nameContains": {
            "title": "Name contains",
            "type": "string",
            "description": "Words that must all be in the company's name (therapeutics, AI, solar)."
          },
          "includeAmendments": {
            "title": "Include amendments",
            "type": "boolean",
            "description": "Amended filings (Form D/A) too: updates to an earlier offering, often with more sold. Off gives new offerings only.",
            "default": false
          },
          "firstOfferingOnly": {
            "title": "First-time raisers only",
            "type": "boolean",
            "description": "Only companies filing their first Form D: no new offering filed before this one in EDGAR's list of their filings. Turns on company details.",
            "default": false
          },
          "companyDetails": {
            "title": "Company details",
            "type": "boolean",
            "description": "Each company's EIN and stock tickers, its earlier Form D offerings (how many, the first and the latest) and its other SEC forms, from EDGAR's list of its filings: one more request per filing, at no extra charge.",
            "default": true
          },
          "maxResults": {
            "title": "Max filings",
            "minimum": 0,
            "type": "integer",
            "description": "The most filings to give; 0 for no limit.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}