---
title: "Historical quotes (single symbol)"
method: GET
path: "/v2/stocks/{symbol}/quotes"
tags: ["Stock"]
---

# Historical quotes (single symbol)

`GET /v2/stocks/{symbol}/quotes`

The historical stock quotes API provides quote data for a stock symbol between the specified dates.

## Path parameters

- `symbol` string, required

## Query parameters

- `start` string, date-time
- `end` string, date-time
- `limit` integer
- `asof` string
- `feed` 'iex' | 'otc' | 'sip' | 'boats'
- `currency` string
- `page_token` string
- `sort` 'asc' | 'desc' — Sort data in ascending or descending order.

## Response `200`

OK

- StockQuotesRespSingle
  - `currency` string
  - `next_page_token` string, nullable, required — Pagination token for the next page.
  - `quotes` StockQuote[], required
    - `ap` number, double, required — Ask price. 0 means the security has no active ask.
    - `as` integer, required — Ask size in shares (round lots prior to November 3, 2025).
    - `ax` string, required — Ask exchange. See `v2/stocks/meta/exchanges` for more details.
    - `bp` number, double, required — Bid price. 0 means the security has no active bid.
    - `bs` integer, required — Bid size in shares (round lots prior to November 3, 2025).
    - `bx` string, required — Bid exchange. See `v2/stocks/meta/exchanges` for more details.
    - `c` string[], required — Condition flags. See `v2/stocks/meta/conditions/quote` for more details. If the array contains one flag, it applies to both the bid and ask. If the array contains two flags, the first one applies to the bid and the second one to the ask.
    - `t` string, date-time, required — Timestamp in RFC-3339 format with nanosecond precision.
    - `z` 'A' | 'B' | 'C' | 'N' | 'O', required — - A: New York Stock Exchange - B: NYSE Arca, Bats, IEX and other regional exchanges - C: NASDAQ - N: Overnight - O: OTC
  - `symbol` string, required

## Other responses

- `400` — One of the request parameters is invalid. See the returned message for details.
- `401` — Authentication headers are missing or invalid. Make sure you authenticate your request with a valid API key.
- `403` — The requested resource is forbidden.
- `429` — Too many requests. You hit the rate limit. Use the X-RateLimit-... response headers to make sure you're under the rate limit.
- `500` — Internal server error. We recommend retrying these later. If the issue persists, please contact us on [Slack](https://alpaca.markets/slack) or on the [Community Forum](https://forum.alpaca.markets/).

---

[API](https://skmtc.net/alpacahq/apis/gift-city-extensions-api.md) · [All operations](https://skmtc.net/alpacahq/apis/gift-city-extensions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alpacahq/gift-city-extensions-api/versions/62e3378bb273/schema)
