{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC 13F Holdings Scraper: Hedge Fund Positions",
    "description": "Scrape SEC 13F reports of hedge funds and institutions. Get every position with value, shares, portfolio weight and the change against the last quarter, fund summaries with top holdings and exits, a ranking of the largest funds, or the list of funds that own a stock. Export to CSV or Excel.",
    "version": "1.0",
    "x-build-id": "btwutJsNQg9Xb6nMJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parselab~sec-13f-institutional-holdings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parselab-sec-13f-institutional-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/parselab~sec-13f-institutional-holdings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parselab-sec-13f-institutional-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/parselab~sec-13f-institutional-holdings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parselab-sec-13f-institutional-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": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000."
          },
          "mode": {
            "title": "What to collect",
            "enum": [
              "holdings",
              "funds",
              "holders"
            ],
            "type": "string",
            "description": "Fund holdings returns one row per position of a fund, with the change against the previous quarter. Fund summary returns one row per fund with total value, concentration, top holdings, new and exited positions, or with no fund given a ranking of the largest funds. Who owns a stock returns one row per fund that holds a company.",
            "default": "holdings"
          },
          "fundNames": {
            "title": "Fund names",
            "type": "array",
            "description": "Names of the investment managers, for example Berkshire Hathaway, Bridgewater or Citadel. The closest matches that file 13F reports are used. Used in the holdings and summary modes.",
            "items": {
              "type": "string"
            }
          },
          "ciks": {
            "title": "Fund IDs (CIK)",
            "type": "array",
            "description": "SEC numbers of the investment managers, for example 1067983. Use them when you know the exact fund.",
            "items": {
              "type": "string"
            }
          },
          "quarter": {
            "title": "Quarter",
            "type": "string",
            "description": "Quarter of the report, for example 2026Q2 or 2026-06-30. Leave empty for the latest report of each fund, or the latest quarter published by the SEC in the holders mode and the ranking."
          },
          "tickers": {
            "title": "Stock tickers (holders mode)",
            "type": "array",
            "description": "Tickers of the companies whose holders you want, for example AAPL or NVDA. The SEC company name is matched against the issuer names in the reports. For exact results use CUSIP numbers.",
            "items": {
              "type": "string"
            }
          },
          "cusips": {
            "title": "CUSIP numbers (holders mode)",
            "type": "array",
            "description": "Nine character security IDs, for example 037833100 for Apple. This is the most exact way to find the holders of one security or share class.",
            "items": {
              "type": "string"
            }
          },
          "issuerNames": {
            "title": "Issuer names (holders mode)",
            "type": "array",
            "description": "Company names as funds report them, for example APPLE INC or NVIDIA CORP. Matching ignores endings such as Inc and Corp.",
            "items": {
              "type": "string"
            }
          },
          "compareToPreviousQuarter": {
            "title": "Compare with the previous quarter",
            "type": "boolean",
            "description": "Adds new, added, reduced, unchanged and exited status, the change in shares and an estimate of the trade value. Turn off for faster runs.",
            "default": true
          },
          "changeStatuses": {
            "title": "Keep only these changes",
            "type": "array",
            "description": "Keep only positions with these changes against the previous quarter: new, added, reduced, unchanged or exited. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "includeExited": {
            "title": "Include exited positions",
            "type": "boolean",
            "description": "In the holdings mode, also return the positions that the fund held in the previous quarter and no longer holds.",
            "default": true
          },
          "positionType": {
            "title": "Position type",
            "enum": [
              "all",
              "shares",
              "options"
            ],
            "type": "string",
            "description": "Shares and bonds only, options only (puts and calls), or all positions.",
            "default": "all"
          },
          "minValueUsd": {
            "title": "Minimum position value (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only positions worth at least this much. In the ranking mode it applies to the total value of the fund."
          },
          "fundStates": {
            "title": "Fund states (ranking only)",
            "type": "array",
            "description": "Two letter state codes. In the largest funds ranking, keep only managers located in these states, for example NY, MA, CA.",
            "items": {
              "type": "string"
            }
          },
          "resolveTickers": {
            "title": "Add stock tickers",
            "type": "boolean",
            "description": "Adds the ticker symbol of each security. Securities of some foreign companies may stay without a ticker.",
            "default": true
          },
          "contactEmail": {
            "title": "Contact email (optional)",
            "type": "string",
            "description": "Added to the request header as SEC fair access guidelines recommend. Leave empty if you prefer."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}