{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Scraper: 10-K, 10-Q, 8-K Filings & XBRL Financials",
    "description": "Get SEC EDGAR filings (10-K, 10-Q, 8-K, Form 4, S-1 and more) by ticker or CIK, EDGAR full-text search, the live latest-filings feed with new-filing alerts, and XBRL financials (revenue, net income, EPS, assets, cash flow). Official SEC APIs. $0.40 per 1,000 filings.",
    "version": "1.0",
    "x-build-id": "gEGCLMtripxdbqDqn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sysco32~sec-edgar-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sysco32-sec-edgar-scraper",
        "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/sysco32~sec-edgar-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sysco32-sec-edgar-scraper",
        "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/sysco32~sec-edgar-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sysco32-sec-edgar-scraper",
        "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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "filings",
              "search",
              "latest",
              "financials"
            ],
            "type": "string",
            "description": "Choose one mode. Each mode uses the options in its section below.",
            "default": "filings"
          },
          "companies": {
            "title": "Companies (tickers or CIKs)",
            "type": "array",
            "description": "For the <b>Company filings</b> and <b>Financials</b> modes, e.g. <code>AAPL</code>, <code>TSLA</code>, <code>BRK-B</code> or a CIK such as <code>320193</code>.",
            "default": [
              "AAPL",
              "MSFT",
              "NVDA"
            ],
            "items": {
              "type": "string"
            }
          },
          "forms": {
            "title": "Form types",
            "type": "array",
            "description": "Keep only these forms, e.g. <code>10-K</code>, <code>10-Q</code>, <code>8-K</code>, <code>4</code> (insider trades), <code>S-1</code>, <code>13F-HR</code>, <code>SC 13D</code>, <code>DEF 14A</code>, <code>D</code> (private placements). Empty = all forms.",
            "default": [
              "10-K",
              "10-Q",
              "8-K"
            ],
            "items": {
              "type": "string"
            }
          },
          "includeAmendments": {
            "title": "Include amendments (/A)",
            "type": "boolean",
            "description": "Also keep amended versions of the selected forms, e.g. <code>10-K/A</code>.",
            "default": true
          },
          "dateFrom": {
            "title": "Filed from",
            "type": "string",
            "description": "ISO date, e.g. <code>2026-01-01</code>."
          },
          "dateTo": {
            "title": "Filed to",
            "type": "string",
            "description": "ISO date, e.g. <code>2026-10-31</code>."
          },
          "maxFilingsPerCompany": {
            "title": "Max filings per company",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Newest first (from the company's recent filings, up to about 1,000).",
            "default": 10
          },
          "searchQuery": {
            "title": "Full-text search query",
            "type": "string",
            "description": "Searches the text of all EDGAR filings since 2001, e.g. <code>\"artificial intelligence\"</code>, <code>\"going concern\"</code>, <code>\"cybersecurity incident\"</code>. Use quotes for exact phrases. Combine with form types and dates above."
          },
          "maxResults": {
            "title": "Max results (search and latest)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum filings from full-text search, or per form type from the latest filings feed (up to 100).",
            "default": 50
          },
          "financialPeriod": {
            "title": "Financials period",
            "enum": [
              "annual",
              "quarterly"
            ],
            "type": "string",
            "description": "Fiscal years or quarters, from the company's XBRL data.",
            "default": "annual"
          },
          "financialYears": {
            "title": "Number of periods",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "How many most recent fiscal years (or quarters) per company.",
            "default": 5
          },
          "contactEmail": {
            "title": "Your contact email for the SEC (optional)",
            "type": "string",
            "description": "The SEC asks automated tools to declare a contact in the User-Agent. Add yours for heavy use; otherwise the Actor's contact is used."
          },
          "onlyNewFilings": {
            "title": "Only new filings (monitoring mode)",
            "type": "boolean",
            "description": "Remember the accession numbers already delivered in this mode and skip them later. Schedule it for 8-K, Form 4 or keyword alerts and get, and pay for, only new filings.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Named key-value store for seen filings. Use a different name for each independent monitor.",
            "default": "sec-edgar-scraper-seen"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}