returns
Get Trailing Returns
path Parameters
codequery Parameters
marketMarket/exchange code for the fund. Defaults to US — all funds are currently US-listed and code is a bare ticker (e.g. SPY), so this is informational and does not affect lookups. Reserved for future multi-market support.
Market/exchange code for the fund. Defaults to US — all funds are currently US-listed and code is a bare ticker (e.g. SPY), so this is informational and does not affect lookups. Reserved for future multi-market support.
as_ofAs-of date. If it isn't a trading day (weekend/holiday), snaps back to the nearest prior trading day; the response's as_of_date is the actual day returned. Omit for the latest available.
As-of date. If it isn't a trading day (weekend/holiday), snaps back to the nearest prior trading day; the response's as_of_date is the actual day returned. Omit for the latest available.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get Trailing Returns › Responses
Successful Response
codeBare ticker, e.g. SPY.
as_of_datemarketMarket/exchange code. Always US for now.
Batch Trailing Returns
Latest (or ?as_of) trailing returns for up to batch_max_codes funds in one call.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Batch Trailing Returns › Request Body
codesBare tickers, e.g. ['SPY', 'QQQ'].
marketMarket/exchange code for the funds. Defaults to US; informational and does not affect lookups (codes are bare tickers). Reserved for future multi-market support.
As-of date for every fund. Non-trading days snap back to each fund's nearest prior trading day. Omit for each fund's latest.
Batch Trailing Returns › Responses
Successful Response
codeBare ticker, e.g. SPY.
as_of_datemarketMarket/exchange code. Always US for now.
Get Calendar Returns
path Parameters
codequery Parameters
marketMarket/exchange code for the fund. Defaults to US — all funds are currently US-listed and code is a bare ticker (e.g. SPY), so this is informational and does not affect lookups. Reserved for future multi-market support.
Market/exchange code for the fund. Defaults to US — all funds are currently US-listed and code is a bare ticker (e.g. SPY), so this is informational and does not affect lookups. Reserved for future multi-market support.
yearSpecific calendar year. Omit for latest.
Specific calendar year. Omit for latest.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get Calendar Returns › Responses
Successful Response
codeBare ticker, e.g. SPY.
calendar_yearmarketMarket/exchange code. Always US for now.
Batch Calendar Returns
Latest (or ?year) calendar-year return for up to batch_max_codes funds in one call.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Batch Calendar Returns › Request Body
codesBare tickers, e.g. ['SPY', 'QQQ'].
marketMarket/exchange code for the funds. Defaults to US; informational and does not affect lookups (codes are bare tickers). Reserved for future multi-market support.
Return each fund's row for this year. Omit for each fund's latest.
Batch Calendar Returns › Responses
Successful Response
codeBare ticker, e.g. SPY.
calendar_yearmarketMarket/exchange code. Always US for now.