Skip to main content
POST
curl

Authorizations

X-API-Key
string
header
required

Body

application/json

Request body for stock_prices.

symbol
string
required

Ticker or resolvable symbol.

Required string length: 1 - 24
schema
enum<integer>
default:2

Response schema selector. Omit (or send 2) for the schema-2 envelope, the default; 1 selects the frozen legacy wire. Boolean values are rejected by the API boundary.

Available options:
1,
2
view
enum<string>

Schema 1 defaults to history; schema 2 defaults to the price-only snapshot. Corporate_actions serves per-payment dividends + splits. Quote/action remain deprecated snapshot aliases; technicals returns a 200 recovery redirect to stock_technicals.

Available options:
snapshot,
history,
corporate_actions,
quote,
action,
technicals
range
enum<string>

Range token. Schema 1 accepts 1M/3M/6M/1Y/5Y/max. Schema 2 canonicalizes duration aliases and accepts 1w/1mo/3mo/6mo/ytd/1y/5y/max; applies to view history (default 1y) and corporate_actions (default 5y), never snapshot.

Available options:
1M,
3M,
6M,
1Y,
5Y,
1w,
1mo,
3mo,
6mo,
ytd,
1y,
5y,
max
interval
enum<string>

Schema-2 history resampling interval.

Available options:
1d,
1w,
1mo
bars
boolean
default:true

Schema-2 only when false. Schema 1 always returns bars.

indicators
enum<string>[]

Schema-2 history indicator columns. On the snapshot view this parameter returns a 200 recovery redirect to stock_technicals.

Available options:
sma_50,
sma_200,
ema_12,
ema_26,
rsi_14,
macd_12_26_9,
bollinger_20_2,
atr_14_pct
detail
enum<string>

Schema-2 response detail tier.

Available options:
core,
full,
audit

Response

Get licensed price data. Envelope-level schema; captured examples remain authoritative for full nested payload detail.

Schema-2 envelope. The OpenAPI schema is structural; captured examples are authoritative for full nested payload detail.

data
object
required

Tool payload or typed schema-2 refusal.

meta
object
required

Schema-2 metadata. Unknown optional fields are omitted, not emitted as null.

subject
object

Resolved entity and security when the tool has a single subject.