PtData

v3.3.3
io.ptdata/ptdata Checked 1 hour ago Published 8 days ago

Point-in-time US equity fundamentals for quants and AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_index_constituents Get index constituents

S&P 500 (or other index) constituents as understood on `as_of_date` (YYYY-MM-DD), survivorship-free. Point-in-time, with lineage.

ParameterTypeDescription
as_of_date *stringKnowledge date, YYYY-MM-DD. Returns the members as understood on that date, survivorship-free.
index *stringIndex code: SP500, DJIA, DJT, DJU, or NDX.

get_fundamentals Get point-in-time fundamentals

Point-in-time fundamentals for `ticker` as known on `as_of_date` (YYYY-MM-DD). Returns each available metric's value for the fiscal period with source + knowledge time + lineage under `metrics`. Any requested metric with no value appears under `unavailable` with `{reason, code, available_alternatives, docs_url}` instead of being silently dropped. `code` is `not_reported` or `financials_family`. `revenue` keeps the headline tag first filed for that period (including `RevenuesNetOfInterestExpense` for brokers and card issuers) and follows that tag's own restatements. A later tag does not replace…

ParameterTypeDescription
as_of_date *stringKnowledge date, YYYY-MM-DD. Returns the version of each value that was public on that date. Later restatements are excluded.
metrics *arrayMetric names to return. Examples: revenue, cost_of_revenue, gross_profit, operating_income, net_income, eps_diluted, operating_cash_flow, capex, total_assets, total_liabilities, stockholders_equity, c…
ticker *stringIssuer ticker as used by PtData, for example AAPL or GE.
fiscal_periodstringFY, Q1, Q2, Q3, or Q4. Default FY. A missing Q4 income or cash-flow figure may be derived as FY minus the quarters, or as a year-to-date difference, and then includes a derivation object. EPS and shar…
fiscal_yearFiscal year. If omitted, the latest period of the requested fiscal_period known on as_of_date is returned.

get_filing_metadata Get filing metadata

SEC filings for `ticker` available on `as_of_date`, newest first, with amendment linkage.

ParameterTypeDescription
as_of_date *stringKnowledge date, YYYY-MM-DD. Only filings that were already public on that date are returned, newest first, with amendment linkage (amends_accession).
ticker *stringIssuer ticker as used by PtData, for example AAPL.
form_typeExact SEC form type, for example 10-K, 10-Q, 10-Q/A, or 8-K. If omitted the list can be very large. Prefer passing a type.

get_earnings_event Get earnings event

Earnings event: 8-K acceptance timestamp, and as-reported revenue and eps_gaap from the original report. `fiscal_year` and `fiscal_period` are required. `fiscal_period` is FY, or Q1–Q3. A fourth-quarter release is stored as FY. This tool does not take as_of_date.

ParameterTypeDescription
fiscal_period *stringFY, or Q1, Q2, or Q3. A fourth-quarter release is stored as FY. This tool does not take as_of_date.
fiscal_year *integerFiscal year of the earnings event.
ticker *stringIssuer ticker as used by PtData, for example AAPL.