> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amberdata.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Account and Token Balance - Wallet Portfolio

> Shows the last known portfolio composition of an address, including native and token holdings.



## OpenAPI

````yaml get /addresses/{address}/portfolio
openapi: 3.1.0
info:
  title: blockchain-api
  version: '2'
servers:
  - url: https://api.amberdata.com/blockchains
security:
  - sec0: []
paths:
  /addresses/{address}/portfolio:
    get:
      summary: Account and Token Balance - Wallet Portfolio
      description: >-
        Shows the last known portfolio composition of an address, including
        native and token holdings.
      operationId: portfolio
      parameters:
        - name: address
          in: path
          description: The address to retrieve holdings for
          schema:
            type: string
            default: '0xe7804c37c13166fF0b37F5aE0BB07A3aEbb6e245'
          required: true
        - name: blockchain
          in: query
          description: '[**required**] The blockchain to retrieve portfolio holdings for'
          schema:
            type: string
            enum:
              - ethereum-mainnet
              - polygon-mainnet
              - bnb-mainnet
              - arb-one-mainnet
              - bitcoin-mainnet
              - litecoin-mainnet
              - bitcoin-abc-mainnet
              - solana-mainnet
            default: polygon-mainnet
        - name: timeFormat
          in: query
          description: Time format of the timestamps in the return payload
          schema:
            type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  description:
                    type: string
                    example: Successful request
                  payload:
                    type: object
                    properties:
                      data:
                        type: array
                        items:
                          type: object
                          properties:
                            address:
                              type: string
                              example: '0xe7804c37c13166ff0b37f5ae0bb07a3aebb6e245'
                            blockchain:
                              type: string
                              example: ethereum-mainnet
                            networkBalance:
                              type: string
                              example: '0.0482364260664873'
                            networkBalanceBlockNumber:
                              type: integer
                              example: 20544276
                              default: 0
                            networkBalanceRaw:
                              type: string
                              example: '48236426066487319'
                            tokens:
                              type: array
                              items:
                                type: object
                                properties:
                                  address:
                                    type: string
                                    example: '0xdac17f958d2ee523a2206206994597c13d831ec7'
                                  balance:
                                    type: string
                                    example: '363.8256'
                                  balanceRaw:
                                    type: string
                                    example: '363825600'
                                  blockNumber:
                                    type: integer
                                    example: 20668075
                                    default: 0
                                  decimals:
                                    type: integer
                                    example: 6
                                    default: 0
                                  name:
                                    type: string
                                    example: Tether USD
                                  symbol:
                                    type: string
                                    example: USDT
                                  timestamp:
                                    type: string
                                    example: '2024-09-03T05:51:23Z'
                      metadata:
                        type: object
                        properties: {}
                  status:
                    type: integer
                    example: 200
                    default: 0
                  title:
                    type: string
                    example: OK
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: |-
                    {
                      "description": "Invalid parameters: invalid address",
                      "status": 400,
                      "title": "Bad Request"
                    }
              schema:
                type: object
                properties:
                  description:
                    type: string
                    example: 'Invalid parameters: invalid address'
                  status:
                    type: integer
                    example: 400
                    default: 0
                  title:
                    type: string
                    example: Bad Request
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````