POST
/
api
/
v1
/
developer
/
wallet
/
holdings
curl --request POST \
  --url https://api.allium.so/api/v1/developer/wallet/holdings \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '[
  {
    "chain": "<string>",
    "address": "<string>",
    "token_address": "<string>"
  }
]'
{
  "data": {
    "result": {
      "address": "<string>",
      "mint": "<string>",
      "token_symbol": "<string>",
      "pnl": 123,
      "average_cost": 123,
      "current_balance": 123,
      "current_balance_usd": 123,
      "cost_basis": 123
    },
    "address": "<string>",
    "token_address": "<string>",
    "chain": "<string>",
    "error": {
      "message": "<string>"
    }
  },
  "items": [
    {
      "result": {
        "address": "<string>",
        "mint": "<string>",
        "token_symbol": "<string>",
        "pnl": 123,
        "average_cost": 123,
        "current_balance": 123,
        "current_balance_usd": 123,
        "cost_basis": 123
      },
      "address": "<string>",
      "token_address": "<string>",
      "chain": "<string>",
      "error": {
        "message": "<string>"
      }
    }
  ],
  "error": "<string>",
  "cursor": "<string>"
}

This endpoint is still in Beta.

Authorizations

X-API-KEY
string
header
required

Body

application/json · object[]
chain
string
required
address
string
required
token_address
string | null

Response

200
application/json
Successful Response
data
object | null
items
object[] | null
error
string | null
cursor
string | null