{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Filings & Form D Funding Monitor",
    "description": "Company filings from SEC EDGAR's official public data: filings by ticker or CIK, the latest filings of any form, Form D private funding rounds with offering amounts, full-text search and XBRL key financials. No API key. Monitor mode returns only new filings.",
    "version": "0.1",
    "x-build-id": "3c3TjpgJfBb9ddmGf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yourevenings~sec-edgar-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yourevenings-sec-edgar-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/yourevenings~sec-edgar-filings/runs": {
      "post": {
        "operationId": "runs-sync-yourevenings-sec-edgar-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/yourevenings~sec-edgar-filings/run-sync": {
      "post": {
        "operationId": "run-sync-yourevenings-sec-edgar-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "companyFilings",
              "latestFilings",
              "formD",
              "fullTextSearch",
              "financials"
            ],
            "type": "string",
            "description": "<b>Filings by company</b>: filings of the companies you list. <b>Latest filings</b>: every filing of the chosen form types from the SEC daily indexes. <b>Form D</b>: new private offerings with amount raised, industry and state. <b>Full-text search</b>: filings whose text matches your query. <b>Key financials</b>: latest annual and quarterly revenue, income, cash flow and balance sheet figures.",
            "default": "companyFilings"
          },
          "companies": {
            "title": "Companies (tickers or CIKs)",
            "type": "array",
            "description": "For <b>Filings by company</b> and <b>Key financials</b>. Tickers as listed by the SEC (<code>AAPL</code>, <code>BRK-B</code> or <code>BRK.B</code>) or CIK numbers (<code>320193</code>). Up to 200 per run.",
            "items": {
              "type": "string"
            }
          },
          "formTypes": {
            "title": "Form types",
            "type": "array",
            "description": "Only return these forms, for example <code>8-K</code>, <code>10-K</code>, <code>10-Q</code>, <code>S-1</code>, <code>424B4</code>, <code>DEF 14A</code>, <code>6-K</code>, <code>20-F</code>. Leave empty for all forms. Not used by Form D mode (always Form D) or Key financials.",
            "items": {
              "type": "string"
            }
          },
          "includeAmendments": {
            "title": "Include amendments (/A)",
            "type": "boolean",
            "description": "Also return amendments of the chosen forms, for example 8-K/A for 8-K and D/A for Form D.",
            "default": true
          },
          "filedWithinDays": {
            "title": "Filed within the last N days",
            "minimum": 0,
            "maximum": 7300,
            "type": "integer",
            "description": "Date window when 'Filed since' is empty. The SEC publishes each day's index in the evening (US Eastern time) and none at weekends or on federal holidays, so Latest filings and Form D runs cover up to the last published day.",
            "default": 30
          },
          "filedSince": {
            "title": "Filed since (YYYY-MM-DD)",
            "pattern": "^$|^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Optional start date. Overrides 'Filed within the last N days'."
          },
          "filedUntil": {
            "title": "Filed until (YYYY-MM-DD)",
            "pattern": "^$|^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Optional end date. Defaults to today."
          },
          "companyNameKeywords": {
            "title": "Company name contains (any of)",
            "type": "array",
            "description": "Latest filings and Form D: keep only companies whose name contains any of these whole words, for example <code>therapeutics</code> or <code>bio</code>.",
            "items": {
              "type": "string"
            }
          },
          "industryGroups": {
            "title": "Form D: industry groups",
            "type": "array",
            "description": "Keep offerings in any of these Form D industry groups, for example <code>Biotechnology</code>, <code>Other Technology</code>, <code>Computers</code>, <code>Commercial</code>, <code>Other Health Care</code>, <code>Residential</code>, <code>Oil and Gas</code>. Case-insensitive; partial words match (<code>health</code>).",
            "items": {
              "type": "string"
            }
          },
          "issuerStates": {
            "title": "Form D: issuer states",
            "type": "array",
            "description": "Two-letter codes of the issuer's principal place of business, for example <code>CA</code>, <code>NY</code>, <code>TX</code>.",
            "items": {
              "type": "string"
            }
          },
          "minOfferingUsd": {
            "title": "Form D: minimum offering size (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep offerings whose total offering amount, or amount sold so far, is at least this. Offerings marked 'Indefinite' are kept only when this is 0.",
            "default": 0
          },
          "securityTypes": {
            "title": "Form D: securities offered",
            "type": "array",
            "description": "Keep offerings of any of these: <code>equity</code>, <code>debt</code>, <code>option_warrant_right</code>, <code>security_to_be_acquired</code>, <code>pooled_investment_fund</code>, <code>tenant_in_common</code>, <code>mineral_property</code>, <code>other</code>.",
            "items": {
              "type": "string"
            }
          },
          "excludePooledFunds": {
            "title": "Form D: exclude pooled investment funds",
            "type": "boolean",
            "description": "Skip hedge, private equity, venture capital and other pooled funds, leaving operating companies. Turn off to include fund raises.",
            "default": true
          },
          "fullTextQuery": {
            "title": "Full-text search query",
            "type": "string",
            "description": "Words or a \"quoted phrase\" to find in filing documents, for example <code>\"going concern\"</code> or <code>\"cybersecurity incident\"</code>. Combine with Form types and the date window. One row per filing, with up to 10 matching documents."
          },
          "maxResults": {
            "title": "Maximum rows",
            "minimum": 0,
            "type": "integer",
            "description": "Most rows to return in this run (newest first across all companies). 0 means no limit. In monitor mode it counts new rows only. Free status rows don't count.",
            "default": 10
          },
          "monitorMode": {
            "title": "Monitor mode (only new filings)",
            "type": "boolean",
            "description": "Remember what was returned and only return filings not seen in earlier runs. Schedule the Actor daily. A $0.01 alert event is charged once on runs that return at least one new row; runs with nothing new don't pay it. For Key financials, a row is new when a newer annual or quarterly report is filed.",
            "default": false
          },
          "emitBaselineOnFirstRun": {
            "title": "Return matches on the first monitor run",
            "type": "boolean",
            "description": "On: the first monitor run returns current matches (up to Maximum rows). Off: it only remembers them silently (no charge) and later runs return what's new.",
            "default": true
          },
          "stateStoreName": {
            "title": "Monitor state store name",
            "type": "string",
            "description": "Named key-value store that keeps what monitor mode has already returned. Use a different name for each separate monitor (saved task).",
            "default": "sec-edgar-filings-state"
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Timeout for each request to SEC servers. Requests are paced to at most 5 per second, below the SEC's 10 per second fair-access limit; this can't be raised.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}