---
title: "Api Chart Data"
method: GET
path: "/api/chart-data"
---

# Api Chart Data

`GET /api/chart-data`

## 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/chart-data`
- Auth: none declared

Time-series data for the Custom Chart Builder.

## Query parameters

- `ticker` string, nullable: Ticker symbol
- `metrics` string: Comma-separated metric names
- `period` string: Time period: 1Y, 3Y, 5Y, 10Y, 20Y, MAX

## Response `200`

Successful Response

- StockAnalysisResponse: 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.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api.md) · [All operations](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/revisions/e832a1260f0b?raw)
