Yields
Get yields
Return a chronological list of daily yields for an investor in a specific share class.
⚠️ For displaying an account's activity, prefer the account transaction history endpoint. It returns deposits, withdrawals, transfers and yield accruals as a single time-ordered stream, with cursor pagination, so you don't need to call multiple per-order-type endpoints and reconcile their results.
- from and to parameters are optional
get/v0/yields/history
Request
- Base URLhttps://distributor-api.spiko.io
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
investorIdstring uuid required
a Universally Unique Identifier
accountIdstring uuid
a Universally Unique Identifier
shareClassIdstring uuid required
a Universally Unique Identifier
fromstring
a day formatted as "yyyy-MM-dd"
tostring
a day formatted as "yyyy-MM-dd"
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.