GET
/
addresses
/
{address}
/
portfolio
Account and Token Balance - Wallet Portfolio
curl --request GET \
  --url https://api.amberdata.com/blockchains/addresses/{address}/portfolio \
  --header 'x-api-key: <api-key>'
{
  "description": "Successful request",
  "payload": {
    "data": [
      {
        "address": "0xe7804c37c13166ff0b37f5ae0bb07a3aebb6e245",
        "blockchain": "ethereum-mainnet",
        "networkBalance": "0.0482364260664873",
        "networkBalanceBlockNumber": 20544276,
        "networkBalanceRaw": "48236426066487319",
        "tokens": [
          {
            "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
            "balance": "363.8256",
            "balanceRaw": "363825600",
            "blockNumber": 20668075,
            "decimals": 6,
            "name": "Tether USD",
            "symbol": "USDT",
            "timestamp": "2024-09-03T05:51:23Z"
          }
        ]
      }
    ],
    "metadata": {}
  },
  "status": 200,
  "title": "OK"
}

Authorizations

x-api-key
string
header
required

Path Parameters

address
string
default:0xe7804c37c13166fF0b37F5aE0BB07A3aEbb6e245
required

The address to retrieve holdings for

Query Parameters

blockchain
enum<string>
default:polygon-mainnet

[required] The blockchain to retrieve portfolio holdings for

Available options:
ethereum-mainnet,
polygon-mainnet,
bnb-mainnet,
arb-one-mainnet,
bitcoin-mainnet,
litecoin-mainnet,
bitcoin-abc-mainnet,
solana-mainnet
timeFormat
string

Time format of the timestamps in the return payload

Response

200
application/json

200

The response is of type object.