---
title: "market-stock-history (balanced)"
method: POST
path: "/api/v1/market-stock-history"
tags: ["LLM / Multimodal"]
---

# market-stock-history (balanced)

`POST /api/v1/market-stock-history`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/api/v1/market-stock-history`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

Daily end-of-day stock price history (OHLCV bars) by ticker, over a date range. Input: ticker, date_from, date_to, limit. Output: normalized daily bars with source. Read-only research data only — no trading, portfolio, or investment-advice output. Use for: stock research charts, backfilling watchlist history, and screener inputs.

## Query parameters

- `webhook` string
- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## Request body

- MarketStockHistoryRequest: Daily end-of-day stock price history (OHLCV bars) for a US or international ticker, over a date range. Read-only research data — no trading, portfolio, or advice output.
  - `ticker` string, required: Stock ticker symbol, e.g. AAPL.
  - `date_from` string, nullable: Start date, YYYY-MM-DD. Defaults to the provider's own lookback window if omitted.
  - `date_to` string, nullable: End date, YYYY-MM-DD. Defaults to the latest available bar if omitted.
  - `limit` integer
  - `webhook_url` string, uri, nullable
  - `idempotency_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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