---
title: "Historical Prices"
method: GET
path: "/api/price/history"
tags: ["Price"]
---

# Historical Prices

`GET /api/price/history`

## Request

- Base URL: `https://api.stockfit.io/v1`
- URL: `https://api.stockfit.io/v1/api/price/history`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/stockfit/apis/stockfit-api/docs/api/price/history/get.ts> (a function with typed inputs; its response is checked against the schema)

![Free](https://img.shields.io/badge/Free-22c55e) ![Starter](https://img.shields.io/badge/Starter-3b82f6) ![Pro](https://img.shields.io/badge/Pro-8b5cf6)

**Data delayed 15 minutes.**

Historical price bars for one symbol at one resolution, returned as compact `[ts_ms, value]` tuples for efficient charting. `value` is the split/dividend-adjusted close by default; pass `adjusted=false` to receive the unadjusted close instead (same tuple shape). The latest bar's full OHLCV detail is also included.

**Resolutions**: `1d` (default), `1wk`, `1mo`.

**History depth per plan**: Free = last 2 years, Starter = last 5 years, Pro = 20 years.

**Delisted listings** are not served. A ticker identifies an instrument only while its listing is active; once delisted the symbol may be reassigned to another registrant, so a selector resolving to a delisted listing returns 400 rather than another company's prices.

## Query parameters

- `symbol` string
- `cik` integer
- `cusip` string
- `composite_figi` string
- `share_class_figi` string
- `resolution` '1d' | '1wk' | '1mo'
- `from` string, date
- `to` string, date
- `adjusted` boolean

## Response `200`

Historical bars + latest quote detail.

- object
  - `cik` number, nullable: SEC CIK of the entity the selector resolved to. Lets callers verify the series belongs to the intended registrant. Null for entities without a CIK.
  - `delayNotice` string: Delay disclosure for this data. Display it alongside the data wherever it is shown.
  - `symbol` string: Uppercase ticker the selector resolved to.
  - `resolution` string
  - `adjustedAsOf` string, date-time, nullable: When the adjusted series was last recomputed. Adjusted values are back-adjusted, so treat this as the snapshot version of the whole series.
  - `data` array[]: Array of `[ts_ms, value]` tuples sorted ascending by ts, `value` per the `adjusted` parameter. Direct-pluggable into Highcharts/Recharts/TradingView lightweight charts. With `adjusted=false`, bars predating our data window carry `null`.
    - number[]
  - `latestQuote` object, nullable: Full OHLCV for the most recent bar. Null if no data is available.
    - `ts` string, date-time
    - `open` number, nullable
    - `high` number, nullable
    - `low` number, nullable
    - `close` number
    - `adjClose` number, nullable
    - `volume` number

## Other responses

- `400`: Invalid parameters or unknown symbol.
- `403`: Feature not available on current plan.

## Changes

- **2026-08-26** `706329fcf23d`: 1 breaking, 3 info
  - the response property `data/items/items/` became nullable for the status `200`
  - added the new optional `query` request parameter `adjusted`
  - added the optional property `adjustedAsOf` to the response with the `200` status
  - added the optional property `delayNotice` to the response with the `200` status
- **2026-08-25** `9d006d00eb48`: 1 warning, 2 info
  - removed the optional property `ticker` from the response with the `200` status
  - added the optional property `cik` to the response with the `200` status
  - added the optional property `symbol` to the response with the `200` status

[Operation history](https://skmtc.dev/stockfit/apis/stockfit-api/changes/api/price/history/get.md)

---

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