Danish national election results (Statistics Denmark, final-count results, 2009 to the latest…
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 7,969 tools across 2085 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 dk-elections https://gateway.pipeworx.io/dk-elections/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 7,969 tools across 2085 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 7,969 across 2085 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). A state we hold no register for (Delaware, 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 (DE, CA, WY...) 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. |
List the Danish national elections and referendums covered: Folketing elections 1979 to 2007 (stored copy of the Danish Election Database) and Folketing, European Parliament elections and referendums 2009 to the latest held (live), each with date, type, geography levels available and where it is served from. European Parliament elections and referendums before 2009, municipal and regional elections are NOT covered. Source: Statistics Denmark.
| Argument | Type | Description |
|---|---|---|
| type | string | Optional filter: folketingsvalg, europa-parlamentsvalg or folkeafstemning. |
{
"type": "object",
"examples": [
{
"type": "folketingsvalg"
}
],
"properties": {
"type": {
"type": "string",
"description": "Optional filter: folketingsvalg, europa-parlamentsvalg or folkeafstemning."
}
}
}One party's vote and seat results across Danish national elections 1979 to the latest (Folketing 1979-2007 from a stored copy, 2009 on live), for the whole country or for one named area at a level the elections share (areas are matched across elections by NAME; boundaries change, so a polling-area match is best effort and flagged; an election lacking the level is listed under skipped with the levels it has). Party by letter (A, V, Ø) or name text (Socialdemokratiet, Liberal Alliance). Defaults to Folketing elections. Seats are null for 1979-2007. Source: Statistics Denmark.
| Argument | Type | Description |
|---|---|---|
| area | string | Unit name or part of it. Required when level is not country. |
| type | string | folketingsvalg (default), europa-parlamentsvalg or folkeafstemning. |
| level | string | Geography level: country, landsdel (3 regions), storkreds (10 multi-member districts; the 2007 election and later), amtskreds (17 stor- og amtskredse, Folketing 1979-2005 only; named from 2001, numbers only before), opstillingskreds (nomination district: 92 from 2007, 103 before), afstemningsomraade (polling-station area, 2009 and later) or valgsted (voting station, Folketing 1979-2007 only). A level an election does not have returns an error naming the levels it does have. Default: country. |
| party* | string | Party letter (A, B, C, F, I, M, O, V, Ø, Å, Æ ...) or part of the party name. Letters were reassigned over time: a letter query returns the party that held it in each election, with its name. |
Results of one Danish national election or referendum by geography level, down to polling-station area (2009 on) or voting station (Folketing 1979-2007): votes, percent and seats per party (or yes/no votes for a referendum), plus eligible voters, turnout and invalid votes. Seats are null for 1979-2007 (not in the source). For landsdel and the constituency level (storkreds, or amtskreds before 2007), omit area to get every unit. For opstillingskreds and the station levels, omit area to list the units and their ids, then call again with area. Source: Statistics Denmark. 1979-2007 responses say served_from stored copy and carry data_as_of; an unknown election returns an explicit not-covered answer.
| Argument | Type | Description |
|---|---|---|
| area | string | Unit name (or part of it) or unit id at that level, e.g. "Københavns Storkreds", "1. Østerbro", "10. Kreds, Bülowsvej", or for 1979-2005 an amtskreds number such as "7". |
| type | string | folketingsvalg, europa-parlamentsvalg or folkeafstemning. Needed when a date has two elections (2009-06-07 and 2014-05-25 each had a European election and a referendum). |
| level | string | Geography level: country, landsdel (3 regions), storkreds (10 multi-member districts; the 2007 election and later), amtskreds (17 stor- og amtskredse, Folketing 1979-2005 only; named from 2001, numbers only before), opstillingskreds (nomination district: 92 from 2007, 103 before), afstemningsomraade (polling-station area, 2009 and later) or valgsted (voting station, Folketing 1979-2007 only). A level an election does not have returns an error naming the levels it does have. Default: country. |
| within | string |
Voter turnout for Danish national elections: eligible voters, votes cast, turnout percent and invalid votes, for the whole country or one named area. Give election for one election; omit it for turnout across all elections of the type (default Folketing) from 1979 (1979-2007 from a stored copy of the Danish Election Database, 2009 on live). Source: Statistics Denmark.
| Argument | Type | Description |
|---|---|---|
| area | string | Unit name or part of it. Required when level is not country. |
| type | string | folketingsvalg (default when election is omitted), europa-parlamentsvalg or folkeafstemning. |
| level | string | Geography level: country, landsdel (3 regions), storkreds (10 multi-member districts; the 2007 election and later), amtskreds (17 stor- og amtskredse, Folketing 1979-2005 only; named from 2001, numbers only before), opstillingskreds (nomination district: 92 from 2007, 103 before), afstemningsomraade (polling-station area, 2009 and later) or valgsted (voting station, Folketing 1979-2007 only). A level an election does not have returns an error naming the levels it does have. Default: country. |
| within | string | Optional parent unit name or id, to disambiguate. |
| election | string | Election date YYYY-MM-DD or year. Omit for all elections of the type. |
{
"type": "object",
"examples": [
{
"type": "folketingsvalg"
}
],
"properties": {
"area": {
"type": "string",
"description": "Unit name or part of it. Required when level is not country."
},
"type": {
"type": "string",
"description": "folketingsvalg (default when election is omitted), europa-parlamentsvalg or folkeafstemning."
},
"level": {
"type": "string",
"description": "Geography level: country, landsdel (3 regions), storkreds (10 multi-member districts; the 2007 election and later), amtskreds (17 stor- og amtskredse, Folketing 1979-2005 only; named from 2001, numbers only before), opstillingskreds (nomination district: 92 from 2007, 103 before), afstemningsomraade (polling-station area, 2009 and later) or valgsted (voting station, Folketing 1979-2007 only). A level an election does not have returns an error naming the levels it does have. Default: country."
},
"within": {
"type": "string",
"description": "Optional parent unit name or id, to disambiguate."
},
"election": {
"type": "string",
"description": "Election date YYYY-MM-DD or year. Omit for all elections of the type."
}
}
}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 3, 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. A state we do not (Delaware, 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. A state we do not (Delaware, 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."
}
}
}| within |
| string |
| Optional parent unit name or id, to disambiguate. |
| from_year | number | Optional first year, 1979 or later. |
{
"type": "object",
"examples": [
{
"area": "Københavns Storkreds",
"level": "storkreds",
"party": "A",
"from_year": 2015
}
],
"required": [
"party"
],
"properties": {
"area": {
"type": "string",
"description": "Unit name or part of it. Required when level is not country."
},
"type": {
"type": "string",
"description": "folketingsvalg (default), europa-parlamentsvalg or folkeafstemning."
},
"level": {
"type": "string",
"description": "Geography level: country, landsdel (3 regions), storkreds (10 multi-member districts; the 2007 election and later), amtskreds (17 stor- og amtskredse, Folketing 1979-2005 only; named from 2001, numbers only before), opstillingskreds (nomination district: 92 from 2007, 103 before), afstemningsomraade (polling-station area, 2009 and later) or valgsted (voting station, Folketing 1979-2007 only). A level an election does not have returns an error naming the levels it does have. Default: country."
},
"party": {
"type": "string",
"description": "Party letter (A, B, C, F, I, M, O, V, Ø, Å, Æ ...) or part of the party name. Letters were reassigned over time: a letter query returns the party that held it in each election, with its name."
},
"within": {
"type": "string",
"description": "Optional parent unit name or id, to disambiguate."
},
"from_year": {
"type": "number",
"description": "Optional first year, 1979 or later."
}
}
}| Optional parent unit name or id, to disambiguate area names that occur under more than one parent. |
| election | string | Election date YYYY-MM-DD, or a year YYYY. Default: the latest election of the given type (latest overall if no type). |
{
"type": "object",
"examples": [
{
"area": "Københavns Storkreds",
"level": "storkreds",
"election": "2026-03-24"
},
{
"level": "amtskreds",
"election": "1990-12-12"
}
],
"properties": {
"area": {
"type": "string",
"description": "Unit name (or part of it) or unit id at that level, e.g. \"Københavns Storkreds\", \"1. Østerbro\", \"10. Kreds, Bülowsvej\", or for 1979-2005 an amtskreds number such as \"7\"."
},
"type": {
"type": "string",
"description": "folketingsvalg, europa-parlamentsvalg or folkeafstemning. Needed when a date has two elections (2009-06-07 and 2014-05-25 each had a European election and a referendum)."
},
"level": {
"type": "string",
"description": "Geography level: country, landsdel (3 regions), storkreds (10 multi-member districts; the 2007 election and later), amtskreds (17 stor- og amtskredse, Folketing 1979-2005 only; named from 2001, numbers only before), opstillingskreds (nomination district: 92 from 2007, 103 before), afstemningsomraade (polling-station area, 2009 and later) or valgsted (voting station, Folketing 1979-2007 only). A level an election does not have returns an error naming the levels it does have. Default: country."
},
"within": {
"type": "string",
"description": "Optional parent unit name or id, to disambiguate area names that occur under more than one parent."
},
"election": {
"type": "string",
"description": "Election date YYYY-MM-DD, or a year YYYY. Default: the latest election of the given type (latest overall if no type)."
}
}
}