SEC 13F institutional holdings API for AI agents
Institutional investment managers report their holdings to the SEC every quarter on Form 13F. StockDatum turns the SEC's Form 13F data sets into JSON your agent can query by ticker or by OpenFIGI. Each row is one filer's change in one security between two consecutive quarter-ends: shares and value at each quarter-end, plus a change label such as NEW, ADD, HOLD, CUT or EXIT.
Rows come back largest holders first, sorted by value at the later quarter-end.
Price: $0.01 per call, paid in USDC on Base over x402. Flat for up to 200 rows (limit 1 to 200, default 50). The amount is always shown in the 402 response before your agent pays. Free sample: GET /sample/13f.
What you get back
Key fields (meanings as in the field reference):
| Field | What it is |
|---|---|
cik | CIK of the filer |
ticker, figi | Ticker and OpenFIGI id of the security |
period0, period1 | Prior quarter-end and the quarter-end this row reports |
shares0, shares1 | Shares at each quarter-end |
value0, value1 | Value at each quarter-end. Rows sort by value1, largest first |
change, change_pct | Quarter-on-quarter label (NEW, ADD, HOLD, CUT or EXIT) and percent |
split_factor | Split factor on the row, 1 when none is applied |
All fields returned: security_id, line, cik, ticker, figi, period0, period1, shares0, shares0_split_adj, shares1, value0, value1, change, change_pct, split_factor, split_basis, change_unverified.
Securities are named by ticker and OpenFIGI. The issuer name is not on the row.
A real row from the free sample
{
"security_id": "BBG000B9XRY4",
"line": 1,
"cik": 2012383,
"ticker": "AAPL",
"figi": "BBG000B9XRY4",
"period0": "2026-03-31",
"period1": "2026-06-30",
"shares0": 1144695425,
"shares0_split_adj": 1144695425,
"shares1": 1162996939,
"value0": 290512251859,
"value1": 336524794350,
"change": "ADD",
"change_pct": 1.6,
"split_factor": 1,
"split_basis": null,
"change_unverified": 0
}
Free sample
Try it with no payment: curl https://api.stockdatum.com/sample/13f returns 5 rows for the sample ticker AAPL, from the newest loaded quarter that is at least 24 hours old.
A paid call looks like this: curl -i "https://api.stockdatum.com/v1/13f?ticker=AAPL&limit=5". Unpaid, it returns HTTP 402 with the price.
How to call it
REST (x402). Send GET /v1/13f to https://api.stockdatum.com. Without payment you get HTTP 402 and a PAYMENT-REQUIRED header that states the price. Your x402 client signs 0.01 USDC on Base (eip155:8453, scheme exact) and retries with PAYMENT-SIGNATURE. Then the rows come back as JSON.
MCP. Connect to https://api.stockdatum.com/mcp (streamable HTTP, no API key) and call the f13 tool with the same parameters. A call without payment returns the price as an x402 payment request. See Connect over MCP.
x402 calls need no account or API key. You can also pay by card for prepaid credits. A valid call that returns zero rows is not charged.
Parameters
ticker or figi (one is required, and if both are set the row must match both), period (quarter-end YYYY-MM-DD ending 03-31, 06-30, 09-30 or 12-31, optional), limit (1 to 200, default 50).
FAQ
What is in a 13F row?
One filer's change in one security between two consecutive quarter-ends. It has shares and value at each quarter-end, a change label (NEW, ADD, HOLD, CUT or EXIT) and a change percent.
Which quarter do I get?
Leave period out and you get the newest loaded quarter that has rows for that ticker or FIGI. Set period to a quarter-end to ask for a specific one. The docs show the latest loaded quarter.
How are securities identified?
By ticker and by OpenFIGI id. security_id is the FIGI when the security has one, otherwise the ticker.
How much does a 13F call cost?
$0.01 per call, paid in USDC on Base over x402, flat for up to 200 rows.
When am I not charged?
A bad parameter returns HTTP 400 before any payment. A ticker or FIGI with no loaded rows, or a quarter with no rows, returns HTTP 404 before any payment. A valid call that returns zero rows is not charged.
Other datasets
All prices · API docs · Connect over MCP · Home
Data from public SEC filings, for information only. Not investment advice. StockDatum is not affiliated with or endorsed by the U.S. Securities and Exchange Commission.