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

# GET /v1/portfolios/{portfolioSlug}/assets/overview

`GET /v1/portfolios/{portfolioSlug}/assets/overview`

## 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}/assets/overview`
- Auth: API key in header `x-api-key`

## Path parameters

- `portfolioSlug` string, required

## Query parameters

- `asOfDate` string, date-time: Optional snapshot timestamp for historical balance reads
- `showSpam` boolean: Whether spam tokens should be included

## Response `200`

- PortfolioAssetOverviewDto
  - `tokensCount` integer, required: Number of concrete tokens
  - `walletsCount` integer, required: Number of wallets
  - `transferCount` integer, required: Number of transfers
  - `costBasis` string, nullable, required: Sum of the visible asset rows' known cost basis; null when no visible asset has a known cost basis, for example when every one is withheld
  - `unrealizedGainLoss` string, nullable, required: Sum of the visible asset rows' known unrealized gain/loss; null when no visible asset has both a known value and a known cost basis

---

[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/634c5114c75f?raw)
