Get Portfolio
curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/portfolios/get-portfolio \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"wallet": "suqh5sHtr8HyJ7q8scBimULPkPpA557prMG47xCHQfK"
}
'{
"value": 123,
"tokens": [
{
"token": "<string>",
"balance": 123,
"price": 123,
"value": 123
}
]
}Portfolios
Get Portfolio
Returns the portfolio for a specific wallet.
POST
/
v1
/
solana
/
dex
/
portfolios
/
get-portfolio
Get Portfolio
curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/portfolios/get-portfolio \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"wallet": "suqh5sHtr8HyJ7q8scBimULPkPpA557prMG47xCHQfK"
}
'{
"value": 123,
"tokens": [
{
"token": "<string>",
"balance": 123,
"price": 123,
"value": 123
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.prismapi.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your Prism API key. You can get one for free in the Prism Dashboard.
Body
application/json
Wallet address to retrieve the portfolio for.
Was this page helpful?
⌘I