{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Filings Scraper — 10-K, 10-Q, 8-K, Full-Text Search",
    "description": "SEC EDGAR filings by ticker, CIK or full-text search: form, dates, accession number, document links, 8-K items, and optional XBRL key financials for 10-K/10-Q. Official SEC APIs.",
    "version": "0.1",
    "x-build-id": "aGxNOnFVTC66KkdgE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/highbrow_fame~sec-edgar-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-highbrow_fame-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/highbrow_fame~sec-edgar-filings/runs": {
      "post": {
        "operationId": "runs-sync-highbrow_fame-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/highbrow_fame~sec-edgar-filings/run-sync": {
      "post": {
        "operationId": "run-sync-highbrow_fame-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",
            "type": "array",
            "description": "Tickers (AAPL), CIK numbers (320193) or company names (Microsoft). One per line. Each gives its filings, newest first.",
            "items": {
              "type": "string"
            }
          },
          "formTypes": {
            "title": "Form types",
            "type": "array",
            "description": "Optional: only these forms, e.g. 10-K, 10-Q, 8-K, S-1, DEF 14A, 13F-HR, SC 13G, 4, D. A trailing * matches the start (424B*); -4 leaves a form out. Empty: every form. For companies and full-text searches; links keep their own filters.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "Filed from",
            "type": "string",
            "description": "Optional: filings filed on or after this date (YYYY-MM-DD)."
          },
          "dateTo": {
            "title": "Filed until",
            "type": "string",
            "description": "Optional: filings filed on or before this date (YYYY-MM-DD)."
          },
          "filedWithinDays": {
            "title": "Filed within (days)",
            "minimum": 1,
            "maximum": 36500,
            "type": "integer",
            "description": "Optional: only filings of the last N days — handy for a daily schedule. Overrides \"Filed from\"."
          },
          "fullTextQueries": {
            "title": "Full-text search",
            "type": "array",
            "description": "Optional: search the text of every filing since 2001, as on EDGAR full-text search. Use quotes for an exact phrase (\"going concern\"), OR between alternatives, - to leave a word out. One search per line; the form types and dates above apply.",
            "items": {
              "type": "string"
            }
          },
          "fullTextSort": {
            "title": "Full-text order",
            "enum": [
              "newest",
              "relevance",
              "oldest"
            ],
            "type": "string",
            "description": "For the full-text searches above. By date, a search can go past EDGAR's 10,000-document limit; by relevance it stops there.",
            "default": "newest"
          },
          "searchUrls": {
            "title": "EDGAR links",
            "type": "array",
            "description": "Optional: a company's filings page (sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=…, sec.gov/edgar/browse/?CIK=…) or a full-text search set up on sec.gov/edgar/search. The link's own filters are used.",
            "items": {
              "type": "string"
            }
          },
          "includeAmendments": {
            "title": "Include amendments",
            "type": "boolean",
            "description": "Also deliver amended filings (10-K/A, 8-K/A, …) for the form types above.",
            "default": true
          },
          "includeFinancials": {
            "title": "Add key financials to 10-K and 10-Q",
            "type": "boolean",
            "description": "Adds the figures the filing reported in XBRL: revenue, operating income, net income, EPS, assets, liabilities, equity, cash, operating cash flow and shares outstanding. One extra request per company.",
            "default": false
          },
          "maxFilingsPerSearch": {
            "title": "Max filings per company or search",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stops each company, search or link after this many filings.",
            "default": 200
          },
          "maxConcurrency": {
            "title": "Parallel companies / searches",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many companies or searches to work on at the same time. All of them share the SEC's limit of 10 requests a second.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Used only to try again after a network error: the first try goes out directly.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}