{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC 8-K, Form 4 Insider & 13D/13G Monitor (EDGAR Official)",
    "description": "Daily feed of SEC 8-K events (decoded item codes, high-impact tags), Form 4 insider trades (open-market buys/sells in $, 10b5-1 flag, cluster buying) and 13D/13G stakes (% owned, activist flag). Ticker, SIC, exchange and filing-velocity enrichment. Only-new mode.",
    "version": "0.1",
    "x-build-id": "rzonBI3D6zMhcgAaT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/knobby_woodworker_aig~sec-edgar-8k-form4-13d-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-knobby_woodworker_aig-sec-edgar-8k-form4-13d-monitor",
        "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/knobby_woodworker_aig~sec-edgar-8k-form4-13d-monitor/runs": {
      "post": {
        "operationId": "runs-sync-knobby_woodworker_aig-sec-edgar-8k-form4-13d-monitor",
        "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/knobby_woodworker_aig~sec-edgar-8k-form4-13d-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-knobby_woodworker_aig-sec-edgar-8k-form4-13d-monitor",
        "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": {
          "forms": {
            "title": "Filing types",
            "type": "array",
            "description": "Which EDGAR filings to collect. Leave all selected for a complete daily event feed.",
            "items": {
              "type": "string",
              "enum": [
                "8-K",
                "4",
                "13D",
                "13G"
              ],
              "enumTitles": [
                "8-K current reports",
                "Form 4 insider transactions",
                "Schedule 13D (activist stakes)",
                "Schedule 13G (passive stakes)"
              ]
            },
            "default": [
              "8-K",
              "4",
              "13D",
              "13G"
            ]
          },
          "startDate": {
            "title": "Start date (filed)",
            "type": "string",
            "description": "YYYY-MM-DD. Leave both dates empty to get the latest EDGAR business day. Max 31-day window per run."
          },
          "endDate": {
            "title": "End date (filed)",
            "type": "string",
            "description": "YYYY-MM-DD (inclusive)."
          },
          "tickers": {
            "title": "Only these tickers",
            "type": "array",
            "description": "Optional watchlist, e.g. AAPL, TSLA. Resolved to SEC CIKs automatically (matches issuer for 8-K/Form 4 and subject company for 13D/G).",
            "items": {
              "type": "string"
            }
          },
          "ciks": {
            "title": "Only these CIKs",
            "type": "array",
            "description": "Optional list of issuer CIK numbers.",
            "items": {
              "type": "string"
            }
          },
          "items8k": {
            "title": "8-K item codes",
            "type": "array",
            "description": "Only keep 8-Ks containing any of these items, e.g. 1.01, 2.02, 5.02, 1.03.",
            "items": {
              "type": "string"
            }
          },
          "highImpactOnly": {
            "title": "8-K: high-impact only",
            "type": "boolean",
            "description": "Keep only 8-Ks with material events (M&A, bankruptcy, delisting, auditor change, non-reliance/restatement, exec departures, impairments, cybersecurity incidents, change of control).",
            "default": false
          },
          "form4OpenMarketOnly": {
            "title": "Form 4: open-market trades only",
            "type": "boolean",
            "description": "Keep only Form 4s with an open-market purchase (P) or sale (S) — drops grants, option exercises and tax withholding noise.",
            "default": false
          },
          "form4MinValueUsd": {
            "title": "Form 4: minimum $ value",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only Form 4s where open-market buys + sells are at least this many USD.",
            "default": 0
          },
          "form4Roles": {
            "title": "Form 4: insider roles",
            "type": "array",
            "description": "Optional, matched case-insensitively against the role text: director, officer, chief executive, chief financial, ceo, president, 10%. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "min13Percent": {
            "title": "13D/G: minimum % of class",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only 13D/13G filings reporting at least this % ownership.",
            "default": 0
          },
          "includeAmendments": {
            "title": "Include amendments",
            "type": "boolean",
            "description": "Include 8-K/A, 4/A, 13D/A, 13G/A.",
            "default": true
          },
          "includeTransactions": {
            "title": "Form 4: include transaction lines",
            "type": "boolean",
            "description": "Attach each individual Form 4 transaction (code, shares, price, date). Turn off for a compact table.",
            "default": true
          },
          "enrichCompany": {
            "title": "Enrich with company data",
            "type": "boolean",
            "description": "Add ticker, exchange, SIC industry, state of incorporation, filer category and filing velocity (8-Ks last 90d, Form 4s last 30d, 13D/G last 90d) from SEC's submissions API.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new filings (delta mode)",
            "type": "boolean",
            "description": "Remember accession numbers between runs and output only filings not seen before. Ideal for a scheduled daily run.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Named key-value store used by delta mode. Use different names for different watchlists.",
            "default": "sec-edgar-events-state"
          },
          "maxItems": {
            "title": "Max filings",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop after this many output rows (a full EDGAR day is ~900 filings across all four types).",
            "default": 100
          },
          "contactEmail": {
            "title": "Contact email for SEC User-Agent",
            "type": "string",
            "description": "SEC asks automated tools to identify themselves. Optional — a default contact is used if empty."
          },
          "maxRequestsPerSecond": {
            "title": "Max requests/second",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "Stays under SEC's 10 req/s fair-access limit.",
            "default": 6
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}