Skip to main content
GET
Stock prices

Authorizations

X-API-KEY
string
header
default:pk_live_YOUR_KEY
required

Astreus API key (pk_live_...), created on the Developers page in the terminal. Also accepted as Authorization: Bearer pk_live_....

Path Parameters

id
string
required

Ticker symbol (e.g. NVDA), numeric SEC CIK (zero-padding optional), or the platform key of a non-SEC issuer (e.g. XSAU000001 — the cik field of the company payload). A bare ticker always resolves to the SEC registrant.

Query Parameters

range
enum<string>
default:1Y

Window of bars served: from the range's first day (1M = 31 days back, YTD = 1 January) to the latest bar; ALL is the whole history. rangeFrom echoes the first day; displayFrom is the epoch ms of the first bar inside the range.

Available options:
1M,
3M,
6M,
YTD,
1Y,
2Y,
5Y,
ALL
lookback
integer
default:0

Bars to add before the range's first day, e.g. 200 to draw a 200-day moving average from the first bar. Default 0: only bars inside the range. lookbackBars says how many were added.

Required range: 0 <= x <= 1000

Response

OK

Inferred from captured responses: every field shown was returned by a real call; a field may be absent or null on other calls.

symbol
string
bars
object[]
displayFrom
integer
currency
string
range
string
rangeFrom
string<date>
lookbackBars
integer
coverageFrom
string<date>