---
title: "GET /v1/portfolios/{portfolioSlug}"
method: GET
path: "/v1/portfolios/{portfolioSlug}"
tags: ["Portfolios"]
---

# GET /v1/portfolios/{portfolioSlug}

`GET /v1/portfolios/{portfolioSlug}`

## Request

- Base URL: `https://api.tokenbooks.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tokenbooks.io/v1/portfolios/{portfolioSlug}`
- Auth: API key in header `x-api-key`

## Path parameters

- `portfolioSlug` string, required

## Response `200`

- PortfolioDetailsResponseDto
  - `slug` string, required: Portfolio slug
  - `name` string, required: Portfolio name
  - `createdAt` string, date-time, required: Creation timestamp (ISO 8601)
  - `updatedAt` string, date-time, required: Last update timestamp (ISO 8601)
  - `currency` string, required: Base currency
  - `accountingConfiguration` object, required: Accounting configuration
    - `gasFeeAccountingTreatment` 'DISPOSAL_AND_COST_BASIS' | 'EXPENSE_ONLY', required
    - `isPurchaseTaxable` boolean, required
    - `costBasisLotMethod` 'FIFO' | 'LIFO' | 'HIFO' | 'ACB', required
    - `baseCurrency` string, required
    - `jurisdictionCode` string, required
    - `stablecoinTreatment` 'BASE' | 'ASSET', required
    - `costBasisPerWallet` boolean, required
    - `defiDepositTreatment` 'TAXABLE_EXCHANGE' | 'NON_TAXABLE_RESERVATION', required
    - `separateIncomeExpenseLines` boolean, required
    - `financialReportingFramework` 'TAX_ONLY' | 'US_GAAP_PRE_2025' | 'US_GAAP_ASC350_60' | 'IFRS_IAS38' | 'IFRS_IAS38_REVAL' | 'IFRS_IAS2_LCNRV' | 'IFRS_IAS2_BROKER_TRADER_FVLCTS' | 'ASPE' | 'FRS_102' | 'AASB_138' | 'OTHER', required
  - `legalEntityType` 'BUSINESS' | 'CORPORATION' | 'INDIVIDUAL' | 'TRUST' | 'PARTNERSHIP' | 'null', nullable, required: Legal entity type, or null when none is configured
  - `reportingTimezone` string, required: Reporting timezone
  - `hasPostedActivity` boolean, required: True when the portfolio has at least one POSTED or CLOSED transaction. Accounting-policy fields that would reinterpret existing entries cannot be changed once this is true, so callers use it to decide which settings to offer.

---

[API](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api.md) · [All operations](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api/revisions/180622e6255e?raw)
