Portfolios

post/v1/portfolios/{portfolioSlug}/defi-positions/value-history

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}/defi-positions/value-history
  • Auth: API key in header x-api-key

Path parameters

portfolioSlugstring required

Workspace-scoped portfolio slug

Query parameters

chainIdstring required

Wallet chain ID

walletAddressstring required

Wallet address

positionKeystring required

Position key

Request body

includeSpamboolean

Whether spam tokens should be included

Response

cachedThroughstring date nullable required

UTC day in YYYY-MM-DD format

refreshedAtstring date-time nullable required

Refresh timestamp in ISO 8601 format

isStaleboolean required

Whether a background refresh was started

refreshJobIdstring nullable required

Refresh job ID

refreshQueueNamestring nullable required

Refresh job consumer name for status polling

Changes

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