{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Filings Scraper - 10-K, 10-Q, Insider Trades",
    "description": "Scrape SEC EDGAR filings (10-K, 10-Q, 8-K), parsed Form 3/4/5 insider trades, XBRL financial facts, peer benchmarks and full-text search for any public company. Export to CSV, Excel, JSON. No login or API key needed. Pay per result, filing rows from $0.015 each.",
    "version": "0.1",
    "x-build-id": "H0gccazPZvQoPT5Zy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~sec-edgar-filings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-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/recordsdata~sec-edgar-filings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-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/recordsdata~sec-edgar-filings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-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": {
          "tickers": {
            "title": "Tickers or company names",
            "maxItems": 1000,
            "type": "array",
            "description": "Stock tickers or company names, one per line, e.g. AAPL, MSFT or Tesla. Up to 1,000 companies per run (tickers and CIKs together).",
            "items": {
              "type": "string"
            }
          },
          "ciks": {
            "title": "CIK numbers (optional)",
            "maxItems": 1000,
            "type": "array",
            "description": "SEC company IDs if you know them, e.g. 320193 for Apple. Skips the ticker lookup; zeros are added for you.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Total rows across filings, financial facts and search hits, e.g. 100. The free plan gives 10 per run.",
            "default": 100
          },
          "forms": {
            "title": "Form types",
            "type": "array",
            "description": "Only these forms, e.g. 10-K, 10-Q, 8-K or 4. An amendment is its own type: add 10-K/A to get it. Empty means all forms.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "Filed on or after (YYYY-MM-DD)",
            "type": "string",
            "description": "Example: 2025-01-01. Years back work too.",
            "default": ""
          },
          "dateTo": {
            "title": "Filed on or before (YYYY-MM-DD)",
            "type": "string",
            "description": "Example: 2025-12-31. Empty means up to today.",
            "default": ""
          },
          "maxPerCompany": {
            "title": "Max filings per company",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Most recent first, e.g. 50.",
            "default": 50
          },
          "searchQuery": {
            "title": "Search phrase",
            "type": "string",
            "description": "A phrase to find in any filing, e.g. \"going concern\". Each hit includes the filer's industry code, state and business location. Empty skips the search."
          },
          "searchForms": {
            "title": "Only these form types",
            "type": "array",
            "description": "Limits the phrase search, e.g. 8-K. Empty searches all forms.",
            "items": {
              "type": "string"
            }
          },
          "maxSearchHits": {
            "title": "Max search hits",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Up to 1,000 hits, e.g. 20. Also capped by Maximum results.",
            "default": 20
          },
          "includeInsiderTransactions": {
            "title": "Insider transactions (Form 3/4/5)",
            "type": "boolean",
            "description": "Adds owner, transaction code, shares and price. Billed per transaction.",
            "default": false
          },
          "includeFinancialFacts": {
            "title": "Financial facts (XBRL)",
            "type": "boolean",
            "description": "Adds revenue, net income, assets and more. Billed per concept per company: 6 concepts on 1 company = 6 records.",
            "default": false
          },
          "financialConcepts": {
            "title": "Which financial concepts",
            "maxItems": 30,
            "type": "array",
            "description": "Used when Financial facts is on. SEC us-gaap names, e.g. Revenues, Assets. Up to 30.",
            "default": [
              "Revenues",
              "NetIncomeLoss",
              "Assets",
              "Liabilities",
              "StockholdersEquity",
              "EarningsPerShareBasic"
            ],
            "items": {
              "type": "string"
            }
          },
          "includePeerBenchmark": {
            "title": "Industry peer benchmark",
            "type": "boolean",
            "description": "Adds the same concept for other companies in the same fiscal year, highest to lowest. Needs Financial facts on. Billed per peer.",
            "default": false
          },
          "maxPeers": {
            "title": "Max peers per concept",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Used when Peer benchmark is on, e.g. 20.",
            "default": 20
          },
          "onlyNew": {
            "title": "Only new results",
            "type": "boolean",
            "description": "Skips records this same search returned before. Maximum results then means N new rows.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "A label, e.g. big-tech, to keep monitors with the same tickers apart.",
            "default": ""
          },
          "resetSeen": {
            "title": "Forget seen records",
            "type": "boolean",
            "description": "Clears this monitor's memory before the run. Only works with Only new results on.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}