{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC 13F Holdings Scraper: Hedge Fund Portfolios",
    "description": "Get any hedge fund's or institution's 13F portfolio back to mid 2013, or every holder of a stock, from SEC EDGAR with no login or API key: Berkshire's quarter in 7 seconds. Rows: issuer, CUSIP, ticker, dollar value, shares, put or call, weight, change since last quarter. JSON or CSV, pay per row.",
    "version": "0.1",
    "x-build-id": "MXgdF3YAzVZDNwab3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~sec-13f-holdings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-sec-13f-holdings-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/automation_craft~sec-13f-holdings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-sec-13f-holdings-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/automation_craft~sec-13f-holdings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-sec-13f-holdings-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 read",
            "enum": [
              "managers",
              "holders",
              "filings"
            ],
            "type": "string",
            "description": "managers: the 13F portfolios of the managers you name (by CIK, name, ticker or a famous manager), quarter by quarter. holders: every 13F filer that reports a security (by CUSIP or ticker) in one quarter. filings: 13F filings by accession number, or every 13F filed in a filing date window. Left out, the mode follows the targets you give."
          },
          "managerCiks": {
            "title": "Manager CIKs",
            "type": "array",
            "description": "SEC CIK numbers of 13F filers (institutional investment managers), for example 1067983 for Berkshire Hathaway, or their EDGAR links. A CIK that files no 13F gets a free status row.",
            "items": {
              "type": "string"
            }
          },
          "famousManagers": {
            "title": "Famous managers",
            "type": "array",
            "description": "Well known funds by name, without looking up their CIK: berkshire-hathaway (Berkshire Hathaway Inc (Warren Buffett)), pershing-square (Pershing Square Capital Management (Bill Ackman)), scion-asset-management (Scion Asset Management (Michael Burry)), bridgewater-associates (Bridgewater Associates), renaissance-technologies (Renaissance Technologies), citadel-advisors (Citadel Advisors (Ken Griffin)), tiger-global (Tiger Global Management), coatue (Coatue Management), d1-capital (D1 Capital Partners), whale-rock (Whale Rock Capital Management), lone-pine (Lone Pine Capital), viking-global (Viking Global Investors) and more in the list.",
            "items": {
              "type": "string",
              "enum": [
                "berkshire-hathaway",
                "pershing-square",
                "scion-asset-management",
                "bridgewater-associates",
                "renaissance-technologies",
                "citadel-advisors",
                "tiger-global",
                "coatue",
                "d1-capital",
                "whale-rock",
                "lone-pine",
                "viking-global",
                "light-street",
                "maverick-capital",
                "two-sigma",
                "appaloosa",
                "baupost",
                "third-point",
                "icahn",
                "ark-invest",
                "duquesne-family-office",
                "soros-fund-management",
                "elliott",
                "point72",
                "de-shaw",
                "millennium",
                "gates-foundation-trust",
                "fundsmith",
                "akre-capital",
                "markel",
                "himalaya-capital",
                "oaktree",
                "starboard-value",
                "trian",
                "valueact",
                "abrams-bison",
                "glenview",
                "jane-street",
                "susquehanna",
                "vanguard-capital-management",
                "blackrock",
                "state-street",
                "fidelity-fmr",
                "morgan-stanley",
                "jpmorgan-chase",
                "goldman-sachs",
                "bank-of-america"
              ],
              "enumTitles": [
                "Berkshire Hathaway Inc (Warren Buffett)",
                "Pershing Square Capital Management (Bill Ackman)",
                "Scion Asset Management (Michael Burry)",
                "Bridgewater Associates",
                "Renaissance Technologies",
                "Citadel Advisors (Ken Griffin)",
                "Tiger Global Management",
                "Coatue Management",
                "D1 Capital Partners",
                "Whale Rock Capital Management",
                "Lone Pine Capital",
                "Viking Global Investors",
                "Light Street Capital Management",
                "Maverick Capital",
                "Two Sigma Investments",
                "Appaloosa (David Tepper)",
                "Baupost Group (Seth Klarman)",
                "Third Point (Dan Loeb)",
                "Carl Icahn",
                "ARK Investment Management (Cathie Wood)",
                "Duquesne Family Office (Stanley Druckenmiller)",
                "Soros Fund Management",
                "Elliott Investment Management",
                "Point72 Asset Management (Steve Cohen)",
                "D. E. Shaw & Co.",
                "Millennium Management",
                "Gates Foundation Trust",
                "Fundsmith LLP (Terry Smith)",
                "Akre Capital Management",
                "Markel Group",
                "Himalaya Capital Management (Li Lu)",
                "Oaktree Capital Management",
                "Starboard Value",
                "Trian Fund Management (Nelson Peltz)",
                "ValueAct Holdings",
                "Abrams Bison Investments",
                "Glenview Capital Management",
                "Jane Street Group",
                "Susquehanna International Group",
                "Vanguard Capital Management",
                "BlackRock, Inc.",
                "State Street Corp",
                "FMR LLC (Fidelity)",
                "Morgan Stanley",
                "JPMorgan Chase & Co",
                "Goldman Sachs Group",
                "Bank of America Corp"
              ]
            }
          },
          "managerNames": {
            "title": "Manager names",
            "type": "array",
            "description": "Manager names as the SEC lists 13F filers, for example \"Pershing Square Capital\" or \"Renaissance Technologies\". Every word must be in the filer name. A name that matches several filers is not guessed: a free status row lists the candidates and their CIKs.",
            "items": {
              "type": "string"
            }
          },
          "managerTickers": {
            "title": "Manager tickers",
            "type": "array",
            "description": "Ticker symbols of managers that are listed companies, for example BRK-B or BLK. Each is matched to its CIK through the SEC's list of listed tickers.",
            "items": {
              "type": "string"
            }
          },
          "quarters": {
            "title": "Quarters",
            "type": "array",
            "description": "Calendar quarters of the reports to read, for example 2026Q2 or 2026-06-30 (the period the 13F reports on, from 2013). Give quarters, latestQuarters or a period range: one of them.",
            "items": {
              "type": "string"
            }
          },
          "latestQuarters": {
            "title": "Latest quarters",
            "minimum": 1,
            "maximum": 80,
            "type": "integer",
            "description": "The number of most recent reports to read per manager (default 1: the latest 13F the manager filed)."
          },
          "periodFrom": {
            "title": "Periods from",
            "type": "string",
            "description": "Read every report whose period ends on or after this date (YYYY-MM-DD)."
          },
          "periodTo": {
            "title": "Periods to",
            "type": "string",
            "description": "Read every report whose period ends on or before this date (YYYY-MM-DD)."
          },
          "cusips": {
            "title": "CUSIPs",
            "type": "array",
            "description": "Nine character CUSIPs of the securities whose holders to read, for example 037833100 for Apple. Every 13F filer whose report for the quarter names the CUSIP becomes a row (its position in it).",
            "items": {
              "type": "string"
            }
          },
          "securityTickers": {
            "title": "Security tickers",
            "type": "array",
            "description": "Ticker symbols of the securities, for example AAPL. Each is turned into its CUSIP through the SEC's fails-to-deliver files of the last six months; a ticker that names several CUSIPs there gets a free row with the candidates.",
            "items": {
              "type": "string"
            }
          },
          "holdersQuarter": {
            "title": "Holders quarter",
            "type": "string",
            "description": "The quarter whose holders to read, for example 2026Q2, or latest (default): the latest quarter whose 45 day filing deadline has passed. Reports for that quarter filed from the day after the quarter end to 92 days after it are read."
          },
          "accessionNumbers": {
            "title": "Accession numbers",
            "type": "array",
            "description": "13F filings by accession number (0001067983-26-000006) or EDGAR link. Write \"CURRENT vs PREVIOUS\" (two accession numbers) to compare a filing with a filing you choose.",
            "items": {
              "type": "string"
            }
          },
          "filingDateFrom": {
            "title": "Filed from",
            "type": "string",
            "description": "Filings mode without accession numbers: read every 13F holdings report filed from this date (YYYY-MM-DD; default 6 days before filingDateTo; a window of at most 400 days). Managers mode: only the reports filed from this date."
          },
          "filingDateTo": {
            "title": "Filed to",
            "type": "string",
            "description": "The last filing date to read (filings mode: default today, US Eastern; managers mode: only the reports filed up to this date)."
          },
          "fullTextQuery": {
            "title": "Full-text query",
            "type": "string",
            "description": "Filings mode with a filing date window: only the 13F filings whose cover page or table holds every word or \"quoted phrase\" of this query, for example BERKSHIRE or \"pershing square\" (the SEC full-text search). Every position of a matching filing is a row."
          },
          "compareWithPreviousQuarter": {
            "title": "Compare with the previous quarter",
            "type": "boolean",
            "description": "Give every position its change against the manager's previous report: NEW, ADDED, REDUCED, UNCHANGED, with the previous shares and value, and a row for each position SOLD_OUT since then (in the holders mode a holder that sold out is not listed). Default true.",
            "default": true
          },
          "comparisonBasis": {
            "title": "Compare with",
            "enum": [
              "previous_quarter",
              "previous_report"
            ],
            "type": "string",
            "description": "previous_quarter (default): the calendar quarter before. previous_report (managers and filings modes): the manager's latest earlier report, when it skipped a quarter."
          },
          "changeTypes": {
            "title": "Change types",
            "type": "array",
            "description": "Only rows of these changes, for example NEW and SOLD_OUT for a fund's new buys and exits. Empty: every change.",
            "items": {
              "type": "string",
              "enum": [
                "NEW",
                "ADDED",
                "REDUCED",
                "SOLD_OUT",
                "UNCHANGED"
              ],
              "enumTitles": [
                "New position",
                "Added to",
                "Reduced",
                "Sold out",
                "Unchanged"
              ]
            }
          },
          "changeThresholdPercent": {
            "title": "Change threshold (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "A share count move smaller than this percentage of the previous shares counts as UNCHANGED (default 0: any move counts)."
          },
          "minValueChangeUsd": {
            "title": "Minimum value change (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only positions whose value moved by at least this many dollars (up or down)."
          },
          "minSharesChange": {
            "title": "Minimum share change",
            "minimum": 0,
            "type": "integer",
            "description": "Only positions whose share count moved by at least this many shares (up or down)."
          },
          "amendments": {
            "title": "Amendments",
            "enum": [
              "latest",
              "all",
              "originals"
            ],
            "type": "string",
            "description": "latest (default in the managers and holders modes): a quarter as amended, the latest restatement replacing the report and lines that NEW HOLDINGS amendments add. all (managers mode; the default of the filings mode, which reads each filing as filed): every filing as filed, amendments apart. originals: the original reports only."
          },
          "cusipFilter": {
            "title": "Only these CUSIPs",
            "type": "array",
            "description": "Managers and filings modes: only positions in these CUSIPs.",
            "items": {
              "type": "string"
            }
          },
          "issuerNameContains": {
            "title": "Issuer name keywords",
            "type": "array",
            "description": "Only positions whose issuer name holds ANY of these texts (any case, part of a word allowed), for example APPLE or MICROSOFT.",
            "items": {
              "type": "string"
            }
          },
          "minValueUsd": {
            "title": "Minimum value (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only positions worth at least this many dollars (sold out positions: their previous value)."
          },
          "maxValueUsd": {
            "title": "Maximum value (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only positions worth at most this many dollars."
          },
          "putCall": {
            "title": "Shares or options",
            "enum": [
              "any",
              "shares_only",
              "options_only",
              "put",
              "call"
            ],
            "type": "string",
            "description": "any (default), shares_only (no puts or calls), options_only, put or call."
          },
          "sharesType": {
            "title": "Share type",
            "enum": [
              "any",
              "SH",
              "PRN"
            ],
            "type": "string",
            "description": "any (default), SH (shares) or PRN (principal amount, for bonds)."
          },
          "investmentDiscretion": {
            "title": "Investment discretion",
            "type": "array",
            "description": "Only lines of these discretions: SOLE, DFND (shared defined), OTR (shared other).",
            "items": {
              "type": "string",
              "enum": [
                "SOLE",
                "DFND",
                "OTR"
              ],
              "enumTitles": [
                "Sole",
                "Shared defined",
                "Shared other"
              ]
            }
          },
          "topHoldingsPerReport": {
            "title": "Top holdings per report",
            "minimum": 1,
            "type": "integer",
            "description": "Only the N largest positions of each report (by value), after the other filters; sold out positions: the N largest exits."
          },
          "groupBy": {
            "title": "One row per",
            "enum": [
              "security",
              "line"
            ],
            "type": "string",
            "description": "security (default): one row per position, the lines a filer split over sub managers or discretions summed (Berkshire reports Apple on many lines). line: one row per information table line as filed."
          },
          "sortBy": {
            "title": "Sort rows of a report by",
            "enum": [
              "value",
              "shares",
              "portfolioPercent",
              "sharesChange",
              "sharesChangePercent",
              "valueChange",
              "issuerName",
              "asFiled"
            ],
            "type": "string",
            "description": "The order of the rows of each report: value (default), shares, portfolioPercent, sharesChange, sharesChangePercent, valueChange, issuerName or asFiled (document order)."
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "desc (default; asc for issuerName and asFiled) or asc."
          },
          "outputProfile": {
            "title": "Output profile",
            "enum": [
              "full",
              "compact"
            ],
            "type": "string",
            "description": "full (default) or compact (the main fields only)."
          },
          "includeTickers": {
            "title": "Add tickers",
            "type": "boolean",
            "description": "Map each CUSIP to its ticker through the SEC's fails-to-deliver files (default true; no outside vendor).",
            "default": true
          },
          "includeVotingAuthority": {
            "title": "Voting authority",
            "type": "boolean",
            "description": "Sole, shared and none voting authority on every row (default true).",
            "default": true
          },
          "includeReportSummaries": {
            "title": "Report summaries (paid add-on)",
            "type": "boolean",
            "description": "Add one summary row per 13F report (total value, positions, top 10, concentration, change counts, biggest new position and exit, amendments applied, totals checked against the cover page) and, for two or more managers, one run report (the securities most held, bought and sold by them). Each is charged as a Report summary (see Pricing). Default false.",
            "default": false
          },
          "includeHoldingRows": {
            "title": "Holding rows",
            "type": "boolean",
            "description": "Deliver a row per position (default true). False with report summaries on: summaries only.",
            "default": true
          },
          "includePersonalData": {
            "title": "Include personal data",
            "type": "boolean",
            "description": "All public data is always delivered, so this setting has no effect (it is kept so saved inputs keep working).",
            "default": false
          },
          "dryRun": {
            "title": "Dry run",
            "type": "boolean",
            "description": "Resolve the targets and list the 13F reports the run would read, without reading them; no row is charged.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum rows",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "The run stops after this many holding and report summary rows (default 500). Status and summary rows are free and not counted."
          },
          "maxRowsPerManager": {
            "title": "Maximum rows per manager",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Managers and filings modes: at most this many rows per manager over all its reports."
          },
          "requestId": {
            "title": "Request label",
            "type": "string",
            "description": "A label of yours, written on every row as requestId (to join runs in your own system)."
          },
          "resumeToken": {
            "title": "Resume token",
            "type": "string",
            "description": "Continue a run that stopped at a limit: paste the resumeToken of its summary row and keep the same settings. Reports it finished are skipped and rows it delivered are not delivered or charged again."
          },
          "maxFilingsRead": {
            "title": "Maximum filings read",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "The run stops after reading this many 13F filings (each a full submission)."
          },
          "maxRunSeconds": {
            "title": "Maximum run time (seconds)",
            "minimum": 30,
            "maximum": 86400,
            "type": "integer",
            "description": "The run stops sending requests after this many seconds and ends with what it delivered."
          },
          "maxRequestsPerSecond": {
            "title": "Requests per second",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "The pace of requests to the SEC (default 4; the SEC allows 10)."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: the SEC answers the run's own address, and one Apify datacenter proxy session is the single fallback when it refuses. Turn on Apify Proxy to send every request through that session."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}