# SEC 13F Holdings Tracker — Institutional QoQ Changes (`gochujang/sec-13f-holdings-tracker`) Actor

Parse SEC 13F quarterly filings for any institutional fund. Extracts holdings and computes quarter-over-quarter changes: new positions, increased, decreased, closed. No API key required.

- **URL**: https://apify.com/gochujang/sec-13f-holdings-tracker.md
- **Developed by:** [Hojun Lee](https://apify.com/gochujang) (community)
- **Categories:** Business
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## SEC 13F Holdings Tracker — Institutional Position Changes, QoQ Diff

Parse SEC 13F quarterly filings for any institutional investor and get a clean, structured view of their holdings — including **quarter-over-quarter changes** (new positions, increased, decreased, closed). No API key required; all data comes from public SEC EDGAR endpoints.

### Why 13F data?

Every institutional investment manager with more than $100M in qualifying assets must file a 13F-HR with the SEC within 45 days of each quarter end. That means you can track:

- **Berkshire Hathaway, Tiger Global, Citadel, Bridgewater** and 5,000+ other funds
- Which positions they **opened, added to, reduced, or closed**
- Portfolio concentration (% of portfolio per position)
- Aggregate portfolio value changes over time

Alternatives like [WhaleWisdom](https://whalewisdom.com) ($30/month) or [13F.info](https://13f.info) charge for this data. This actor gives you direct programmatic access via the official SEC EDGAR API.

***

### Use Cases

| Use Case | How |
|---|---|
| Smart money following | Track top funds' new positions each quarter |
| Position change alerts | Schedule actor + filter `change_type == "new"` |
| Hedge fund research | Analyze sector rotation across multiple quarters |
| Stock screening | Find stocks that multiple institutions are buying |
| Portfolio overlap analysis | Compare your holdings vs. institutional portfolios |

***

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `fundName` | string | required | Fund name to search (e.g. `"Berkshire Hathaway"`, `"Tiger Global"`) |
| `cik` | string | optional | SEC CIK number — skip name search (e.g. `"0001067983"`) |
| `quarters` | integer | `2` | Number of recent quarters to return (1–4). Needs ≥2 to compute QoQ changes |
| `minValueMillions` | number | `0` | Filter holdings below this USD value in millions |

**Example input:**

```json
{
  "fundName": "Berkshire Hathaway",
  "quarters": 2,
  "minValueMillions": 100
}
```

***

### Output

One row per holding per quarter. Dataset preview (table view) shows the most important fields:

| Field | Type | Description |
|---|---|---|
| `quarter` | string | Filing period (e.g. `"2024-09"`) |
| `fund_name` | string | Resolved fund name from EDGAR |
| `cik` | string | SEC CIK (zero-padded 10 digits) |
| `ticker` | string | Equity ticker (mapped from CUSIP via OpenFIGI) |
| `cusip` | string | CUSIP identifier |
| `company_name` | string | Issuer name as filed |
| `shares` | integer | Number of shares (or principal amount for bonds) |
| `value_usd` | number | Market value in USD (SEC files in thousands; multiplied ×1000) |
| `value_change_usd` | number | Change in USD value vs prior quarter |
| `shares_change` | integer | Change in share count vs prior quarter |
| `change_type` | string | `new` / `increased` / `decreased` / `closed` / `unchanged` |
| `pct_of_portfolio` | number | Position as % of total portfolio value |

**Example row (new position):**

```json
{
  "quarter": "2024-09",
  "fund_name": "BERKSHIRE HATHAWAY INC",
  "cik": "0001067983",
  "ticker": "OXY",
  "cusip": "674599105",
  "company_name": "OCCIDENTAL PETROLEUM CORP",
  "shares": 264_155_895,
  "value_usd": 12_960_000_000,
  "value_change_usd": 1_200_000_000,
  "shares_change": 5_000_000,
  "change_type": "increased",
  "pct_of_portfolio": 5.82
}
```

A `SUMMARY` key-value record is also saved with:

- `total_holdings_latest`, `total_portfolio_value_usd`
- `new_positions`, `closed_positions` counts
- `top_10_holdings` (by value in latest quarter)

***

### Pricing

| Event | Price | Description |
|---|---|---|
| Actor start | $0.001 | One-time startup fee |
| Filing parsed | $0.010 | Per 13F filing downloaded and parsed |
| Holding returned | $0.001 | Per holding row pushed to dataset |

**Typical cost examples:**

- Berkshire Hathaway, 2 quarters, ~48 holdings: ≈ **$0.07**
- Tiger Global, 4 quarters, ~70 holdings/quarter: ≈ **$0.32**

***

### How It Works

1. **CIK lookup** — Searches EDGAR full-text search API for the fund name, extracts the CIK identifier.
2. **Submission history** — Downloads `data.sec.gov/submissions/CIK{cik}.json` to get the list of 13F-HR filings.
3. **XML download** — For each filing, fetches the `infotable.xml` document from the EDGAR archive.
4. **Parse holdings** — Extracts `nameOfIssuer`, `cusip`, `value` (thousands), and `shrsOrPrnAmt` from each `<infoTable>` element.
5. **QoQ diff** — Joins consecutive quarters on CUSIP to classify `new / increased / decreased / closed / unchanged`.
6. **Ticker mapping** — Calls OpenFIGI (free, no key) to resolve CUSIP → ticker symbol.

All SEC EDGAR endpoints are public and free. The actor respects SEC rate limits (≤10 req/s).

***

### Finding the Right Fund Name / CIK

The actor searches EDGAR by name. If your fund name is ambiguous or returns wrong results, use the CIK directly:

1. Go to [EDGAR Company Search](https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany\&type=13F-HR\&dateb=\&owner=include\&count=40\&search_text=)
2. Search for the fund name
3. Copy the CIK from the URL or results table
4. Pass it as `cik` input (e.g. `"0001067983"`)

Popular CIKs:
| Fund | CIK |
|---|---|
| Berkshire Hathaway | 0001067983 |
| Tiger Global Management | 0001167483 |
| Citadel Advisors | 0001423043 |
| Bridgewater Associates | 0001350694 |
| Renaissance Technologies | 0001037389 |

***

### Limitations

- 13F filings are **45 days delayed** — Q3 (Sept 30) data appears by November 15.
- Only **long positions** in equity securities are disclosed; shorts, options (put/call noted), and non-US assets may be omitted or aggregated.
- Value is reported in **thousands USD** as of the quarter-end date.
- CUSIP → ticker mapping depends on OpenFIGI availability; some foreign or obscure securities may not resolve.

**Keywords:** SEC 13F, institutional holdings, hedge fund tracker, portfolio tracker, institutional ownership, quarterly filings, position changes, asset manager, Warren Buffett holdings

***

### Related actors

- [Stock Screener](https://apify.com/gochujang/stock-screener) — Screen stocks with the same fundamentals that institutional investors target
- [Yahoo Finance History](https://apify.com/gochujang/yahoo-finance-history) — Historical price data for positions identified in 13F filings
- [Earnings Call Transcript](https://apify.com/gochujang/earnings-call-transcript) — Earnings calls for companies where institutional ownership changed this quarter

### Feedback

If this actor powers your institutional research, a review helps others find it: [Leave a review on Apify Store](https://apify.com/gochujang/sec-13f-holdings-tracker#reviews)

# Actor input Schema

## `fundName` (type: `string`):

Name of the institutional fund to look up (e.g. 'Berkshire Hathaway', 'Tiger Global', 'Citadel'). Used for EDGAR search if CIK is not provided.

## `cik` (type: `string`):

SEC CIK number for the fund. If provided, skips the name-search step. Example: '0001067983' for Berkshire Hathaway.

## `quarters` (type: `integer`):

How many recent 13F-HR filings to fetch (1–4). A minimum of 2 is needed to compute QoQ changes.

## `minValueMillions` (type: `number`):

Filter out holdings below this USD value (millions). Set 0 to include all positions.

## Actor input object example

```json
{
  "fundName": "Berkshire Hathaway",
  "cik": "0001067983",
  "quarters": 2,
  "minValueMillions": 0
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("gochujang/sec-13f-holdings-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("gochujang/sec-13f-holdings-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call gochujang/sec-13f-holdings-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gochujang/sec-13f-holdings-tracker"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bzJqacULVmrsV3Qss/builds/3hSEtGbMFRrArepOC/openapi.json
