sec_fundamentals_as_of
Pack: sec-fundamentals · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/sec_fundamentals_as_of for the schema, then POST the same URL with its arguments for the data.
POINT-IN-TIME company fundamentals with no look-ahead: what a US public company’s financial statements said ON A GIVEN DATE, using only values the company had FILED with the SEC on or before that date. A later restatement cannot leak backwards: ask for 2009-12-31 and you get the figure as first reported, ask for 2010-02-01 and you get the restated one. Send company (ticker, CIK or exact company name) and as_of (YYYY-MM-DD; omit for today). Returns, for each requested standard concept (revenue, net_income, eps_diluted, total_assets, total_liabilities, equity, cash, operating_cash_flow, capex, long_term_debt, shares_outstanding by default; 70+ available, see sec_fundamentals_concepts), the most recent reporting periods known on that date, newest first, each with value, period start and end, calendar period label, filing date, form, accession and whether that period had already been restated by then. period selects annual, quarterly (discrete quarters) or all windows (including 6- and 9-month year-to-date). Discrete Q4 is not reported by filers and is not derived here; use edgar_company_concept for derived Q4 on a live lookup. An as_of before the company’s first filing returns found:false with empty_reason as_of_before_first_filing and the earliest filing date, never an empty success. Covers XBRL-era filings (2009 onward). Every response carries data_as_of (newest filing in the data) and source. For one line’s full revision history use sec_fundamentals_restatements; for a cross-company screen use sec_fundamentals_frame.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
company | string | yes | Ticker (“AAPL”, “BRK-B”), CIK (“320193”) or exact company name. |
as_of | string | no | YYYY-MM-DD. Only values filed on or before this date are used. Omit for today. |
concepts | array | no | Standard concept keys such as “revenue”, “net_income”, “total_assets” (list with sec_fundamentals_concepts), or [“all”] for every concept the company reports. Friendly aliases like “sales” or “eps” are accepted. Default: 11 headline concepts. |
items | string | no | |
period | string | no | annual (default): fiscal-year flows and fiscal-year-end balances. quarterly: discrete quarters and quarter-end balances. all: every window, including year-to-date. |
periods | number | no | How many most recent reporting periods per concept, 1 to 40. Default 1 for annual, 4 for quarterly, 8 for all. |
Example call
Arguments
{
"company": "AAPL",
"as_of": "2010-02-01",
"concepts": [
"revenue",
"net_income",
"total_assets"
],
"period": "annual",
"periods": 3
}
curl
curl -X POST https://gateway.pipeworx.io/sec-fundamentals/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sec_fundamentals_as_of","arguments":{"company":"AAPL","as_of":"2010-02-01","concepts":["revenue","net_income","total_assets"],"period":"annual","periods":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('sec_fundamentals_as_of', {
"company": "AAPL",
"as_of": "2010-02-01",
"concepts": [
"revenue",
"net_income",
"total_assets"
],
"period": "annual",
"periods": 3
});
Response shape
| Field | Type | Description |
|---|---|---|
company | object | |
as_of | string | |
as_of_defaulted | boolean | |
period | string | |
data_as_of | string | |
source | string | |
found | boolean | |
concepts | array | |
notes | array |
Full JSON Schema
{
"type": "object",
"properties": {
"company": {
"type": "object",
"properties": {
"cik": {
"type": "number"
},
"name": {
"type": "string"
},
"tickers": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
},
"as_of": {
"type": "string"
},
"as_of_defaulted": {
"type": "boolean"
},
"period": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"source": {
"type": "string"
},
"found": {
"type": "boolean"
},
"concepts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"concept": {
"type": "string"
},
"label": {
"type": "string"
},
"unit": {
"type": "string"
},
"found": {
"type": "boolean"
},
"periods_available": {
"type": "number"
},
"periods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period": {
"type": "string"
},
"duration": {
"type": "string"
},
"start": {
"type": [
"string",
"null"
]
},
"end": {
"type": "string"
},
"value": {
"type": "number"
},
"filed": {
"type": "string"
},
"form": {
"type": "string"
},
"accession": {
"type": "string"
},
"tag": {
"type": "string"
},
"restated_by_as_of": {
"type": "boolean"
},
"first_reported_value": {
"type": "number"
},
"first_filed": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the sec-fundamentals pack
{
"mcpServers": {
"sec-fundamentals": {
"url": "https://gateway.pipeworx.io/sec-fundamentals/mcp"
}
}
}
See Getting Started for client-specific install steps.