Api Company Financials

Annual or quarterly financials from local DB.

Pass quarterly=true to query company_financials_quarterly (keyed by fiscal_year + fiscal_quarter) instead of the annual table. The response shape is identical to the annual response but periods will include a fiscal_quarter field.

get/api/company-financials

Request

  • Base URL: https://www.oxfordledge.com (the document declares no server; this is the origin it was published from)
  • URL: https://www.oxfordledge.com/api/company-financials
  • Auth: none declared

Query parameters

tickerstring nullable

Ticker symbol

yearsinteger

Number of fiscal years to return (1-30)

quarterlyboolean

When true, return quarterly periods instead of annual

Response

Successful Response

StockAnalysisResponse required

Loose response_model for /api/fundamentals, /api/segments, /api/exec-comp, /api/sensitivity, /api/proxy, /api/chart-data, and similar analysis routes in routes_analysis_fastapi/stock.py. Multi-shape responses with deeply nested company/financial/chart data; loose contract since the FE consumers are typed via the typed-client wrappers, not directly off these schemas.

Changes

No recorded changes to this operation across all 1 revision of this API.