{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC 8-K Scraper: Material Events (Earnings, M&A, Exec Changes)",
    "description": "Every SEC 8-K current report from EDGAR as a daily feed or per ticker, coded by item: earnings (2.02), executive changes (5.02), material agreements (1.01), M&A, cybersecurity incidents (1.05). Optional item text and exhibit links. $3 per 1,000 filings.",
    "version": "0.1",
    "x-build-id": "1WhXIJC8t8uQdnWfK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cprussin~sec-8k-material-events/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cprussin-sec-8k-material-events",
        "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/cprussin~sec-8k-material-events/runs": {
      "post": {
        "operationId": "runs-sync-cprussin-sec-8k-material-events",
        "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/cprussin~sec-8k-material-events/run-sync": {
      "post": {
        "operationId": "run-sync-cprussin-sec-8k-material-events",
        "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": {
          "tickers": {
            "title": "Tickers or CIKs",
            "type": "array",
            "description": "Only 8-Ks filed by these companies (stock tickers such as AAPL or numeric SEC CIKs). Leave empty for the daily feed of every 8-K filed.",
            "items": {
              "type": "string"
            }
          },
          "items": {
            "title": "8-K items",
            "type": "array",
            "description": "Only filings that report at least one of these items, e.g. 2.02 (earnings), 5.02 (executive changes), 1.01 (material agreements), 1.05 (cybersecurity incidents). Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "1.01",
                "1.02",
                "1.03",
                "1.04",
                "1.05",
                "2.01",
                "2.02",
                "2.03",
                "2.04",
                "2.05",
                "2.06",
                "3.01",
                "3.02",
                "3.03",
                "4.01",
                "4.02",
                "5.01",
                "5.02",
                "5.03",
                "5.04",
                "5.05",
                "5.06",
                "5.07",
                "5.08",
                "6.01",
                "6.02",
                "6.03",
                "6.04",
                "6.05",
                "6.06",
                "7.01",
                "8.01",
                "9.01"
              ],
              "enumTitles": [
                "1.01 Entry into a Material Definitive Agreement",
                "1.02 Termination of a Material Definitive Agreement",
                "1.03 Bankruptcy or Receivership",
                "1.04 Mine Safety: Reporting of Shutdowns and Patterns of Violations",
                "1.05 Material Cybersecurity Incidents",
                "2.01 Completion of Acquisition or Disposition of Assets",
                "2.02 Results of Operations and Financial Condition",
                "2.03 Creation of a Direct Financial Obligation or an Off-Balance Sheet Arrangement",
                "2.04 Triggering Events That Accelerate or Increase a Direct Financial Obligation",
                "2.05 Costs Associated with Exit or Disposal Activities",
                "2.06 Material Impairments",
                "3.01 Notice of Delisting or Failure to Satisfy a Continued Listing Rule",
                "3.02 Unregistered Sales of Equity Securities",
                "3.03 Material Modification to Rights of Security Holders",
                "4.01 Changes in Registrant's Certifying Accountant",
                "4.02 Non-Reliance on Previously Issued Financial Statements",
                "5.01 Changes in Control of Registrant",
                "5.02 Departure or Election of Directors or Officers; Compensatory Arrangements",
                "5.03 Amendments to Articles of Incorporation or Bylaws; Change in Fiscal Year",
                "5.04 Temporary Suspension of Trading Under Employee Benefit Plans",
                "5.05 Amendments to the Code of Ethics, or Waiver of a Provision",
                "5.06 Change in Shell Company Status",
                "5.07 Submission of Matters to a Vote of Security Holders",
                "5.08 Shareholder Director Nominations",
                "6.01 ABS Informational and Computational Material",
                "6.02 Change of Servicer or Trustee",
                "6.03 Change in Credit Enhancement or Other External Support",
                "6.04 Failure to Make a Required Distribution",
                "6.05 Securities Act Updating Disclosure",
                "6.06 Static Pool",
                "7.01 Regulation FD Disclosure",
                "8.01 Other Events",
                "9.01 Financial Statements and Exhibits"
              ]
            }
          },
          "lastNDays": {
            "title": "Filed in the last N days",
            "minimum": 1,
            "maximum": 3660,
            "type": "integer",
            "description": "Filings from the last N calendar days, including today (UTC). Ignored when a start date is set.",
            "default": 3
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "Filed on or after this date (YYYY-MM-DD). Overrides 'last N days'."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Filed on or before this date (YYYY-MM-DD). Defaults to today."
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Only companies with a business address in these states (two-letter codes such as CA, NY). Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "includeAmendments": {
            "title": "Include amendments (8-K/A)",
            "type": "boolean",
            "description": "Also return 8-K/A amendments.",
            "default": true
          },
          "includeDetails": {
            "title": "Include text and exhibits",
            "type": "boolean",
            "description": "Download each filing's main document and add the item text (up to 20,000 characters) and links to exhibits such as press releases (EX-99.1). Slower: one extra request per filing.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of filings to return. Each filing is billed as one event.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only new filings (delta mode)",
            "type": "boolean",
            "description": "Skip filings already returned by earlier runs with the same filters (dates excluded). Ideal for scheduled daily runs.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}