Endpoints
/v1/reports/class-period-holders
https://secfeedapi.com/v1/reports/class-period-holdersClass-period holder report: every 13F manager that held a stock at a quarter end from the quarter before a class period through the quarter after it, with shares and value per quarter end, source accessions, shares bought during the period and net change. JSON, CSV or PDF. Trial and free keys get a 25-manager JSON preview.
| Parameter | Type | Description | Example |
|---|---|---|---|
ticker | string | Stock ticker, resolved to its CUSIP through the SEC 13(f) list. Give ticker or cusip. | AAPL |
cusip | string | CUSIP instead of a ticker. Up to 3, comma separated, are merged per manager: a split or reorganisation can give a stock a new CUSIP inside the window. | 86800U302,86800U104 |
startDaterequired | string | First day of the class period, YYYY-MM-DD. | 2024-01-15 |
endDaterequired | string | Last day of the class period, YYYY-MM-DD. With the quarter end before and after, at most 12 quarter ends. | 2024-12-15 |
minShares | number | Only managers whose largest quarter-end position in the window reached this many shares. Default 0. | 1000000 |
sort | string | bought (shares added during the period), net (net change), shares (largest position), value or name. Default bought. | bought |
format | string | json, csv (one row per manager, a column set per quarter end) or pdf (printable table of up to 500 managers). Default json. | csv |
from | integer | Offset into the sorted managers (JSON). Default 0. | 0 |
size | integer | Managers to return, max 10000 (JSON). Default 500. | 100 |
- Quarter ends used: the last one before startDate, every one inside the period, and the first one after endDate.
- Bought during the period means a higher quarter-end position than at the previous quarter end, from the quarter end before the start to the last one inside the period. 13F has no trades inside a quarter and no prices paid.
- Amendments apply in filing order: a restatement replaces a manager's quarter, a small new-holdings amendment adds to it; accessionNo lists every filing used.
- A manager that moved its 13F to a new CIK (same name, no overlapping quarter) is merged, with predecessorCiks.
- Cells marked incomplete (a placeholder or truncated filing) or suspect (value per share far out of line, usually shares and value swapped) are left out of the bought and net figures and of the totals.
- Trial and free keys get a JSON preview: all totals and the first 25 managers. CSV and PDF need a paid plan (402 otherwise).
- A mega cap's first request for quarters not yet cached can take 10 to 20 s; repeat requests return in about a second.
Request examples
Every response below is real output from the API, trimmed to the first records.
Who bought Apple during a 2024 class period
Five quarter ends from 2023-12-31 to 2024-12-31, managers sorted by shares added inside the period, with a source accession for every quarter and the totals per quarter end.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?ticker=AAPL&startDate=2024-01-15&endDate=2024-12-15&size=2"
import os, requests
r = requests.get(
"https://secfeedapi.com/v1/reports/class-period-holders",
params={'ticker': 'AAPL', 'startDate': '2024-01-15', 'endDate': '2024-12-15', 'size': '2'},
headers={"Authorization": f"Bearer {os.environ['SECFEED_KEY']}"},
timeout=60,
)
r.raise_for_status()
print(r.json()){
"cusip": "037833100",
"startDate": "2024-01-15",
"endDate": "2024-12-15",
"periods": [
"12-31-2023",
"03-31-2024"
],
"periodRoles": [
"before",
"inside"
],
"summary": {
"managers": 5828,
"boughtDuringPeriod": 3857,
"sharesBought": 1115990575
},
"totals": [
{
"period": "12-31-2023",
"role": "before",
"holders": 4566,
"shares": 8871263453,
"value": 1716589109377,
"incomplete": 1,
"pendingFilings": false
},
{
"period": "03-31-2024",
"role": "inside",
"holders": 4614,
"shares": 8830244717,
"value": 1524166150334,
"incomplete": 9,
"pendingFilings": false
}
],
"matched": {
"ticker": "AAPL",
"company": "Apple Inc.",
"security": "COM"
},
"total": 5828,
"from": 0,
"size": 2,
"managers": [
{
"cik": 315066,
"manager": "FMR LLC",
"boughtDuringPeriod": true,
"sharesBought": 74879944,
"netSharesChange": 63988010,
"sharesAtStart": 299871352,
"sharesAtEnd": 363859362,
"peakShares": 363859362,
"quarters": [
{
"period": "12-31-2023",
"status": "held",
"shares": 299871352,
...Largest holders only, sorted by position
minShares drops managers whose position never reached 10 million shares; sort=shares puts the largest positions first.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?ticker=MSFT&startDate=2024-03-01&endDate=2024-09-30&minShares=10000000&sort=shares&size=2"
import os, requests
r = requests.get(
"https://secfeedapi.com/v1/reports/class-period-holders",
params={'ticker': 'MSFT', 'startDate': '2024-03-01', 'endDate': '2024-09-30', 'minShares': '10000000', 'sort': 'shares', 'size': '2'},
headers={"Authorization": f"Bearer {os.environ['SECFEED_KEY']}"},
timeout=60,
)
r.raise_for_status()
print(r.json()){
"cusip": "594918104",
"startDate": "2024-03-01",
"endDate": "2024-09-30",
"periods": [
"12-31-2023",
"03-31-2024"
],
"periodRoles": [
"before",
"inside"
],
"summary": {
"managers": 70,
"boughtDuringPeriod": 51,
"sharesBought": 172355405
},
"totals": [
{
"period": "12-31-2023",
"role": "before",
"holders": 68,
"shares": 3898688558,
"value": 1465801191850,
"incomplete": 0,
"pendingFilings": false
},
{
"period": "03-31-2024",
"role": "inside",
"holders": 66,
"shares": 3893200925,
"value": 1637290923619,
"incomplete": 0,
"pendingFilings": false
}
],
"matched": {
"ticker": "MSFT",
"company": "MICROSOFT CORP",
"security": "COM"
},
"total": 70,
"from": 0,
"size": 2,
"managers": [
{
"cik": 102909,
"manager": "VANGUARD GROUP INC",
"boughtDuringPeriod": true,
"sharesBought": 10997520,
"netSharesChange": 8730778,
"sharesAtStart": 664908939,
"sharesAtEnd": 673639717,
"peakShares": 684071705,
"quarters": [
{
"period": "12-31-2023",
"status": "held",
"shares": 664908939,
...A stock whose CUSIP changed in the window
Super Micro Computer's 2024 split changed its CUSIP. Passing both merges each manager's positions; with the ticker alone the report warns that holder counts jump.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?cusip=86800U302,86800U104&startDate=2024-01-15&endDate=2024-12-15&size=2"
import os, requests
r = requests.get(
"https://secfeedapi.com/v1/reports/class-period-holders",
params={'cusip': '86800U302,86800U104', 'startDate': '2024-01-15', 'endDate': '2024-12-15', 'size': '2'},
headers={"Authorization": f"Bearer {os.environ['SECFEED_KEY']}"},
timeout=60,
)
r.raise_for_status()
print(r.json()){
"cusip": "86800U302,86800U104",
"startDate": "2024-01-15",
"endDate": "2024-12-15",
"periods": [
"12-31-2023",
"03-31-2024"
],
"periodRoles": [
"before",
"inside"
],
"summary": {
"managers": 1325,
"boughtDuringPeriod": 1013,
"sharesBought": 17380714
},
"totals": [
{
"period": "12-31-2023",
"role": "before",
"holders": 583,
"shares": 37940409,
"value": 10801343657,
"incomplete": 3,
"pendingFilings": false
},
{
"period": "03-31-2024",
"role": "inside",
"holders": 843,
"shares": 33187182,
"value": 33462148832,
"incomplete": 7,
"pendingFilings": false
}
],
"total": 1325,
"from": 0,
"size": 2,
"managers": [
{
"cik": 102909,
"manager": "VANGUARD GROUP INC",
"boughtDuringPeriod": true,
"sharesBought": 1451284,
"netSharesChange": 1218355,
"sharesAtStart": 4929065,
"sharesAtEnd": 6147420,
"peakShares": 61992493,
"quarters": [
{
"period": "12-31-2023",
"status": "held",
"shares": 4929065,
"value": 1401136017,
"accessionNo": "0001104659-24-032991",
"filed": "2024-03-11",
"valueUnitAsFiled": "dollars"
},
...Response fields
| Field | Type | Meaning |
|---|---|---|
cusip | string | The CUSIP or CUSIPs used, as reported in 13F. |
startDate, endDate | string | The class period asked for. |
periods[] | string | Quarter ends in the report, MM-DD-YYYY as 13F reports them. |
periodRoles[] | string | before, inside or after for each quarter end. |
summary.managers | integer | Managers in the report. |
summary.boughtDuringPeriod | integer | Managers whose quarter-end position rose inside the period. |
summary.sharesBought | number | Shares added inside the period, summed over managers. |
totals[].period, role | string | The quarter end and its role. |
totals[].holders, shares, value | number | Managers holding, shares and US dollar value at the quarter end. |
totals[].incomplete | integer | Managers whose filing for the quarter looks incomplete. |
totals[].pendingFilings | boolean | True while 13F reports for the quarter may still arrive (45 days). |
warnings[] | string | Present when holder counts jump in a way that suggests a CUSIP change. |
matched.ticker, company, security | string | What a ticker resolved to on the SEC 13(f) list. |
total, from, size | integer | Managers after filters, and the page returned. |
managers[].cik, manager | string | The 13F filer. |
managers[].predecessorCiks[] | object | Earlier CIKs of the same manager merged into this row (cik, manager). |
managers[].boughtDuringPeriod | boolean | Quarter-end position rose at least once inside the period. |
managers[].sharesBought | number | Sum of quarter-end increases inside the period. |
managers[].netSharesChange | number | Position at the last quarter end inside the period minus the one before the start; null when unknown. |
managers[].sharesAtStart, sharesAtEnd, peakShares | number | Position before the period, at its last quarter end, and the largest in the window. |
managers[].quarters[].period, status | string | Quarter end and status: held, notHeld, incomplete, suspect, noFiling or notYetFiled. |
managers[].quarters[].shares, value | number | Shares and US dollar value; null when the status is not held or notHeld. |
managers[].quarters[].accessionNo, filed | string | The 13F filing(s) used, comma separated in filing order, and the latest filing date. |
managers[].quarters[].valueUnitAsFiled | string | thousands for filings before 2023-01-03 (converted to dollars), else dollars. |
managers[].quarters[].reported | object | On suspect cells: the shares and value as filed. |
preview, upgrade | string | Trial and free keys: preview is true and upgrade explains the full report. |
limits | string | What 13F can and cannot show, returned with every report. |
source | string | Data source. |
Quarter statuses
| Status | Meaning |
|---|---|
| held | The manager reported a position at the quarter end. |
| notHeld | The manager filed for the quarter without this stock, or did not hold it around then. |
| incomplete | The manager's filing is far smaller than its neighbouring quarter: a placeholder or truncated filing, not read as a sale. |
| suspect | Value per share is far out of line with other managers, usually shares and value swapped; the filed numbers are under reported. |
| noFiling | The manager held the stock in a neighbouring quarter but filed no 13F for this one. |
| notYetFiled | The quarter ended less than 45 days ago, or has not ended. |
How to
How do I get a spreadsheet of every manager?
Add format=csv. You get one row per manager with shares, value, status and accession for each quarter end, and the limits note at the bottom.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?ticker=AAPL&startDate=2024-01-15&endDate=2024-12-15&format=csv"
How do I list only managers that added during the period?
Sort by bought (the default) and read boughtDuringPeriod; managers that only held or cut come after those that added.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?ticker=AAPL&startDate=2024-01-15&endDate=2024-12-15&sort=bought&size=5"
How do I focus on large positions?
Use minShares: only managers whose largest quarter-end position reached it are returned.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?ticker=MSFT&startDate=2024-03-01&endDate=2024-09-30&minShares=10000000&size=5"
How do I see the managers that cut the most?
sort=net puts the largest net increases first; read the end of the list, or filter netSharesChange below zero in your code.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?ticker=AAPL&startDate=2024-01-15&endDate=2024-12-15&sort=net&size=5"
What if the class period is shorter than a quarter?
The report uses the quarter end before the start and the one after the end, so a two-month period still compares two quarter ends.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?ticker=AAPL&startDate=2024-04-10&endDate=2024-05-20&size=3"
What if the stock changed CUSIP during the window?
Pass both CUSIPs, comma separated. The report adds a warning when holder counts jump in a way that suggests a missing CUSIP.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?cusip=86800U302,86800U104&startDate=2024-01-15&endDate=2024-12-15&size=3"
How do I print it for a memo?
format=pdf returns a printable table of up to 500 managers, with totals and the limits note.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?ticker=AAPL&startDate=2024-01-15&endDate=2024-12-15&format=pdf&sort=shares"
How do I check where a number came from?
Every held quarter carries accessionNo and filed. Open the filing on EDGAR, or pull its rows with /v1/form-13f/holdings?accessionNo=.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/reports/class-period-holders?ticker=AAPL&startDate=2024-01-15&endDate=2024-12-15&size=1"
Errors
- 400 when startDate or endDate is missing or not YYYY-MM-DD, endDate is before startDate, or the window spans more than 12 quarter ends.
- 400 when neither ticker nor cusip is given, or a CUSIP is not 9 characters.
- 402 for format=csv or pdf with a trial or free key.
- 404 when a ticker is not on the SEC 13(f) list, or the company is not available.
See also the error codes every endpoint shares.
Try it with your own key
Free key, no card needed.