{
  "openapi": "3.0.1",
  "info": {
    "title": "8-K Filings Scraper: Company Buying Signals",
    "description": "Returns recent Form 8-K filings as company buying signals: new agreements, acquisitions, officer or director changes, bankruptcies, results and more, with plain-English event labels, ticker, CIK, industry, state and filing link. Daily mode returns only new filings.",
    "version": "1.0",
    "x-build-id": "HHIkbs7Bi0FDveFlE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/agents001~form-8k-company-events/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-agents001-form-8k-company-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/agents001~form-8k-company-events/runs": {
      "post": {
        "operationId": "runs-sync-agents001-form-8k-company-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/agents001~form-8k-company-events/run-sync": {
      "post": {
        "operationId": "run-sync-agents001-form-8k-company-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": {
          "daysBack": {
            "title": "Days back",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Return filings from today back this many calendar days (US Eastern time). The default of 3 means a Monday run still covers Friday. Ignored when Start date is set.",
            "default": 3
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "First filing date to include, YYYY-MM-DD. Overrides Days back."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Last filing date to include, YYYY-MM-DD. Defaults to today."
          },
          "itemCodes": {
            "title": "Event types (8-K items)",
            "type": "array",
            "description": "Only filings that report at least one of these items. Leave empty for all. Good sales triggers: 1.01 major agreement, 2.01 acquisition completed, 5.02 officer or director change, 1.03 bankruptcy, 2.05 restructuring.",
            "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 Signed a major agreement",
                "1.02 Ended a major agreement",
                "1.03 Bankruptcy or receivership",
                "1.04 Mine safety violation or shutdown",
                "1.05 Cybersecurity incident",
                "2.01 Completed an acquisition or sale of assets",
                "2.02 Reported financial results",
                "2.03 Took on new debt or a financing obligation",
                "2.04 Debt repayment triggered or accelerated",
                "2.05 Restructuring, exit or layoff costs",
                "2.06 Wrote down the value of assets",
                "3.01 Delisting notice or listing rule problem",
                "3.02 Sold shares privately (unregistered sale)",
                "3.03 Changed shareholder rights",
                "4.01 Changed auditor",
                "4.02 Earlier financial statements can no longer be relied on",
                "5.01 Change in control of the company",
                "5.02 Officer or director change",
                "5.03 Changed articles, bylaws or fiscal year",
                "5.04 Temporary trading blackout in employee benefit plans",
                "5.05 Changed or waived the code of ethics",
                "5.06 Change in shell company status",
                "5.07 Shareholder vote results",
                "5.08 Shareholder director nominations",
                "6.01 Asset-backed securities information",
                "6.02 Changed servicer or trustee",
                "6.03 Changed credit enhancement",
                "6.04 Missed a required distribution",
                "6.05 Securities Act updating disclosure",
                "6.06 Static pool information",
                "7.01 Investor communication (Regulation FD)",
                "8.01 Other material event",
                "9.01 Financial statements and exhibits"
              ]
            }
          },
          "excludeItemCodes": {
            "title": "Skip filings that only report",
            "type": "array",
            "description": "Skip filings whose only events are these items, for example 2.02 results or 7.01 investor communication. Item 9.01 (exhibits) is ignored here because it comes with most filings. A filing that also reports another item is kept.",
            "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 Signed a major agreement",
                "1.02 Ended a major agreement",
                "1.03 Bankruptcy or receivership",
                "1.04 Mine safety violation or shutdown",
                "1.05 Cybersecurity incident",
                "2.01 Completed an acquisition or sale of assets",
                "2.02 Reported financial results",
                "2.03 Took on new debt or a financing obligation",
                "2.04 Debt repayment triggered or accelerated",
                "2.05 Restructuring, exit or layoff costs",
                "2.06 Wrote down the value of assets",
                "3.01 Delisting notice or listing rule problem",
                "3.02 Sold shares privately (unregistered sale)",
                "3.03 Changed shareholder rights",
                "4.01 Changed auditor",
                "4.02 Earlier financial statements can no longer be relied on",
                "5.01 Change in control of the company",
                "5.02 Officer or director change",
                "5.03 Changed articles, bylaws or fiscal year",
                "5.04 Temporary trading blackout in employee benefit plans",
                "5.05 Changed or waived the code of ethics",
                "5.06 Change in shell company status",
                "5.07 Shareholder vote results",
                "5.08 Shareholder director nominations",
                "6.01 Asset-backed securities information",
                "6.02 Changed servicer or trustee",
                "6.03 Changed credit enhancement",
                "6.04 Missed a required distribution",
                "6.05 Securities Act updating disclosure",
                "6.06 Static pool information",
                "7.01 Investor communication (Regulation FD)",
                "8.01 Other material event",
                "9.01 Financial statements and exhibits"
              ]
            }
          },
          "sicCodes": {
            "title": "Industry (SIC codes)",
            "type": "array",
            "description": "Only companies whose SIC code starts with any of these, for example 7372 (prepackaged software), 73 (business services) or 28 (chemicals and pharma). Leave empty for all industries.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "Business address state",
            "type": "array",
            "description": "Only companies whose business address is in these US states (two-letter codes such as CA, NY, TX) or EDGAR country codes.",
            "items": {
              "type": "string"
            }
          },
          "incorporationStates": {
            "title": "State of incorporation",
            "type": "array",
            "description": "Only companies incorporated in these states or countries, for example DE for Delaware or E9 for the Cayman Islands.",
            "items": {
              "type": "string"
            }
          },
          "companies": {
            "title": "Companies (tickers or CIKs)",
            "type": "array",
            "description": "Only these companies. Use stock tickers (AAPL, BRK.B) or CIK numbers (320193). Leave empty for all companies.",
            "items": {
              "type": "string"
            }
          },
          "includeAmendments": {
            "title": "Include amended filings (8-K/A)",
            "type": "boolean",
            "description": "Also return amendments to earlier 8-K filings. Off by default because an amendment usually repeats an event already reported.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many filings are saved. 0 means no limit. You pay per filing saved.",
            "default": 200
          },
          "onlyNew": {
            "title": "Only filings not seen in previous runs",
            "type": "boolean",
            "description": "Remember which filings were already returned for these filters and only return new ones. Ideal for a daily schedule. The date window and Maximum records are not part of the memory, so a rolling window keeps the same history. Changing the filters starts a fresh history.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "pattern": "^[a-zA-Z0-9-]{1,63}$",
            "type": "string",
            "description": "Name of the key-value store in your account that remembers filings already returned (only used with onlyNew). Each different set of filters gets its own record inside it. If a run reports that it cannot open the store, enter a different name here.",
            "default": "agents001-sec-8k-company-events-state"
          },
          "userAgent": {
            "title": "User-Agent sent to SEC",
            "type": "string",
            "description": "SEC asks automated tools to identify themselves, ideally with a company name and contact email, for example \"Acme Sales Ops ops@acme.com\". Leave empty to use the Actor's own identification."
          },
          "maxRequestsPerSecond": {
            "title": "Maximum requests per second",
            "minimum": 0.5,
            "maximum": 8,
            "type": "number",
            "description": "Requests to SEC per second. SEC allows at most 10 per user; this Actor never goes above 8.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}