Skip to main content
GET
/
portfolio
/
{address}
/
stats
Get portfolio stats
curl --request GET \
  --url https://api-testnet.context.markets/v2/portfolio/{address}/stats \
  --header 'Authorization: Bearer <token>'
{
  "currentPortfolioValue": "<string>",
  "currentPortfolioPercentChange": 123
}

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

address
string
required

Ethereum address (0x-prefixed, 40 hex chars)

Response

Portfolio statistics

currentPortfolioValue
string
required
currentPortfolioPercentChange
number
required