{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Filings Scraper: 10-K, 10-Q, 8-K & Form 4",
    "description": "Get SEC EDGAR filings by ticker, CIK or company name in one clean table: form type, filing and report dates, accession number, 8-K items, document links and XBRL flags. Filter by form (10-K, 10-Q, 8-K, Form 4) and date, pull the latest filings, or monitor for new ones. Official SEC data, no API key.",
    "version": "1.0",
    "x-build-id": "TVqXsjWcPfMzjQOr1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wellbuilt_seahare~sec-edgar-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wellbuilt_seahare-sec-edgar-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/wellbuilt_seahare~sec-edgar-filings/runs": {
      "post": {
        "operationId": "runs-sync-wellbuilt_seahare-sec-edgar-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/wellbuilt_seahare~sec-edgar-filings/run-sync": {
      "post": {
        "operationId": "run-sync-wellbuilt_seahare-sec-edgar-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",
        "properties": {
          "companies": {
            "title": "Companies (ticker, CIK or name)",
            "type": "array",
            "description": "One company per line: a stock ticker (AAPL, BRK-B), an SEC CIK number (320193 or 0000320193) or a company name (Berkshire Hathaway). Names are matched against the SEC's company list; the best match is used and shown in the run summary. Ignored when Latest filings mode is on or a full-text search is set.",
            "default": [
              "AAPL",
              "TSLA",
              "NVDA"
            ],
            "items": {
              "type": "string"
            }
          },
          "formTypes": {
            "title": "Form types",
            "type": "array",
            "description": "Only output these SEC form types, e.g. 10-K, 10-Q, 8-K, 4, S-1, D, 13F-HR, DEF 14A, SC 13G. Case-insensitive. Leave empty for all form types.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeAmendments": {
            "title": "Include amendments (/A)",
            "type": "boolean",
            "description": "Also output amended versions of the chosen form types (for example 10-K/A when you picked 10-K). Turn off to drop all /A amendment filings.",
            "default": true
          },
          "filedWithinDays": {
            "title": "Filed within last N days",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Only output filings filed in the last N days (0 = any date). Ignored when Filed on or after is set.",
            "default": 30
          },
          "filedAfter": {
            "title": "Filed on or after (YYYY-MM-DD)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Only output filings with a filing date on or after this date, e.g. 2025-01-01. Overrides Filed within last N days."
          },
          "filedBefore": {
            "title": "Filed on or before (YYYY-MM-DD)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Only output filings with a filing date on or before this date, e.g. 2025-12-31. Leave empty for up to today."
          },
          "latestFilingsMode": {
            "title": "Latest filings mode (all companies)",
            "type": "boolean",
            "description": "Ignore the company list and return the latest filings across all SEC filers from EDGAR's daily index, newest business day first. Combine with Form types (e.g. 8-K) for a market-wide feed. The daily index is published each evening, so today's filings appear after the SEC posts it.",
            "default": false
          },
          "latestMaxDays": {
            "title": "Latest filings mode: business days to read",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many of the most recent EDGAR daily index files (one per business day) to read in Latest filings mode before stopping. Date filters still apply.",
            "default": 3
          },
          "fullTextQuery": {
            "title": "Full-text search query (optional)",
            "type": "string",
            "description": "Optional: search the text of filings with SEC EDGAR full-text search (filings since 2001), e.g. \"share repurchase\" or \"material weakness\". Use quotes for exact phrases. Form type and date filters apply. When set, the company list is ignored."
          },
          "enrichFilings": {
            "title": "Add company details in latest / full-text mode",
            "type": "boolean",
            "description": "In Latest filings and full-text mode, look up each filer's SEC profile to add tickers, exchange, SIC, state of incorporation, report date, acceptance time, 8-K items and primary document link (one extra request per company, cached). Turn off for faster, leaner rows.",
            "default": true
          },
          "maxFilingsPerCompany": {
            "title": "Max filings per company",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Output at most this many filings for each company, newest first (0 = no limit).",
            "default": 20
          },
          "maxItems": {
            "title": "Max filings in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many filings across all companies (0 = no limit). Use it to cap cost.",
            "default": 100
          },
          "onlyNewFilings": {
            "title": "Monitor mode: only new filings since last run",
            "type": "boolean",
            "description": "Remember which filings (by accession number) were already returned, in a named key-value store in your account, and output only new ones on later runs. Schedule the Actor hourly or daily for filing alerts. The first run outputs the current filings and saves them as seen. You pay only for new filings.",
            "default": false
          },
          "monitorStateName": {
            "title": "Monitor state name",
            "type": "string",
            "description": "Name of the key-value store that keeps the seen-filing list for monitor mode. Use a different name per watch list (e.g. my-portfolio-8k, biotech-s1) so separate schedules don't share state. Lowercase letters, numbers and dashes.",
            "default": "sec-edgar-filings-state"
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Give up on an SEC request that doesn't answer within this many seconds (retried twice). Requests are rate-limited to about 5 per second to follow the SEC's fair-access policy.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}