메인 콘텐츠로 건너뛰기
GET
Holdings

인증

Authorization
string
header
필수

OAuth 2.1 for apps that act for a Burokku user: the authorization code grant with PKCE (S256) required of every client. Clients use a Client ID Metadata Document, or register at /oauth/register (at most 20 registrations an hour from one network). Set resource to https://api.burokku.app/v1: a token issued for the MCP server (the default without resource) is refused here with a 401 (invalid-token); a token is for one resource, so authorize once for each and refresh with the same resource (another gets invalid_target). Every grant includes portfolio.read. Authorization server metadata: https://app.burokku.app/.well-known/oauth-authorization-server; this API’s protected resource metadata: https://api.burokku.app/.well-known/oauth-protected-resource/v1. Access tokens last 1 hour; each refresh returns a new refresh token (use the newest), and one unused for 30 days lapses. OAuth errors are JSON, { error, error_description }.

Scopes

portfolio.read

Read balances, positions, activity and alerts. Every grant has it.

쿼리 매개변수

symbol
string

A token symbol, like ETH.

Required string length: 1 - 21
Pattern: ^\$?[A-Za-z0-9.]{1,20}$
account
string

One account, by its name as Burokku shows it (over REST, its id also works). Leave out for every account.

Required string length: 1 - 100
chain
string

One chain, by name or id (Ethereum, base, Solana…).

Required string length: 1 - 40
min_usd
number
기본값:1

Leave out tokens worth less than this, in US dollars (not applied with symbol).

필수 범위: 0 <= x <= 1000000000
limit
integer
기본값:40
필수 범위: 1 <= x <= 100
cursor
string

The next_cursor of the previous page.

Maximum string length: 40
Pattern: ^[A-Za-z0-9_-]+$

응답

OK

total_usd
number
필수

What the tokens matching the filters are worth together.

net_worth_usd
number
필수
tokens
object[]
필수
total_tokens
integer
필수

How many tokens match the filters, across every page.

필수 범위: -9007199254740991 <= x <= 9007199254740991
next_cursor
string | null
필수

Pass as cursor for the next page; null on the last page.

read_at
string<date-time>
필수

When these figures were read (ISO 8601, UTC).

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
refreshing
boolean
필수

True while Burokku reads the accounts again behind this answer; a later call has newer figures.

currency
object
필수
note
string