{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Filings API: 8-K, 10-K, 10-Q feed since 1994",
    "description": "SEC EDGAR filings (8-K, 10-K, 10-Q, S-1, 13D, 13G, Form 4 and every other form) for any company or the whole market, live or back to 1994, from the SEC's own feeds. Filter by ticker, CIK, form, 8-K item and date; flags earnings releases (Item 2.02). Returns links to each filing, not its text.",
    "version": "0.1",
    "x-build-id": "JCbPqbKPo7v2f2vAV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bosco_labs~sec-filings-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bosco_labs-sec-filings-feed",
        "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/bosco_labs~sec-filings-feed/runs": {
      "post": {
        "operationId": "runs-sync-bosco_labs-sec-filings-feed",
        "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/bosco_labs~sec-filings-feed/run-sync": {
      "post": {
        "operationId": "run-sync-bosco_labs-sec-filings-feed",
        "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": {
          "formTypes": {
            "title": "Form types",
            "type": "array",
            "description": "EDGAR form types, exact match, e.g. [\"8-K\", \"10-K\", \"10-Q\"]; also S-1, 13D, 13G, 4, DEF 14A, 20-F, 6-K and any other form. Add \"10-K/A\" etc. for amendments. 13D and 13G also match the SC 13D and SCHEDULE 13D names. Empty = every form.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "8-K",
                "8-K/A",
                "10-K",
                "10-K/A",
                "10-Q",
                "10-Q/A",
                "20-F",
                "40-F",
                "6-K",
                "S-1",
                "S-1/A",
                "S-3",
                "S-4",
                "424B4",
                "DEF 14A",
                "13D",
                "13D/A",
                "13G",
                "13G/A",
                "13F-HR",
                "3",
                "4",
                "5",
                "144",
                "SD"
              ]
            }
          },
          "tickers": {
            "title": "Tickers",
            "type": "array",
            "description": "Company tickers, e.g. [\"AAPL\", \"MSFT\"]. Mapped to the CIK with the SEC's own company_tickers.json. Empty (and `ciks` empty) = the whole market.",
            "items": {
              "type": "string",
              "pattern": "^\\s*[A-Za-z0-9][A-Za-z0-9./-]{0,9}\\s*$"
            }
          },
          "ciks": {
            "title": "CIKs",
            "type": "array",
            "description": "SEC Central Index Keys as digits, leading zeros optional, e.g. [\"320193\"] for Apple. Use for delisted companies, funds and filers without a ticker. Empty = no CIK filter.",
            "items": {
              "type": "string"
            }
          },
          "earningsReleasesOnly": {
            "title": "Earnings releases only",
            "type": "boolean",
            "description": "true = only 8-Ks with Item 2.02 (Results of Operations and Financial Condition): the dates and exact times companies released earnings. Overrides `formTypes` and `itemCodes`. Default false.",
            "default": false
          },
          "itemCodes": {
            "title": "8-K item codes",
            "type": "array",
            "description": "Only 8-Ks reporting at least one of these items, as strings, e.g. [\"5.02\"] (director/officer change), \"1.01\" (material agreement), \"2.01\" (acquisition), \"1.05\" (cybersecurity incident). Without `formTypes`, reads 8-K and 8-K/A. Empty = no item filter.",
            "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",
                "6.10",
                "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: shutdowns and patterns of violations",
                "1.05: Material cybersecurity incident",
                "2.01: Completion of acquisition or disposition of assets",
                "2.02: Results of operations and financial condition (earnings)",
                "2.03: Creation of a direct financial obligation",
                "2.04: Triggering events that accelerate a financial obligation",
                "2.05: Costs of exit or disposal activities",
                "2.06: Material impairments",
                "3.01: Delisting or failure to meet listing standards",
                "3.02: Unregistered sales of equity securities",
                "3.03: Material modification to rights of security holders",
                "4.01: Change in certifying accountant",
                "4.02: Non-reliance on previous financial statements",
                "5.01: Change in control of registrant",
                "5.02: Departure or appointment of directors or officers",
                "5.03: Amendments to articles or bylaws; change in fiscal year",
                "5.04: Temporary suspension of trading under employee benefit plans",
                "5.05: Amendments to or waiver 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",
                "6.04: Failure to make a required distribution",
                "6.05: Securities Act updating disclosure",
                "6.06: Static pool",
                "6.10: Alternative filings of asset-backed issuers",
                "7.01: Regulation FD disclosure",
                "8.01: Other events",
                "9.01: Financial statements and exhibits"
              ]
            }
          },
          "dateFrom": {
            "title": "Filed on or after",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}(T.*)?)?$",
            "type": "string",
            "description": "Earliest filing date, YYYY-MM-DD, e.g. \"2020-01-01\". EDGAR's index goes back to 1993. Empty = `lookbackDays` days before today (or, for tickers/CIKs without `lookbackDays`, the company's newest filings)."
          },
          "dateTo": {
            "title": "Filed on or before",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}(T.*)?)?$",
            "type": "string",
            "description": "Latest filing date, YYYY-MM-DD. Empty = today, including filings accepted minutes ago (live EDGAR feed)."
          },
          "lookbackDays": {
            "title": "Days back (when no start date)",
            "minimum": 1,
            "maximum": 12000,
            "type": "integer",
            "description": "Used only when `dateFrom` is empty: read filings from this many days back until today, e.g. 365. Empty = 7 days for the whole market; for `tickers`/`ciks`, empty = each company's newest filings (its last 1,000), so \"latest 10-K of AAPL\" needs no dates."
          },
          "maxResults": {
            "title": "Max filings",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum filings, newest first, e.g. 10 for a company's latest 10 filings. Default 100. The run stops once it has this many; you pay per filing returned.",
            "default": 100
          },
          "onlyNewSinceLastRun": {
            "title": "Only new since the last run",
            "type": "boolean",
            "description": "true = skip (and don't charge for) filings an earlier run with the same filters already delivered. For scheduled runs. Default false. Remembered in a named key-value store in your account.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}