v1

latestOpenAPI 3.0.02026-08-04134348905.1 KB
Tax

List summary of Inventory

Permissions required: Subaccount

List user's inventory summary for all assets.

get/tax/inventory/summary/{subaccountId}

Path parameters

subaccountIdstring required

The ID of the subaccount

Query parameters

limitinteger

Number of results

offsetinteger

Offset of the results to start

Response

Successfully returned the inventory summary

Example response

{
  "data": [
    {
      "assetType": "BTC",
      "quantity": "5.5",
      "costBasis": "2500.23"
    },
    {
      "assetType": "BTC",
      "quantity": "53.5",
      "costBasis": "3600.23"
    }
  ]
}