{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC 8-K Filings by Ticker with Item Codes",
    "description": "Current-report 8-K filings for any US ticker with parsed item codes and titles, exhibit list, direct EDGAR links, and optional plain-text extraction of the filing body.",
    "version": "0.1",
    "x-build-id": "mgZGEviMl98D20aaz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/codecraftco~sec-8k-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-codecraftco-sec-8k-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/codecraftco~sec-8k-filings/runs": {
      "post": {
        "operationId": "runs-sync-codecraftco-sec-8k-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/codecraftco~sec-8k-filings/run-sync": {
      "post": {
        "operationId": "run-sync-codecraftco-sec-8k-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": [
          "tickers"
        ],
        "properties": {
          "tickers": {
            "title": "Tickers",
            "minItems": 1,
            "uniqueItems": true,
            "type": "array",
            "description": "Stock tickers, e.g. AAPL, MSFT. Each is looked up in the SEC's ticker file, which the SEC updates periodically but does not guarantee.",
            "items": {
              "type": "string"
            }
          },
          "items": {
            "title": "Item codes",
            "uniqueItems": true,
            "type": "array",
            "description": "Only filings that declare at least one of these Form 8-K items; empty for all. Filings made before 2004-08-23 used the earlier item numbering, which these codes do not match.",
            "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 Obligation under an Off-Balance Sheet Arrangement of a Registrant",
                "2.04 - Triggering Events That Accelerate or Increase a Direct Financial Obligation or an Obligation under an Off-Balance Sheet Arrangement",
                "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 or Standard; Transfer of Listing",
                "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 or a Related Audit Report or Completed Interim Review",
                "5.01 - Changes in Control of Registrant",
                "5.02 - Departure of Directors or Certain Officers; Election of Directors; Appointment of Certain Officers; Compensatory Arrangements of Certain Officers",
                "5.03 - Amendments to Articles of Incorporation or Bylaws; Change in Fiscal Year",
                "5.04 - Temporary Suspension of Trading Under Registrant's Employee Benefit Plans",
                "5.05 - Amendments to the Registrant's Code of Ethics, or Waiver of a Provision of the Code of Ethics",
                "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"
              ]
            }
          },
          "startDate": {
            "title": "Start date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only filings with a filing date on or after this date (YYYY-MM-DD). With no dates and no count, the last 30 days."
          },
          "endDate": {
            "title": "End date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only filings with a filing date on or before this date (YYYY-MM-DD). Leave empty for no upper bound."
          },
          "maxFilingsPerTicker": {
            "title": "Max filings per ticker",
            "minimum": 1,
            "type": "integer",
            "description": "Keep only the newest this many matching filings per ticker. With no dates, it replaces the 30-day default."
          },
          "includeText": {
            "title": "Include filing text",
            "type": "boolean",
            "description": "Read each filing's full submission text and add the plain text of its 8-K document and the list of its exhibits. Charged per filing whose text is delivered.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}