---
title: "Price history (OHLCV)"
method: GET
path: "/v1/stocks/{symbol}/price"
tags: ["stocks"]
---

# Price history (OHLCV)

`GET /v1/stocks/{symbol}/price`

## Request

- Base URL: `https://api.tapetide.com`
- URL: `https://api.tapetide.com/v1/stocks/{symbol}/price`
- Auth: HTTP bearer

Row-per-day OHLCV: date, open, high, low, close (split/bonus-adjusted), `raw_close` (unadjusted, null where no raw print exists) and volume. `days` sets the lookback window (default 365, max 2000); `interval` is the bar size (daily or weekly). `meta.window` states the window actually served and `next_cursor` gives the `end_date` for the preceding page, so a multi-year series is paged with `end_date` until `has_more` is false.

## Path parameters

- `symbol` string, required

## Query parameters

- `days` integer
- `interval` 'daily' | 'weekly'
- `end_date` string, date

## Response `200`

OK. Costs one request unit.

- Envelope
  - `data` unknown, required
  - `meta` object, required: Paging and window information where the route pages (e.g. `window.next_cursor` on price history).
    - `as_of` string, date-time: When this response was assembled (UTC).
    - `route` string: The operationId that served it.

## Other responses

- `400`: Malformed or out-of-range parameter. Not charged.
- `401`: Missing or invalid bearer token.
- `404`: The symbol, index or document does not exist. Not charged.
- `429`: Per-minute burst cap (`rate_limited`) or plan quota (`quota_exhausted`) reached.
- `502`: A data dependency was unavailable. Not charged.
- `503`: Authentication or quota service temporarily unavailable (`service_unavailable`). Not charged; retry after `Retry-After` seconds.

---

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