---
title: "List Transactions"
method: GET
path: "/tax/transactions/{subaccountId}"
tags: ["Tax"]
---

# List Transactions

`GET /tax/transactions/{subaccountId}`

Permissions required: **Subaccount**


List tax transactions of a subaccount.

## Path parameters

- `subaccountId` string, required

## Query parameters

- `startDate` string, date
- `endDate` string, date

## Response `200`

Successfully returned list of transactions

- TaxTransactionsResponse
  - `data` TaxTransaction[], required
    - `externalId` string — The unique identifier of the transaction in an external system orderID for trades and transactionID for deposits/withdraws
    - `fee` TaxTransactionCostBasis — Details of the transaction cost basis
      - `assetType` string, required — A string representing the asset type of the transaction.
      - `costBasis` string — The cost basis of the transaction.
      - `quantity` string, required — The quantity of the transaction.
    - `feeAsset` TaxTransactionCostBasis[] — The fee of the transaction, currently this is always in USD.
      - `assetType` string, required — A string representing the asset type of the transaction.
      - `costBasis` string — The cost basis of the transaction.
      - `quantity` string, required — The quantity of the transaction.
    - `id` string, required — The unique identifier of the transaction.
    - `received` TaxTransactionCostBasis — Details of the transaction cost basis
      - `assetType` string, required — A string representing the asset type of the transaction.
      - `costBasis` string — The cost basis of the transaction.
      - `quantity` string, required — The quantity of the transaction.
    - `receivedAsset` TaxTransactionCostBasis[] — The received asset of a deposit transaction, or the bought asset of a trade transaction.
      - `assetType` string, required — A string representing the asset type of the transaction.
      - `costBasis` string — The cost basis of the transaction.
      - `quantity` string, required — The quantity of the transaction.
    - `sent` TaxTransactionCostBasis — Details of the transaction cost basis
      - `assetType` string, required — A string representing the asset type of the transaction.
      - `costBasis` string — The cost basis of the transaction.
      - `quantity` string, required — The quantity of the transaction.
    - `sentAsset` TaxTransactionCostBasis[] — The sent asset of a withdraw transaction, or the sold asset of a trade transaction.
      - `assetType` string, required — A string representing the asset type of the transaction.
      - `costBasis` string — The cost basis of the transaction.
      - `quantity` string, required — The quantity of the transaction.
    - `transactionTime` string, date-time, required — ISO-8601 format date time when the transaction occurred.
    - `type` 'DEPOSIT' | 'WITHDRAW' | 'TRADE', required — A string representing the type of the transaction.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden
- `429` — Too Many Requests
- `500` — Internal Server Error
- `501` — Not Implemented Error

---

[API](https://skmtc.net/anchorage/apis/anchorage-digital-api-reference.md) · [All operations](https://skmtc.net/anchorage/apis/anchorage-digital-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anchorage/anchorage-digital-api-reference/versions/166864b1ec6d/schema)
