{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Intel - 8-K Triggers, Form 4 Patterns, Form D Funding",
    "description": "SEC filings intelligence. 8-K trigger classifier (M&A/exec-change/going-concern/etc), Form 4 insider patterns (cluster buys, unusual size), 13F position tracker, Form D startup raises, earnings transcript extraction. For hedge funds, fintech, due diligence, journalists.",
    "version": "0.1",
    "x-build-id": "6OvaIj8BFOOz1Ywtc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/seibs.co~sec-edgar-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-seibs.co-sec-edgar-intel",
        "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/seibs.co~sec-edgar-intel/runs": {
      "post": {
        "operationId": "runs-sync-seibs.co-sec-edgar-intel",
        "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/seibs.co~sec-edgar-intel/run-sync": {
      "post": {
        "operationId": "run-sync-seibs.co-sec-edgar-intel",
        "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",
          "user_agent_contact"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "company_filings",
              "recent_8k",
              "form_4_insider",
              "form_d_funding",
              "13f_positions",
              "full_text_search"
            ],
            "type": "string",
            "description": "company_filings = all filings for given tickers/CIKs. recent_8k = most recent 8-K filings with trigger classification. form_4_insider = insider trades with cluster/unusual-size flags. form_d_funding = startup raise tracker. 13f_positions = institutional holdings + position changes. full_text_search = keyword search across EDGAR full-text index.",
            "default": "company_filings"
          },
          "tickers": {
            "title": "Tickers or CIK numbers",
            "type": "array",
            "description": "Stock tickers (e.g. 'AAPL') or 10-digit CIK numbers (e.g. '0000320193'). Auto-detected per item. Used for company_filings, recent_8k, form_4_insider, 13f_positions modes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "company_names": {
            "title": "Company names",
            "type": "array",
            "description": "Free-text company names to resolve to CIKs (e.g. 'Berkshire Hathaway'). Used as alternative to tickers in company_filings mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "form_types": {
            "title": "Form types filter",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to specific filing forms. Leave empty for all. Common: 10-K (annual), 10-Q (quarterly), 8-K (material event), S-1 (IPO), 13F (institutional holdings), Form 4 (insider trade), Form D (private placement), DEF 14A (proxy), S-4 (M&A).",
            "items": {
              "type": "string",
              "enum": [
                "10-K",
                "10-Q",
                "8-K",
                "S-1",
                "13F-HR",
                "13G",
                "13D",
                "4",
                "D",
                "DEF 14A",
                "S-4"
              ]
            },
            "default": []
          },
          "date_from": {
            "title": "Date from (YYYY-MM-DD)",
            "type": "string",
            "description": "Lower bound on filing date (inclusive). Format YYYY-MM-DD. Leave blank for no lower bound.",
            "default": ""
          },
          "date_to": {
            "title": "Date to (YYYY-MM-DD)",
            "type": "string",
            "description": "Upper bound on filing date (inclusive). Format YYYY-MM-DD. Leave blank for today.",
            "default": ""
          },
          "keywords": {
            "title": "Keywords (full-text search)",
            "type": "array",
            "description": "Search terms for full_text_search mode. EDGAR full-text index covers filings since 2001. Quote phrases with double quotes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "include_8k_trigger_classification": {
            "title": "Classify 8-K material event triggers",
            "type": "boolean",
            "description": "Detect M&A, executive change, going-concern, impairment, class-action, restatement, dividend change, debt issuance, customer loss from 8-K Item codes + text. Adds intelligence_enrichment PPE charge per detection.",
            "default": true
          },
          "include_form4_pattern_flags": {
            "title": "Flag Form 4 insider patterns",
            "type": "boolean",
            "description": "Detect cluster buys (3+ insiders same week), unusual size (>2x median for insider), C-suite-only buying, sales after 10b5-1 plan terminations. Adds intelligence_enrichment PPE charge per detection.",
            "default": true
          },
          "include_full_text": {
            "title": "Include raw filing text in output",
            "type": "boolean",
            "description": "Embed the full filing text in each record. Output records grow large (often 1-10 MB). Adds full_text_charge PPE per filing.",
            "default": false
          },
          "max_results_per_query": {
            "title": "Max results per query/ticker",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on filings returned per ticker/CIK or per keyword query. Default 100.",
            "default": 100
          },
          "user_agent_contact": {
            "title": "User-Agent contact string (REQUIRED by SEC)",
            "type": "string",
            "description": "SEC fair-access policy REQUIRES every request include a User-Agent identifying your project + a contact email. Format: 'AppName your@email.com'. Misidentification will get the actor IP-banned by SEC.",
            "default": "research-bot research@example.com"
          },
          "use_apify_proxy": {
            "title": "Use Apify Proxy",
            "type": "boolean",
            "description": "Route SEC EDGAR requests through Apify Proxy. DATACENTER is sufficient — SEC does not block datacenter IPs as long as User-Agent is honest.",
            "default": true
          },
          "apify_proxy_groups": {
            "title": "Proxy groups",
            "type": "array",
            "description": "Apify Proxy groups. DATACENTER is fine for SEC.",
            "default": [
              "DATACENTER"
            ],
            "items": {
              "type": "string"
            }
          },
          "concurrency": {
            "title": "Max concurrent requests",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Parallel SEC requests. SEC rate-limits to 10 req/sec; we cap at 8 to stay safe under burst.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}