---
title: "Get historical stock price data"
method: GET
path: "/prices"
tags: ["Market Data"]
---

# Get historical stock price data

`GET /prices`

Get end-of-day (EOD) historical price data for stocks.

## Query parameters

- `ticker` string, required
- `interval` 'day' | 'week' | 'month' | 'year', required
- `start_date` string, date, required
- `end_date` string, date, required

## Response `200`

Price data response

- PricesResponse
  - `ticker` string — The ticker symbol.
  - `prices` Price[]
    - `open` number — The open price of the ticker in the given time period.
    - `close` number — The close price of the ticker in the given time period.
    - `high` number — The high price of the ticker in the given time period.
    - `low` number — The low price of the ticker in the given time period.
    - `volume` integer, nullable — The trading volume of the ticker in the given time period.
    - `time` string — The human-readable time format of the price in UTC.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `402` — The request requires a paid subscription
- `404` — The specified resource was not found

---

[API](https://skmtc.net/financialdatasets/apis/financial-datasets-api.md) · [All operations](https://skmtc.net/financialdatasets/apis/financial-datasets-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/financialdatasets/financial-datasets-api/revisions/df2363101891/schema)
