Portfolios

get/v1/portfolios/{portfolioSlug}/assets

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
  • Auth: API key in header x-api-key

Path parameters

portfolioSlugstring required

Workspace-scoped portfolio slug

Query parameters

pageSizeinteger

Requested number of resources to return. Oversized values are clamped to the route limit.

pageTokenstring

Opaque token returned by the previous list response.

asOfDatestring date-time

Optional snapshot timestamp for historical balance reads

showSpamboolean

Whether spam tokens should be included

assetIdsstring[]

Asset IDs as CSV or repeated query values

hasDefiExposureboolean

Whether only assets with DeFi exposure should be included

Response

Changes

No recorded changes to this operation across all 1 revision of this API.