{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC 8-K Event Alerts API - $0.10/1K Events | Johto Data",
    "description": "SEC 8-K material event alerts: exec changes (5.02), M&A and agreements (1.01/2.01), bankruptcy, auditor changes, impairments, cyber incidents. Readable titles, categories, optional excerpt. Watchlists by ticker/CIK. $0.10 per 1,000 events.",
    "version": "0.1",
    "x-build-id": "gV3EaWV2bvZMUfG7V"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/johto.data~sec-8k-events-alerts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-johto.data-sec-8k-events-alerts",
        "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/johto.data~sec-8k-events-alerts/runs": {
      "post": {
        "operationId": "runs-sync-johto.data-sec-8k-events-alerts",
        "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/johto.data~sec-8k-events-alerts/run-sync": {
      "post": {
        "operationId": "run-sync-johto.data-sec-8k-events-alerts",
        "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": {
          "ticker": {
            "title": "Ticker (x402 style)",
            "type": "string",
            "description": "One US ticker, e.g. AAPL. Returns that company's latest 8-K filings (all items, last 365 days), same as the x402 /v1/sec-8k route. Use when: you want one company's recent 8-Ks. Don't use when: you want a market-wide event feed (leave empty and use eventCategories)."
          },
          "cik": {
            "title": "CIK (x402 style)",
            "type": "string",
            "description": "One SEC CIK, e.g. 320193. Same as ticker, by CIK. Use when: the company has no ticker."
          },
          "limit": {
            "title": "Limit (x402 style)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Max filings when ticker or cik is set (default 10). Alias of maxResults."
          },
          "since": {
            "title": "Since (x402 style)",
            "type": "string",
            "description": "YYYY-MM-DD. Only filings filed on or after this date. Alias of dateFrom."
          },
          "eventCategories": {
            "title": "Event categories",
            "type": "array",
            "description": "executive_change, mergers_acquisitions, material_agreement, bankruptcy, cybersecurity, earnings, financing_debt, equity_issuance, restructuring_layoffs, impairment, delisting, auditor_change, restatement, change_in_control, governance_bylaws, shareholder_vote, shell_status, reg_fd, other_events. Use when: you watch a type of event (e.g. executive_change, bankruptcy) across all companies.",
            "items": {
              "type": "string"
            }
          },
          "itemCodes": {
            "title": "8-K item codes",
            "type": "array",
            "description": "Exact items, e.g. 5.02, 1.01, 2.01, 1.03, 4.01, 2.05, 2.06, 1.05. Combined with categories (OR). Empty + no categories = all material items (no routine 2.02/7.01/8.01/9.01-only). Use when: you know the exact 8-K item numbers.",
            "items": {
              "type": "string"
            }
          },
          "excludeRoutine": {
            "title": "Default to material items",
            "type": "boolean",
            "description": "If no items/categories given, return only material event items. Turn off to get every 8-K.",
            "default": true
          },
          "tickers": {
            "title": "Tickers",
            "type": "array",
            "description": "Watchlist by ticker. Use when: you monitor a watchlist of companies.",
            "items": {
              "type": "string"
            }
          },
          "ciks": {
            "title": "CIKs",
            "type": "array",
            "description": "Watchlist by CIK.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "Business states",
            "type": "array",
            "description": "Two-letter HQ states.",
            "items": {
              "type": "string"
            }
          },
          "searchKeyword": {
            "title": "Full-text keyword",
            "type": "string",
            "description": "EDGAR full-text phrase, e.g. \"chief executive officer\" or \"going concern\". Use when: you need filings that mention a phrase."
          },
          "dateFrom": {
            "title": "Filed from",
            "type": "string",
            "description": "YYYY-MM-DD. Default: daysBack days ago."
          },
          "dateTo": {
            "title": "Filed to",
            "type": "string",
            "description": "YYYY-MM-DD. Default: today."
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Used when dateFrom is empty. Default 2 days; 365 when you pass ticker or cik."
          },
          "includeExcerpt": {
            "title": "Include excerpt",
            "type": "boolean",
            "description": "Fetch the 8-K and attach a short excerpt per item (extra $0.0001/event). Alias: includeFullText. Use when: your agent needs the item text. Don't use when: you only need the event list (cheaper and faster).",
            "default": false
          },
          "excerptChars": {
            "title": "Excerpt length",
            "minimum": 100,
            "maximum": 3000,
            "type": "integer",
            "description": "Max characters per item excerpt.",
            "default": 600
          },
          "includeAmendments": {
            "title": "Include 8-K/A",
            "type": "boolean",
            "description": "Include amended 8-Ks.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new since last run",
            "type": "boolean",
            "description": "Remembers accession numbers per monitorId for scheduled alerts. Use when: you run this on a schedule and want only filings you haven't seen.",
            "default": false
          },
          "monitorId": {
            "title": "Monitor ID",
            "type": "string",
            "description": "Separate onlyNew memory per watchlist."
          },
          "maxResults": {
            "title": "Max events",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on rows (and charges). Aliases: filingsLimit, maxItems. Use it to cap spend: each filing row is one $0.0001 event.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}