{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Scraper – Filings, Insiders, 13F & Live Feed",
    "description": "Scrape SEC EDGAR: company filings, Form 4 insider trades, financials and history, 13F holdings with changes, full-text search, XBRL frames, the latest filings feed by form type and company lists by industry and state. No API key, account or login needed.",
    "version": "0.3",
    "x-build-id": "vonPYw6zCGAvbeJMV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sheshinmcfly~sec-edgar-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sheshinmcfly-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/sheshinmcfly~sec-edgar-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sheshinmcfly-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/sheshinmcfly~sec-edgar-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sheshinmcfly-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": {
          "tickers": {
            "title": "Tickers or CIKs (companies)",
            "type": "array",
            "description": "Company ticker symbols (e.g. AAPL, MSFT) or CIK numbers, for filings / insider transactions / financials. Tickers are resolved to CIKs automatically.",
            "items": {
              "type": "string"
            }
          },
          "dataTypes": {
            "title": "Data to extract (companies)",
            "type": "array",
            "description": "Which data blocks to include per company.",
            "items": {
              "type": "string",
              "enum": [
                "filings",
                "insiderTransactions",
                "financials",
                "financialsHistory"
              ],
              "enumTitles": [
                "Filings (recent history with links, 8-K items, XBRL flag)",
                "Insider transactions (Form 4 buys/sells)",
                "Financials (latest key XBRL figures)",
                "Financials history (up to 10 years per figure)"
              ]
            },
            "default": [
              "filings"
            ]
          },
          "institutions": {
            "title": "Institutions (13F managers)",
            "type": "array",
            "description": "Fund / institutional manager names or CIKs (e.g. Berkshire Hathaway, Scion Asset Management) to pull their latest 13F-HR holdings, manager details and totals.",
            "items": {
              "type": "string"
            }
          },
          "institutionChanges": {
            "title": "Include 13F quarter-over-quarter changes",
            "type": "boolean",
            "description": "For each institution, compare the latest 13F with the previous one: new, closed, increased and decreased positions.",
            "default": false
          },
          "fullTextSearch": {
            "title": "Full-text search",
            "type": "array",
            "description": "Search across all EDGAR filings. Each item: {\"query\": \"artificial intelligence\", \"forms\": \"8-K\", \"startDate\": \"2026-01-01\", \"endDate\": \"2026-03-31\"}. Only query is required."
          },
          "frames": {
            "title": "XBRL frames (cross-company)",
            "type": "array",
            "description": "One XBRL concept across every filer for a period. Each item: {\"concept\": \"Revenues\", \"unit\": \"USD\", \"period\": \"CY2023\"}. unit defaults to USD, period to last calendar year."
          },
          "latestFilings": {
            "title": "Latest filings feed",
            "type": "array",
            "description": "Form types to get the newest filings for, across all companies, newest first: e.g. 8-K, S-1, 4, 13D, SC 13G, 10-K, 10-Q, D. Each filing comes with company, CIK, date, items and link. Up to 'Max search results' per form.",
            "items": {
              "type": "string"
            }
          },
          "companyLists": {
            "title": "Company lists",
            "type": "array",
            "description": "Companies by industry and/or state. Each item: {\"sic\": \"7372\", \"state\": \"CA\", \"form\": \"10-K\"} — SIC is the SEC industry code, state a two-letter code, form (optional) keeps only companies that filed it. Returns name, CIK, industry, state, and ticker and exchange for listed companies. Up to 'Max search results' per list."
          },
          "maxFilings": {
            "title": "Max filings per company",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many recent filings to return (when Filings is selected).",
            "default": 40
          },
          "maxInsiderFilings": {
            "title": "Max Form 4 filings to parse",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many recent Form 4 filings to parse per company (when Insider transactions is selected).",
            "default": 15
          },
          "maxSearchResults": {
            "title": "Max results per search / frame",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum rows per full-text query, per frame, per latest-filings form and per company list.",
            "default": 100
          },
          "concurrency": {
            "title": "Company concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many companies to process in parallel. All requests share one fair-access rate limit.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify datacenter proxies work for SEC EDGAR. Switch to Residential only if you hit rate limits.",
            "default": {
              "useApifyProxy": true
            }
          },
          "contactEmail": {
            "title": "Your contact email (optional)",
            "type": "string",
            "description": "The SEC asks automated tools to identify themselves. If you add your email it is sent with your requests, as the SEC recommends; it is not stored or shown anywhere else."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}