SEC Fundamentals: point-in-time US public company financials, with no look-ahead.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
The first call for any question whose answer needs an authoritative source: official statistics (FRED, BLS, national statistics offices), SEC and other company filings, company and property registers, regulatory and government records, FDA drug data, USPTO patents, clinical-trial registries, court records, and similar primary-source data. It also answers live weather, markets, crypto, sports, news and academic-paper questions. Routes the question to the right one of 8,003 tools across 2098 verified sources, fills arguments, returns the structured answer with stable pipeworx:// citation URIs. Use it when the user asks "what is", "look up", "find", "get the latest", "how much" or "current" about a figure, filing or record that a publisher of record holds. Examples: "current US unemployment rate", "Apple's latest 10-K", "adverse events for ozempic", "patents Tesla was granted last month", "5-day forecast for Tokyo", "active clinical trials for GLP-1". START HERE among the Pipeworx tools, this is the default entry point, works on every tier, one fast call. Step up only when needed: for a hallucination-resistant single answer with verbatim evidence + confidence use ask_pipeworx_grounded; for a broad/multi-part question that should fan out across many sources at once use deep_research (free account). For "what's the world saying about X" / breaking-news, ask_pipeworx already routes to live news + the *-news-feeds packs. Optionally pass packs:["slug","slug"] to restrict routing to specific sources ("answer this using THESE packs"); omit it for full-catalog routing.
Your question or request in natural language. Accepts query, q, prompt, text, input, ask, message as aliases.
Alias for question.
Alias for question.
Alias for question.
Alias for question.
OPTIONAL. Restrict routing to these pack slugs (e.g. ["sec-form-d","sec-13f"]), the router then picks only from tools in those packs. Omit for the default full-catalog routing. Slugs come from list_packs / search_packs / https://pipeworx.io/directory; unlisted or unknown slugs are ignored and named in _meta.pack_scope.ignored, and if none of them resolves the question is routed across the whole catalog with _meta.pack_scope.full_catalog:true (never an empty answer).
Alias for question.
Alias for question.
Alias for question.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http sec-fundamentals https://gateway.pipeworx.io/sec-fundamentals/mcp
The first call for any question whose answer needs an authoritative source: official statistics (FRED, BLS, national statistics offices), SEC and other company filings, company and property registers, regulatory and government records, FDA drug data, USPTO patents, clinical-trial registries, court records, and similar primary-source data. It also answers live weather, markets, crypto, sports, news and academic-paper questions. Routes the question to the right one of 8,003 tools across 2098 verified sources, fills arguments, returns the structured answer with stable pipeworx:// citation URIs. Use it when the user asks "what is", "look up", "find", "get the latest", "how much" or "current" about a figure, filing or record that a publisher of record holds. Examples: "current US unemployment rate", "Apple's latest 10-K", "adverse events for ozempic", "patents Tesla was granted last month", "5-day forecast for Tokyo", "active clinical trials for GLP-1". START HERE among the Pipeworx tools, this is the default entry point, works on every tier, one fast call. Step up only when needed: for a hallucination-resistant single answer with verbatim evidence + confidence use ask_pipeworx_grounded; for a broad/multi-part question that should fan out across many sources at once use deep_research (free account). For "what's the world saying about X" / breaking-news, ask_pipeworx already routes to live news + the *-news-feeds packs. Optionally pass packs:["slug","slug"] to restrict routing to specific sources ("answer this using THESE packs"); omit it for full-catalog routing.
| Argument | Type | Description |
|---|---|---|
| q | string | Alias for question. |
| ask | string | Alias for question. |
| text | string | Alias for question. |
| input | string | Alias for question. |
| packs | array | OPTIONAL. Restrict routing to these pack slugs (e.g. ["sec-form-d","sec-13f"]), the router then picks only from tools in those packs. Omit for the default full-catalog routing. Slugs come from list_packs / search_packs / https://pipeworx.io/directory; unlisted or unknown slugs are ignored and named in _meta.pack_scope.ignored, and if none of them resolves the question is routed across the whole catalog with _meta.pack_scope.full_catalog:true (never an empty answer). |
| query | string | Alias for question. |
| prompt | string | Alias for question. |
| message | string | Alias for question. |
| question* | string | Your question or request in natural language. Accepts query, q, prompt, text, input, ask, message as aliases. |
{
"type": "object",
"examples": [
{
"question": "What was Apple's revenue in 2024?"
},
{
"question": "Any recent SEC filings for $NVDA?"
},
{
"question": "Current price of bitcoin"
}
],
"required": [
"question"
],
"properties": {
"q": {
"type": "string",
"description": "Alias for question."
},
"ask": {
"type": "string",
"description": "Alias for question."
},
"text": {
"type": "string",
"description": "Alias for question."
},
"input": {
"type": "string",
"description": "Alias for question."
},
"packs": {
"type": "array",
"items": {
"type": "string"
},
"description": "OPTIONAL. Restrict routing to these pack slugs (e.g. [\"sec-form-d\",\"sec-13f\"]), the router then picks only from tools in those packs. Omit for the default full-catalog routing. Slugs come from list_packs / search_packs / https://pipeworx.io/directory; unlisted or unknown slugs are ignored and named in _meta.pack_scope.ignored, and if none of them resolves the question is routed across the whole catalog with _meta.pack_scope.full_catalog:true (never an empty answer)."
},
"query": {
"type": "string",
"description": "Alias for question."
},
"prompt": {
"type": "string",
"description": "Alias for question."
},
"message": {
"type": "string",
"description": "Alias for question."
},
"question": {
"type": "string",
"description": "Your question or request in natural language. Accepts query, q, prompt, text, input, ask, message as aliases."
}
}
}Hallucination-resistant answer mode for high-stakes reads. Same routing as ask_pipeworx, picks the right tool from 8,003 across 2098 sources, fills arguments, fetches the data, then EXTRACTS the answer using ONLY what the tool result contains. Returns {answer, evidence (verbatim quote), confidence, source, fetched_at, refusal_reason:null} on success, OR an explicit refusal {answer:null, refusal_reason:"not_in_source"|"no_tool_match"|"tool_error"|"data_truncated"|"llm_error"} when the data doesn't directly answer. An "llm_error" also carries refusal_cause ("wall" = our time budget ended before any model call was made; "route"|"threw"|"unparseable"|"wall_after_failure" = a model call failed); refusal_reason itself is unchanged. Use whenever an answer will be quoted, cited, or acted on, and the agent must not invent facts (financial verdicts, legal claims, medical lookups, public statements). Costs one extra LLM call vs ask_pipeworx, prefer ask_pipeworx for casual lookups.
| Argument | Type | Description |
|---|---|---|
| q | string | Alias for question. |
| ask | string | Alias for question. |
| text | string | Alias for question. |
| input | string | Alias for question. |
| query | string | Alias for question. |
| prompt | string | Alias for question. |
TYPED, DETERMINISTIC financial facts for a US public company for a NAMED reporting period, "Apple revenue for fiscal 2023", "Walmart net income FY2026 Q3", "Microsoft cash at the end of fiscal 2024", or for the MOST RECENT reported period when you leave `period` out ("NVIDIA revenue in its most recent quarter", "Apple's latest net income"): the answer then names the period it resolved to (`period_resolution`) and says when a newer 8-K earnings release exists than the latest 10-Q/10-K (`newer_earnings_release`). PREFER OVER entity_profile / get_company_financials whenever the period matters: those answer "the most recent figures" and will happily hand back FY2025 when you asked about FY2019, and neither separates a discrete quarter from a year-to-date figure. This one refuses instead, it NEVER substitutes the latest period for the period requested, NEVER returns 0 for missing data, NEVER lets a 9-month YTD number answer a quarterly question, and NEVER converts a currency. Every answer carries the exact us-gaap concept it came from, what that concept MEASURES (NetIncomeLoss excludes non-controlling interests, ProfitLoss includes them, not synonyms), the accession number and a link to the filing on sec.gov, the restatement trail of any superseded figures, and a contract + derivation version to pin against. Fiscal periods are the FILER'S OWN, anchored on their fiscal-year end, so Walmart's year ending 2026-01-31 is FY2026 and Apple's ending 2025-09-27 is FY2025. Attributes: revenue, net_income, cash, gross_profit, operating_income, eps_diluted, capex, operating_cash_flow, long_term_debt, shares_outstanding (the dei COVER-PAGE share count, so its period end is the cover date, after the quarter closed, that is the most current count the filing carries). Units are not all USD: shares_outstanding is in `shares` with currency null, eps_diluted in `USD/shares`. A discrete quarter the filer never filed, every Q4, and Q2/Q3 of cash-flow lines, which are filed year-to-date, is DERIVED as YTD(q) minus YTD(q-1) and comes back with `reported: false`, the subtraction named in `derivation` (fy_minus_9m / ytd_9m_minus_6m / ytd_6m_minus_3m) and both legs with their filings in `derived_from`; test `reported` if you will only accept a figure lifted from a filing. Per-share and balance-sheet figures are NEVER derived. Every non-answer is a named status, `unavailable` (the filer did not report it for that period; the periods that DO exist are listed, without values), `unsupported` (outside what v1 covers, a non-us-gaap filer, an unknown attribute, a non-USD unit), `ambiguous` (the company name matched two filers equally well; both are named), `conflicting` (two filings the same day disagree; both are returned and neither is picked), `partial` (a value with no accession behind it). Source: SEC EDGAR, XBRL financial facts, one publisher read once, see `corroboration`. Same response is served at POST https://gateway.pipeworx.io/v1/facts for non-MCP callers.
Search the NATIONAL BUSINESS REGISTERS by company name and get the register's own id back, a Companies House number, a Norwegian organisasjonsnummer, a Finnish business id, a SIREN, a Japanese corporate number, an Estonian registry code, a CRO number, a CNPJ, a US state entity number, or an LEI. Use this when you want the OFFICIAL REGISTERED ENTITY. Registers searched: Companies House (GB), Enhetsregisteret (NO), PRH/YTJ (FI), Sirene (FR), 法人番号公表サイト (JP), RIK e-Business Register (EE), the Companies Registration Office (IE), the US STATE business registers (one per state the sos-entities pack covers; pass country "US", optionally with a two-letter `state`), and the GLEIF LEI crosswalk, which reaches jurisdictions we have no register pack for (DE, SE, AU, SG...). US EXAMPLE: {name: "IPQualityScore LLC", country: "US", state: "FL"} returns the Florida entity number. A US company is formed in ONE state and may also be registered as a FOREIGN entity in others, so without `state` every covered state register is searched and the several registrations of one company come back as ONE match, which says whether the register it names is the company's own or a foreign registration and names the state it was formed in (Browserbase Inc. is a Delaware corporation found in New York). Delaware (`state` DE) and Wyoming (WY) are searched as a register copy, not a live lookup: each row carries its date in `data_as_of`, and a status the copy does not state is `unknown`, never active. A state we hold no register for (California and most others) is SAID so, and is answered from GLEIF (the state file number GLEIF holds for the company, returned as `gleif_state_registration` and labelled as GLEIF's copy, not a lookup in the state's register) and SEC EDGAR (the registrant's state of incorporation, `sec_state_of_incorporation`), with the counts and what a miss means in `state_coverage.indirect_sources` and the explanation; the covered registers are also searched for foreign registrations of a company formed there. A company with neither an LEI nor an SEC filing is not found, so a miss is never proof it is not a company of that state. With `state`, `match_status: "matched"` means the row is that state's own register or says the company was formed there; a same-name registration in another register that does not say where the company was formed comes back as a candidate with `match_scope: "formation_unstated"` ("other_formation" when it states another place of formation), never as the match, and `registered_elsewhere` counts those registrations as evidence the company exists, none about the state. Without `country`, a name that two jurisdictions both hold exactly is `ambiguous` with both rows listed, never decided by a status or LEI penalty (pass `country` to choose); with `country` US and no `state`, SEC EDGAR is asked too, and a state register that could not answer is named under `unavailable_registers` without voiding an exact-form match. For a state we hold no register for (CA and others) the other states' registers are where a foreign registration would be found, so when more than a quarter of them could not answer a no_match comes back `incomplete` (retry) with them listed under `fanout_incomplete` and `unavailable_registers`, never as a clean no_match. For US public companies prefer resolve_entity (CIK + ticker + FIGI). THIS TOOL REFUSES TO GUESS, and that is its point: when two different companies match a name equally well it answers `match_status: "ambiguous"` with BOTH, rather than naming one. A one-word trading name usually IS ambiguous, "Bolt", "Apple", "Next", "Sea", "DNB" each match a well-known group AND unrelated micro-entities whose registered name is exactly that word, so pass `country` when you know it. Every response names EVERY register it asked under `searched[]`, with that register's own as-of date and row count, and a register that could not be reached carries an `error` there rather than reading as zero rows: "we could not ask Companies House" is never the same answer as "this company is not in Britain". `related[]` holds entities that collapsed INTO the match, the same company seen through another register, or another country's arm sharing its LEI, so a multinational returns one answer rather than tying with itself. NOT A PEOPLE SEARCH: sole traders and other natural persons are excluded on the publisher's own legal-form field, never guessed from the shape of a name. resolve_entity shares this matcher and returns these register fields too, but searches the US state registers only through this tool.
Find tools by describing the data or task. Use when you need to browse, search, look up, or discover what tools exist for: SEC filings, financials, revenue, profit, FDA drugs, adverse events, FRED economic data, Census demographics, BLS jobs/unemployment/inflation, ATTOM real estate, ClinicalTrials, USPTO patents, weather, news, crypto, stocks. Returns the top-N most relevant tools with names, descriptions, and full input schemas (with curated examples), each result is ready to call directly, no second schema lookup needed. Call this FIRST when you have many tools available and want to see the option set (not just one answer).
| Argument | Type | Description |
|---|---|---|
| q | string | Alias for query. |
| task | string | Alias for query. |
| limit | number | Maximum number of tools to return (default 20, max 50) |
| query* | string | Natural language description of what you want to do (e.g., "analyze housing market trends", "look up FDA drug approvals", "find trade data between countries"). Accepts task, q, description, search as aliases. |
| search | string | Alias for query. |
| description | string | Alias for query. |
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.
| Argument | Type | Description |
|---|---|---|
| as_of | string | YYYY-MM-DD. Only values filed on or before this date are used. Omit for today. |
| period | string | annual (default): fiscal-year flows and fiscal-year-end balances. quarterly: discrete quarters and quarter-end balances. all: every window, including year-to-date. |
List the standard financial concepts the SEC fundamentals tools understand: the short key to pass as `concept` (revenue, net_income, total_assets, eps_diluted, operating_cash_flow, capex, long_term_debt, shares_outstanding and about 70 more), its label, statement (income, balance, cashflow, per_share, cover, other), whether it is a duration (flow) or a balance at a date (instant), its unit, and the ordered XBRL tags it is read from (the first tag a filer reports for a period wins, so companies that changed tags still get one continuous series). Filter with `statement` or a `search` word. Also returns friendly aliases ("sales" for revenue, "eps" for eps_diluted) and the store's `data_as_of`, company count and period coverage. Call this first when you do not know the concept key. Every response carries `data_as_of` and `source`.
| Argument | Type | Description |
|---|---|---|
| search | string | Case-insensitive word matched against key, label and tags. |
| statement | string | Only concepts from this statement. |
{
"type": "object",
"examples": [
{
"statement": "balance"
}
],
"properties": {
"search": {
"type": "string",
"description": "Case-insensitive word matched against key, label and tags."
},
"statement": {
"enum": [
"income",
"balance",
"cashflow",
"per_share",
"cover",
"other"
],
"type": "string",
"description": "Only concepts from this statement."
}
}
}CROSS-COMPANY screen of one financial concept in one period, as known on a date: every US filer's value of (for example) revenue for CY2023, or total_assets at CY2024Q2I, ranked, with no look-ahead. Send `concept` (standard key, e.g. "revenue", "net_income", "total_assets", "operating_cash_flow"; see sec_fundamentals_concepts) and `period` in calendar form: CY2023 (a full year), CY2023Q1 (a discrete quarter) or CY2023Q4I (a balance-sheet date; the I is added for you on balance-sheet concepts, and "2023" means CY2023Q4I there). Fiscal periods are aligned to the nearest calendar period, as in the SEC frames convention (a September fiscal year end lands in the calendar year that holds most of the fiscal year). `as_of` (YYYY-MM-DD, default today) keeps only values filed on or before it, so a later restatement or a company that had not yet filed cannot change the answer. Optional `min_value`, `max_value`, `sort` (desc default, asc) and `limit` (1 to 500, default 50) shape the screen; `count_total` reports how many companies matched before the cut. Each row has company name, ticker, CIK, value, period start and end, filing date, form and accession. An `as_of` before any filing of that period returns found:false with the earliest filing date. Every response carries `data_as_of` and `source`.
| Argument | Type | Description |
|---|---|---|
| sort | string | Rank by value, largest first (default) or smallest first. |
| as_of | string | YYYY-MM-DD. Only values filed on or before this date. Omit for today. |
| limit | number | Rows returned, 1 to 500. Default 50. |
| period* | string |
Full REVISION HISTORY of one financial line for one US public company: every reporting period whose reported value changed between filings, with each version, the date it was filed, the form and accession, and the change in absolute and percent terms. Use it to see how Apple's fiscal 2007 revenue moved from 24,006M to 24,578M when a later filing recast it, or to check whether a figure you pulled earlier has since been revised. Send `company` (ticker, CIK or exact name) and `concept` (standard key such as "revenue", "net_income", "total_assets", "eps_diluted"; list with sec_fundamentals_concepts). Optional `period_end` (YYYY-MM-DD) narrows to one reporting period, `as_of` hides versions filed after that date, `include_unrevised:true` also lists periods that never changed. Only the first filing of each distinct value is listed (a later filing repeating the same number is not a revision). Stock splits show up as revisions of per-share and share-count lines. Covers XBRL-era filings (2009 onward); the original pre-XBRL report of an older period is not in the data, so its first version here is the earliest XBRL filing that carried it. Every response carries `data_as_of` and `source`.
| Argument | Type | Description |
|---|---|---|
| as_of | string | Optional YYYY-MM-DD: ignore versions filed after this date. |
| limit | number | Max periods returned, newest first, 1 to 200. Default 50. |
| company* | string | Ticker, CIK or exact company name. |
| concept* | string | Standard concept key, e.g. "revenue", "net_income", "total_assets". |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 4, 2026.
A very long tool description (over 4,000 characters) is hard to review and easy to hide instructions in.
Fix: Keep the description to what the tool does and when to use it; move reference material to resources or docs.
| message |
| string |
| Alias for question. |
| question* | string | Your question in natural language. Accepts query, q, prompt, text, input, ask, message as aliases. |
| prefer_tool | string | Run this exact tool instead of letting the router choose, use a name from a previous answer's alternatives[]. Arguments are still filled from your question. Unknown names are refused, never guessed. |
{
"type": "object",
"examples": [
{
"question": "What was Apple's fiscal 2023 revenue?"
}
],
"required": [
"question"
],
"properties": {
"q": {
"type": "string",
"description": "Alias for question."
},
"ask": {
"type": "string",
"description": "Alias for question."
},
"text": {
"type": "string",
"description": "Alias for question."
},
"input": {
"type": "string",
"description": "Alias for question."
},
"query": {
"type": "string",
"description": "Alias for question."
},
"prompt": {
"type": "string",
"description": "Alias for question."
},
"message": {
"type": "string",
"description": "Alias for question."
},
"question": {
"type": "string",
"description": "Your question in natural language. Accepts query, q, prompt, text, input, ask, message as aliases."
},
"prefer_tool": {
"type": "string",
"description": "Run this exact tool instead of letting the router choose, use a name from a previous answer's alternatives[]. Arguments are still filled from your question. Unknown names are refused, never guessed."
}
}
}| Argument | Type | Description |
|---|---|---|
| as_of | string | Past ISO timestamp with timezone. Replay the latest answer actually recorded by that instant; no invented history or live fallback. |
| basis | string | Only "consolidated" in v1. Segment and product-level figures are XBRL-dimensioned and are not reachable through this contract at any concept. |
| period | object | The reporting period. LEAVE IT OUT when the question names none and asks for the newest ("recent quarter", "latest", "last reported", "newest"): the answer states which period it resolved to and whether a newer 8-K earnings release exists. Never work a fiscal year out from today's date: the fiscal calendar is the filer's own, so a guessed year returns a different quarter. Pass it only for a period the question names: {type, fiscal_year, fiscal_quarter} in the filer's own fiscal year, or {end_date}. {latest: true, type: "annual"} asks for the latest fiscal year. |
| company* | string | Ticker ("AAPL"), 10-digit CIK ("0000320193"), or company name. A name that matches two filers equally well returns status "ambiguous" with both named rather than guessing, pass a ticker or CIK to be certain. |
| max_age | number | Maximum age in seconds of the upstream publication, not our fetch. Older or undated facts are withheld. |
| attribute* | string | Which figure. "revenue" = total consolidated revenue; "net_income" = net income (loss); "cash" = cash and cash equivalents at the period end; "gross_profit"; "operating_income"; "eps_diluted" (diluted EPS, unit USD/shares, never derived or summed); "capex" (cash paid for PP&E); "operating_cash_flow" (net cash from operating activities); "long_term_debt" (the noncurrent balance-sheet line where the filer tags it, else total long-term debt, `fact.measure` says which); "shares_outstanding" (dei cover-page common shares, unit "shares", as of the COVER DATE rather than the period end). |
| freshness | string | cached (default) permits an eligible stored answer; fresh requires an upstream refresh and never silently falls back to stale data. |
| restatement | string | Default "as_amended", the latest filed figure for the period, with everything it superseded listed. "as_originally_reported" takes the first filing instead. |
| exclude_publishers | array | Publisher ids forbidden for fact retrieval: sec, fmp, alphavantage. Case and surrounding whitespace are normalized; unknown ids are refused. Excluding sec currently leaves no eligible fact source and returns unavailable/sources_excluded with the selection reasons. Identity and fiscal-calendar lookups may still use SEC; no excluded financial concept is fetched. |
{
"type": "object",
"examples": [
{
"period": {
"type": "annual",
"fiscal_year": 2023
},
"company": "AAPL",
"attribute": "revenue"
},
{
"period": {
"type": "quarterly",
"fiscal_year": 2026,
"fiscal_quarter": 2
},
"company": "TSLA",
"attribute": "shares_outstanding"
},
{
"period": {
"type": "quarterly",
"fiscal_year": 2026,
"fiscal_quarter": 2
},
"company": "TSLA",
"attribute": "capex"
},
{
"period": {
"type": "quarterly",
"fiscal_year": 2025,
"fiscal_quarter": 4
},
"company": "TSLA",
"attribute": "net_income"
},
{
"company": "NVDA",
"attribute": "revenue"
}
],
"required": [
"company",
"attribute"
],
"properties": {
"as_of": {
"type": "string",
"description": "Past ISO timestamp with timezone. Replay the latest answer actually recorded by that instant; no invented history or live fallback."
},
"basis": {
"enum": [
"consolidated"
],
"type": "string",
"description": "Only \"consolidated\" in v1. Segment and product-level figures are XBRL-dimensioned and are not reachable through this contract at any concept."
},
"period": {
"type": "object",
"required": [],
"properties": {
"type": {
"enum": [
"annual",
"quarterly"
],
"type": "string",
"description": "\"annual\" = the full fiscal year. \"quarterly\" = ONE discrete quarter, never a year-to-date figure."
},
"latest": {
"type": "boolean",
"description": "true = the newest reported period (same as leaving period out). With type \"annual\", the latest fiscal year; with \"quarterly\", the latest quarter. Ignored, and said so, when fiscal_year is also given."
},
"end_date": {
"type": "string",
"description": "Instead of fiscal_year: a period-END date, YYYY-MM-DD (\"cash as of 2020-12-31\"). Matches the reported period ending that day, or the nearest ending up to 7 days before it (52/53-week filers); response period_match says which. No match is refused with the nearest period ends reported."
},
"fiscal_year": {
"type": "number",
"description": "The FILER'S fiscal year, the year the period ends in by their own calendar. Walmart's year ending 2026-01-31 is 2026."
},
"fiscal_quarter": {
"type": "number",
"description": "1-4. Required when type is \"quarterly\"; rejected when type is \"annual\"."
}
},
"description": "The reporting period. LEAVE IT OUT when the question names none and asks for the newest (\"recent quarter\", \"latest\", \"last reported\", \"newest\"): the answer states which period it resolved to and whether a newer 8-K earnings release exists. Never work a fiscal year out from today's date: the fiscal calendar is the filer's own, so a guessed year returns a different quarter. Pass it only for a period the question names: {type, fiscal_year, fiscal_quarter} in the filer's own fiscal year, or {end_date}. {latest: true, type: \"annual\"} asks for the latest fiscal year."
},
"company": {
"type": "string",
"description": "Ticker (\"AAPL\"), 10-digit CIK (\"0000320193\"), or company name. A name that matches two filers equally well returns status \"ambiguous\" with both named rather than guessing, pass a ticker or CIK to be certain."
},
"max_age": {
"type": "number",
"maximum": 3155760000,
"minimum": 0,
"description": "Maximum age in seconds of the upstream publication, not our fetch. Older or undated facts are withheld."
},
"attribute": {
"enum": [
"revenue",
"net_income",
"cash",
"gross_profit",
"operating_income",
"eps_diluted",
"capex",
"operating_cash_flow",
"long_term_debt",
"shares_outstanding"
],
"type": "string",
"description": "Which figure. \"revenue\" = total consolidated revenue; \"net_income\" = net income (loss); \"cash\" = cash and cash equivalents at the period end; \"gross_profit\"; \"operating_income\"; \"eps_diluted\" (diluted EPS, unit USD/shares, never derived or summed); \"capex\" (cash paid for PP&E); \"operating_cash_flow\" (net cash from operating activities); \"long_term_debt\" (the noncurrent balance-sheet line where the filer tags it, else total long-term debt, `fact.measure` says which); \"shares_outstanding\" (dei cover-page common shares, unit \"shares\", as of the COVER DATE rather than the period end)."
},
"freshness": {
"enum": [
"cached",
"fresh"
],
"type": "string",
"description": "cached (default) permits an eligible stored answer; fresh requires an upstream refresh and never silently falls back to stale data."
},
"restatement": {
"enum": [
"as_amended",
"as_originally_reported"
],
"type": "string",
"description": "Default \"as_amended\", the latest filed figure for the period, with everything it superseded listed. \"as_originally_reported\" takes the first filing instead."
},
"exclude_publishers": {
"type": "array",
"items": {
"type": "string"
},
"description": "Publisher ids forbidden for fact retrieval: sec, fmp, alphavantage. Case and surrounding whitespace are normalized; unknown ids are refused. Excluding sec currently leaves no eligible fact source and returns unavailable/sources_excluded with the selection reasons. Identity and fiscal-calendar lookups may still use SEC; no excluded financial concept is fetched."
}
}
}| Argument | Type | Description |
|---|---|---|
| name* | string | The company name as you have it, in its own script. Pass it VERBATIM, do not strip the legal form ("Oyj", "AS", "株式会社", "Ltd"): in Japanese the form is a PREFIX as often as a suffix and 株式会社花王 and 花王株式会社 are DIFFERENT companies, so the form is often the only evidence that separates two candidates. Diacritics, full-width characters and kana are all handled. |
| limit | number | Maximum candidates to return, 1-50 (default 10). Does not change which registers are asked, only how many rivals come back. |
| state | string | OPTIONAL two-letter US state ("FL", "NY", "CO"...), with country "US" (implied when country is absent). It means the state where the company is registered or was formed, not where it is headquartered: a Delaware company headquartered in California is "DE", and passing its headquarters state asks a different question (omit `state` if you only know the headquarters). A state we hold a register for narrows the search to that register alone. Delaware and Wyoming are searched as a register copy, not a live lookup. A state we do not hold (California) is answered from GLEIF and SEC EDGAR, with the coverage stated in `state_coverage`, and every covered register is also searched for foreign registrations of a company formed there. Omit to search every covered state register. |
| country | string | OPTIONAL ISO 3166-1 alpha-2 of the register you mean ("GB", "NO", "FI", "FR", "JP", "EE", "IE", "US", "BR"). Narrows the fan-out, and is frequently the difference between an answer and `ambiguous` on a short name. The Irish register and the US state registers are asked ONLY when you pass "IE" or "US". The GLEIF crosswalk is asked whatever you pass, because for several jurisdictions it is the only register we can name at all. |
{
"type": "object",
"examples": [
{
"name": "Equinor ASA",
"country": "NO"
},
{
"name": "株式会社花王",
"country": "JP"
},
{
"name": "Bolt",
"country": "EE"
},
{
"name": "IPQualityScore LLC",
"state": "FL",
"country": "US"
},
{
"name": "Roadstone Limited",
"country": "IE"
}
],
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The company name as you have it, in its own script. Pass it VERBATIM, do not strip the legal form (\"Oyj\", \"AS\", \"株式会社\", \"Ltd\"): in Japanese the form is a PREFIX as often as a suffix and 株式会社花王 and 花王株式会社 are DIFFERENT companies, so the form is often the only evidence that separates two candidates. Diacritics, full-width characters and kana are all handled."
},
"limit": {
"type": "number",
"maximum": 50,
"minimum": 1,
"description": "Maximum candidates to return, 1-50 (default 10). Does not change which registers are asked, only how many rivals come back."
},
"state": {
"type": "string",
"description": "OPTIONAL two-letter US state (\"FL\", \"NY\", \"CO\"...), with country \"US\" (implied when country is absent). It means the state where the company is registered or was formed, not where it is headquartered: a Delaware company headquartered in California is \"DE\", and passing its headquarters state asks a different question (omit `state` if you only know the headquarters). A state we hold a register for narrows the search to that register alone. Delaware and Wyoming are searched as a register copy, not a live lookup. A state we do not hold (California) is answered from GLEIF and SEC EDGAR, with the coverage stated in `state_coverage`, and every covered register is also searched for foreign registrations of a company formed there. Omit to search every covered state register."
},
"country": {
"type": "string",
"description": "OPTIONAL ISO 3166-1 alpha-2 of the register you mean (\"GB\", \"NO\", \"FI\", \"FR\", \"JP\", \"EE\", \"IE\", \"US\", \"BR\"). Narrows the fan-out, and is frequently the difference between an answer and `ambiguous` on a short name. The Irish register and the US state registers are asked ONLY when you pass \"IE\" or \"US\". The GLEIF crosswalk is asked whatever you pass, because for several jurisdictions it is the only register we can name at all."
}
}
}{
"type": "object",
"examples": [
{
"query": "look up FDA drug approvals"
},
{
"query": "analyze housing market trends"
}
],
"required": [
"query"
],
"properties": {
"q": {
"type": "string",
"description": "Alias for query."
},
"task": {
"type": "string",
"description": "Alias for query."
},
"limit": {
"type": "number",
"description": "Maximum number of tools to return (default 20, max 50)"
},
"query": {
"type": "string",
"description": "Natural language description of what you want to do (e.g., \"analyze housing market trends\", \"look up FDA drug approvals\", \"find trade data between countries\"). Accepts task, q, description, search as aliases."
},
"search": {
"type": "string",
"description": "Alias for query."
},
"description": {
"type": "string",
"description": "Alias for query."
}
}
}| company* |
| string |
| Ticker ("AAPL", "BRK-B"), CIK ("320193") or exact company name. |
| periods | number | How many most recent reporting periods per concept, 1 to 40. Default 1 for annual, 4 for quarterly, 8 for all. |
| concepts | array | 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. |
{
"type": "object",
"examples": [
{
"as_of": "2010-02-01",
"period": "annual",
"company": "AAPL",
"periods": 3,
"concepts": [
"revenue",
"net_income",
"total_assets"
]
}
],
"required": [
"company"
],
"properties": {
"as_of": {
"type": "string",
"description": "YYYY-MM-DD. Only values filed on or before this date are used. Omit for today."
},
"period": {
"enum": [
"annual",
"quarterly",
"all"
],
"type": "string",
"description": "annual (default): fiscal-year flows and fiscal-year-end balances. quarterly: discrete quarters and quarter-end balances. all: every window, including year-to-date."
},
"company": {
"type": "string",
"description": "Ticker (\"AAPL\", \"BRK-B\"), CIK (\"320193\") or exact company name."
},
"periods": {
"type": "number",
"description": "How many most recent reporting periods per concept, 1 to 40. Default 1 for annual, 4 for quarterly, 8 for all."
},
"concepts": {
"type": "array",
"items": {
"type": "string"
},
"description": "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."
}
}
}| CY2023 (year), CY2023Q1 (quarter) or CY2023Q4I (balance-sheet date). "2023", "2023Q1" and "2023Q4I" are accepted. |
| concept* | string | Standard concept key, e.g. "revenue", "net_income", "total_assets". |
| max_value | number | Keep values at or below this number. |
| min_value | number | Keep values at or above this number (same unit as the concept). |
{
"type": "object",
"examples": [
{
"as_of": "2024-03-31",
"limit": 5,
"period": "CY2023",
"concept": "revenue"
}
],
"required": [
"concept",
"period"
],
"properties": {
"sort": {
"enum": [
"desc",
"asc"
],
"type": "string",
"description": "Rank by value, largest first (default) or smallest first."
},
"as_of": {
"type": "string",
"description": "YYYY-MM-DD. Only values filed on or before this date. Omit for today."
},
"limit": {
"type": "number",
"description": "Rows returned, 1 to 500. Default 50."
},
"period": {
"type": "string",
"description": "CY2023 (year), CY2023Q1 (quarter) or CY2023Q4I (balance-sheet date). \"2023\", \"2023Q1\" and \"2023Q4I\" are accepted."
},
"concept": {
"type": "string",
"description": "Standard concept key, e.g. \"revenue\", \"net_income\", \"total_assets\"."
},
"max_value": {
"type": "number",
"description": "Keep values at or below this number."
},
"min_value": {
"type": "number",
"description": "Keep values at or above this number (same unit as the concept)."
}
}
}| period_end | string | Optional YYYY-MM-DD: only the reporting period ending on this date. |
| include_unrevised | boolean | Also list periods whose value never changed. Default false. |
{
"type": "object",
"examples": [
{
"company": "AAPL",
"concept": "revenue"
}
],
"required": [
"company",
"concept"
],
"properties": {
"as_of": {
"type": "string",
"description": "Optional YYYY-MM-DD: ignore versions filed after this date."
},
"limit": {
"type": "number",
"description": "Max periods returned, newest first, 1 to 200. Default 50."
},
"company": {
"type": "string",
"description": "Ticker, CIK or exact company name."
},
"concept": {
"type": "string",
"description": "Standard concept key, e.g. \"revenue\", \"net_income\", \"total_assets\"."
},
"period_end": {
"type": "string",
"description": "Optional YYYY-MM-DD: only the reporting period ending on this date."
},
"include_unrevised": {
"type": "boolean",
"description": "Also list periods whose value never changed. Default false."
}
}
}