---
title: "Get Chart Data"
method: GET
path: "/api/admin/agent/chart-data"
tags: ["admin"]
---

# Get Chart Data

`GET /api/admin/agent/chart-data`

## Request

- Base URL: `https://marketcrew.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://marketcrew.ai/api/admin/agent/chart-data`
- Auth: HTTP bearer

Return OHLCV price history for a ticker for charting in agent tester.

## Query parameters

- `ticker` string, required
- `days` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/marketcrew/apis/cappilot.md) · [All operations](https://skmtc.dev/marketcrew/apis/cappilot/llms.txt) · [OpenAPI document](https://skmtc.dev/marketcrew/apis/cappilot/revisions/7036e9c74d40?raw)
