EDGAR Form 13F data set head (one table, bounded)
GET /api/edgar-13f-dataset-headA bounded head of ONE table in a Form 13F data set, read with two byte-range requests against sec.gov (the archive's central directory plus the first 256 KB of the chosen table) so the multi-hundred-MB zip is never downloaded. Send GET /api/edgar-13f-dataset-head with no required fields (3 optional) and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with dataSet, archiveBytes, zip64, members, table and 9 more.
Returns the archive's members with sizes, the table's columns and its first rows (1-200, default 25) as objects: SUMMARYPAGE (per filing: holdings count, total value, confidential-omission flag), SUBMISSION (accession, filer CIK, period, form), COVERPAGE (manager name and address, amendment flags), INFOTABLE (the holdings rows), OTHERMANAGER, OTHERMANAGER2, SIGNATURE. dataSet is an id from edgar-13f-datasets or latest. partial says whether the table was read in full.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
dataSet | string | no | Data set id from edgar-13f-datasets (e.g. "01jun2026-31aug2026" or "2013q2"), or "latest" (default). |
table | string | no | SUBMISSION, COVERPAGE, OTHERMANAGER, OTHERMANAGER2, SIGNATURE, SUMMARYPAGE (default) or INFOTABLE. |
rows | number | no | Rows to return from the head of the table (1-200, default 25). |
Example request
curl -i "https://agent402.tools/api/edgar-13f-dataset-head?dataSet=latest&table=SUMMARYPAGE&rows=5"
Without payment this returns HTTP 402 Payment Required with the exact price for edgar-13f-dataset-head; any x402 v2 or MPP client pays it and retries.
Example response
{
"dataSet": {
"id": "01jun2026-31aug2026",
"label": "2026 June July August 13F",
"from": "2026-06-01",
"to": "2026-08-31",
"quarter": null,
"url": "https://www.sec.gov/files/datastandardsinnovation/data/form-13f-data-sets/01jun2026-31aug2026_form13f.zip",
"sizeMb": 96.05
},
"archiveBytes": 100719015,
"zip64": false,
"members": [
{
"name": "SUMMARYPAGE.tsv",
"bytes": 382912,
"compressedBytes": 126238,
"method": "deflate"
}
],
"table": "SUMMARYPAGE",
"file": "SUMMARYPAGE.tsv",
"columns": [
"ACCESSION_NUMBER",
"OTHERINCLUDEDMANAGERSCOUNT",
"TABLEENTRYTOTAL",
"TABLEVALUETOTAL",
"ISCONFIDENTIALOMITTED"
],
"rowsReturned": 1,
"rows": [
{
"ACCESSION_NUMBER": "0002134841-26-000139",
"OTHERINCLUDEDMANAGERSCOUNT": "0",
"TABLEENTRYTOTAL": "91",
"TABLEVALUETOTAL": "147088596",
"ISCONFIDENTIALOMITTED": "N"
}
],
"partial": false,
"bytesRead": 192774,
"note": "The whole SUMMARYPAGE.tsv member was read; rows is the first 5 of it.",
"readmeUrl": "https://www.sec.gov/files/form_13f_readme.pdf",
"source": "https://www.sec.gov/files/datastandardsinnovation/data/form-13f-data-sets/01jun2026-31aug2026_form13f.zip"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
dataSet | object | yes | 7 fields: id, label, from, to, quarter, url |
archiveBytes | number | yes | 100719015 |
zip64 | boolean | yes | false |
members | array of objects | yes | 1 item in the example |
table | string | yes | SUMMARYPAGE |
file | string | yes | SUMMARYPAGE.tsv |
columns | array of string | yes | 5 items in the example |
rowsReturned | number | yes | 1 |
rows | array of objects | yes | 1 item in the example |
partial | boolean | yes | false |
bytesRead | number | yes | 192774 |
note | string | yes | The whole SUMMARYPAGE.tsv member was read; rows is the first 5 of it. |
readmeUrl | string | yes | https://www.sec.gov/files/form_13f_readme.pdf |
source | string | yes | https://www.sec.gov/files/datastandardsinnovation/data/form-13f-data-sets/01j... |
From an MCP client
catalog.call {
"slug": "edgar-13f-dataset-head",
"params": {
"dataSet": "latest",
"table": "SUMMARYPAGE",
"rows": 5
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for edgar-13f-dataset-head; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
- Every field is optional. An input the tool rejects returns an HTTP 4xx whose body carries
error,tool,expected,requiredandexample. - A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
POSTwith a JSON body to /api/edgar-13f-dataset-head is served as this GET, with the body as the input. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/edgar-13f-dataset-head?dataSet=latest&table=SUMMARYPAGE&rows=5");
Related tools
EDGAR Form 13F data sets (index)
GET /api/edgar-13f-datasetsThe SEC's bulk Form 13F Data Sets: every quarterly (2013Q2-2023Q4) and rolling three-month (2024-) archive the SEC publi…
EDGAR 13F-HR holdings (institutional positions)
GET /api/edgar-13f-holdingsTop holdings from an institutional investment manager's most recent 13F-HR filing (managers >$100M AUM file quarterly). …
Fund portfolio report (13F, grounded)
POST /v1/fundHand over an institutional manager (a fund name like "Berkshire Hathaway", a ticker, or a SEC CIK) and get one cited rep…
Fund portfolio report - MAX (deep)
POST /v1/fund/maxThe deep tier: the full holdings table, wider quarter-over-quarter change analysis, more grounded web research, and a lo…
Company financials summary
GET /api/company-financialsKey financial metrics (Revenue, Net Income, Operating Income, Total Assets, Liabilities, Equity, EPS, Operating Cash Flo…
EDGAR XBRL company-concept (one tag, full history)
GET /api/edgar-company-conceptFull reported history of a single XBRL concept for one company (e.g. quarterly Revenues for Apple). Each datapoint cites…