{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Scraper — 10-K, 10-Q, 8-K, Form 4, 13F, Form D",
    "description": "Scrape SEC EDGAR filings with zero anti-bot friction: 10-K, 10-Q, 8-K, Form 3/4/5 insider trades, Form D funding, 13F holdings, 13D/G, S-1, proxy statements. XBRL financials, full-text search, monitor mode. Pure HTTP, no browser, no proxies needed.",
    "version": "0.2",
    "x-build-id": "dcy2T0UlnQYSc10st"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/celebrated-quadraphonic~sec-edgar-filings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-celebrated-quadraphonic-sec-edgar-filings-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/celebrated-quadraphonic~sec-edgar-filings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-celebrated-quadraphonic-sec-edgar-filings-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/celebrated-quadraphonic~sec-edgar-filings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-celebrated-quadraphonic-sec-edgar-filings-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": {
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "Companies to scrape, one per line. Accepts stock tickers (AAPL), CIKs (0000320193) or company names (Apple Inc). Leave empty to use full-text search only.",
            "items": {
              "type": "string"
            }
          },
          "filingTypes": {
            "title": "Filing types",
            "uniqueItems": true,
            "type": "array",
            "description": "SEC form types to include. Select one or more. Leave empty for all supported types.",
            "items": {
              "enum": [
                "10-K",
                "10-K/A",
                "10-Q",
                "10-Q/A",
                "8-K",
                "8-K/A",
                "3",
                "4",
                "5",
                "3/A",
                "4/A",
                "5/A",
                "D",
                "D/A",
                "13F-HR",
                "13F-HR/A",
                "13D",
                "13D/A",
                "13G",
                "13G/A",
                "S-1",
                "S-1/A",
                "DEF 14A"
              ],
              "type": "string"
            }
          },
          "startDate": {
            "title": "Filed after",
            "type": "string",
            "description": "Only filings filed on or after this date (YYYY-MM-DD). Empty = no lower bound."
          },
          "endDate": {
            "title": "Filed before",
            "type": "string",
            "description": "Only filings filed on or before this date (YYYY-MM-DD). Empty = no upper bound."
          },
          "fullTextQuery": {
            "title": "Full-text search query",
            "type": "string",
            "description": "Optional: search filing full text via the official SEC EFTS index (e.g. \"artificial intelligence\", \"bitcoin\"). Combined with company and date filters. Leave empty to skip."
          },
          "maxFilingsPerCompany": {
            "title": "Max filings per company",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum filings returned per company (newest first).",
            "default": 100
          },
          "includeFilingDetails": {
            "title": "Parse filing details",
            "type": "boolean",
            "description": "Parse form-specific details: Form 4 transactions, Form D offering amounts, 13F holdings, 8-K items. Disable for faster metadata-only runs.",
            "default": true
          },
          "includeXbrlMetrics": {
            "title": "Include XBRL financial metrics",
            "type": "boolean",
            "description": "Attach key structured financial metrics (revenue, net income, EPS, assets, ...) from XBRL to 10-K / 10-Q filings.",
            "default": true
          },
          "newFilingsOnly": {
            "title": "New filings only (monitor mode)",
            "type": "boolean",
            "description": "Monitor mode: only push filings not seen in previous runs (state kept in key-value store). Schedule the Actor to get fresh filings on every run.",
            "default": false
          },
          "requestConcurrency": {
            "title": "Request concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel HTTP requests. SEC fair-access limit is 10 requests/second; keep at 10 or below.",
            "default": 5
          },
          "contactEmail": {
            "title": "Contact email (SEC fair access)",
            "type": "string",
            "description": "SEC asks API users to identify with a contact email in the User-Agent header. Optional; a default identifier is used when empty."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}