sec_fundamentals_restatements

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_restatements for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
companystringyesTicker, CIK or exact company name.
conceptstringyesStandard concept key, e.g. “revenue”, “net_income”, “total_assets”.
period_endstringnoOptional YYYY-MM-DD: only the reporting period ending on this date.
as_ofstringnoOptional YYYY-MM-DD: ignore versions filed after this date.
include_unrevisedbooleannoAlso list periods whose value never changed. Default false.
limitnumbernoMax periods returned, newest first, 1 to 200. Default 50.

Example call

Arguments

{
  "company": "AAPL",
  "concept": "revenue"
}

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_restatements","arguments":{"company":"AAPL","concept":"revenue"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('sec_fundamentals_restatements', {
  "company": "AAPL",
  "concept": "revenue"
});

Response shape

FieldTypeDescription
companyobject
conceptstring
labelstring
unitstring
as_ofstring
as_of_defaultedboolean
data_as_ofstring
sourcestring
foundboolean
periods_examinednumber
periods_revisednumber
returnednumber
periodsarray
notesarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "company": {
      "type": "object",
      "properties": {
        "cik": {
          "type": "number"
        },
        "name": {
          "type": "string"
        },
        "tickers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": true
    },
    "concept": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "unit": {
      "type": "string"
    },
    "as_of": {
      "type": "string"
    },
    "as_of_defaulted": {
      "type": "boolean"
    },
    "data_as_of": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "periods_examined": {
      "type": "number"
    },
    "periods_revised": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "periods": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "period": {
            "type": [
              "string",
              "null"
            ]
          },
          "duration": {
            "type": "string"
          },
          "start": {
            "type": "string"
          },
          "end": {
            "type": "string"
          },
          "versions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "number"
                },
                "filed": {
                  "type": "string"
                },
                "form": {
                  "type": "string"
                },
                "accession": {
                  "type": "string"
                },
                "tag": {
                  "type": "string"
                },
                "change": {
                  "type": "number"
                },
                "change_pct": {
                  "type": "number"
                }
              },
              "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.

Regenerated from source · build November 23, 2026