Skip to content

Fundamentals

oneapi.finance exposes two flavors of fundamentals:

  1. Snapshot metrics at GET /v1/statistics — a single point-in-time row of the most-watched ratios and figures.
  2. Statement-level history (income, balance, cash flow) — coming as GET /v1/financials in a future release. The data model is in the schema today (fundamentals_statements); the endpoint is not yet public.

This page documents both layers.

Snapshot metrics

The fields exposed by /v1/statistics map 1:1 to columns in fundamentals_snapshot. Field-by-field origin and refresh policy:

FieldSourceRefreshNotes
marketCapComputed (price × sharesOutstanding)Per quote pull (~15 min)Always derived, never imported.
enterpriseValueComputed (marketCap + debt - cash)DailyRequires balance-sheet data; null pre-IPO.
trailingPeComputed (price / EPS_TTM)Per quote pullNegative if EPS is negative.
forwardPeAggregated analyst consensusWeeklySparse for non-US small caps.
pegRatioComputedWeeklyUses 5-year forecast growth.
priceToSalesComputedDailyUses TTM revenue.
priceToBookComputedDailyUses most recent book value.
profitMarginIncome statementQuarterly (filing day)TTM net income / TTM revenue.
operatingMarginIncome statementQuarterly (filing day)
roeComputedQuarterlyTTM net income / average equity.
roaComputedQuarterlyTTM net income / average assets.
revenueTtmIncome statementQuarterlyTrailing twelve months.
epsIncome statementQuarterlyDiluted, TTM.
ebitdaIncome statementQuarterlyComputed when not directly reported.
betaComputedWeekly5-year monthly returns vs S&P 500.
fiftyTwoWeekHighTime-seriesDailyWalking 52-week window.
fiftyTwoWeekLowTime-seriesDailyWalking 52-week window.
fiftyDayMaTime-seriesDailySimple moving average of close.
twoHundredDayMaTime-seriesDailySimple moving average of close.
sharesOutstandingFilings + corporate actionsQuarterly + eventAdjusted on each split.
dividendYieldComputed (annualDividend / price)DailyTrailing 12 months.
payoutRatioComputed (annualDividend / EPS)QuarterlyNull when EPS ≤ 0.
exDividendDateDividend feedPer dividend eventMost recent ex-date.

Source priority for US issuers

For US-domiciled issuers, the priority order on each field is:

  1. SEC EDGAR XBRL — authoritative for filed numbers (revenue, net income, shares outstanding, balance-sheet items). Refreshes within ~2 hours of filing acceptance.
  2. Issuer investor-relations page — for figures EDGAR does not structure (analyst consensus, forward P/E).
  3. Stockanalysis.com / yahoo finance — for derived ratios (EBITDA when not reported, beta) and as fallback when EDGAR is silent.

The actual source for each field on each row is recorded in the provenance JSONB column on fundamentals_snapshot in the database, but is not currently surfaced in the API response. Tell us if you want it.

Source priority for non-US issuers

Non-US issuers do not file with EDGAR. We use:

  1. Exchange filings where the exchange offers a structured feed (LSE Regulatory News Service, Euronext NewsRoom).
  2. Stockanalysis.com / yahoo finance, which already aggregate global filings.
  3. Issuer IR pages as a tiebreaker.

Coverage is best for FTSE 100 / DAX / CAC 40 / Nikkei 225 names and degrades roughly with market cap.

Refresh cadence in practice

  • Per-quote-pull fields (marketCap, trailingPe, dividendYield) move with the price. They are recomputed every time we refresh the underlying quote, which on liquid US tickers is roughly every 15 minutes during market hours.
  • Daily fields are recomputed at 02:00 UTC after the previous trading day’s closes are in.
  • Weekly fields are recomputed Saturday 06:00 UTC.
  • Quarterly fields are recomputed within ~2 hours of the issuer’s 10-Q or 10-K filing for US issuers, and within ~24 hours of exchange-filed half-year or full-year reports for non-US issuers.

The meta.fetched_at field on the response tells you the actual freshness for this exact row.

What we do not do

  • We do not provide analyst price targets.
  • We do not provide guidance ranges (we surface them in news but not as fields).
  • We do not provide insider transactions (Form 4) or institutional holdings (13F). Both are roadmap items.
  • We do not provide credit ratings. They are licensed and expensive.

What’s next