---
title: "Daily, weekly or monthly closing prices for one company next to the S&P 500 (SPY)"
method: GET
path: "/api/v1/prices/{ticker}"
---

# Daily, weekly or monthly closing prices for one company next to the S&P 500 (SPY)

`GET /api/v1/prices/{ticker}`

## Request

- Base URL: `https://oqro.io`
- URL: `https://oqro.io/api/v1/prices/{ticker}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Daily, weekly or monthly closing prices for one company next to the S&P 500 (SPY). The rows are the points; meta holds the period's change, high, low and drawdown. About two years of history are stored. Not paginated.

## Path parameters

- `ticker` string, required

## Query parameters

- `days` integer
- `interval` string
- `include_sp500` boolean

## Response `200`

JSON: { data, pagination?, meta? }. Every row links its official source.

- object
  - `data` unknown, required
  - `pagination` object
  - `meta` object

## Other responses

- `400`: invalid_parameter
- `401`: missing_api_key or invalid_api_key
- `402`: The key's owner has no OQRO Pro
- `404`: ticker_not_covered
- `429`: rate_limited: 60 requests a minute and 5,000 a day per key

---

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