Accounts
Get Portfolio
Changed onGet the portfolio of the Account, excluding cash equivalents such as stablecoins.
get/api/v2/accounts/{account_id}/portfolio
Request
- Base URLhttps://api-enterprise.sbt.dinari.com
- AuthAPI key in header X-API-Key-Id and API key in header X-API-Secret-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger nullable
The page number.
page_sizeinteger nullable
The number of stocks to return per page, maximum number is 200.
Response
OK
Changes
- breaking
the
//response's property type changed fromnumbertostring, and format from no format todecimalfor status - warning
added the new
eip155:1329enum value to the//response property for the response status - warning
added the new
eip155:5042enum value to the//response property for the response status - warning
added the new
eip155:56enum value to the//response property for the response status - info
removed the
eip155:81457enum value from the//response property for the response status
- breaking
- warning
added the new
eip155:43114enum value to the//response property for the response status
- warning