---
updatedAt: 2025-11-12T01:01:46.000Z
agentTools:
  projectIndex: https://docs.blockberry.one/llms.txt
---

# getAccountStats

Get key statistics of the queried account: balance in Iota, the total number of owned coin denominations, NFTs, collections, and unclassified objects.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Iota mainnet API",
    "description": "The Iota Blockchain API is used to retrieve Iota Blockchain data. In order to execute queries you need to get API Key and use it in header 'x-api-key'. However, before that you need to sign up on the explorer or company website. If an account is created on the website <strong>https://staketab.com/</strong> or <strong>https://suiscan.xyz/</strong>, the user will be granted the <strong>ROLE_USER</strong> role. After that you may fetch API KEY.",
    "termsOfService": "terms-of-service",
    "contact": {
      "name": "Staketab tech support",
      "url": "https://staketab.com/",
      "email": "support@staketab.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.blockberry.one/iota-testnet",
      "description": "Production"
    }
  ],
  "security": [
    {
      "x-api-key": []
    }
  ],
  "paths": {
    "/v1/accounts/stats/{address}": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "summary": "getAccountStats",
        "description": "Get key statistics of the queried account: balance in Iota, the total number of owned coin denominations, NFTs, collections, and unclassified objects.",
        "operationId": "getAccountStats",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "description": "Queried address digest (hash).",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Queried address digest (hash).",
              "default": "0xe9a3afbd4e8681d370482bd4e1c40961040d0d350d9042d6611f5d2a5e2b97d5"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStatsDtoAPI"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountStatsDtoAPI": {
        "type": "object",
        "properties": {
          "coinsCount": {
            "type": "integer",
            "format": "int32"
          },
          "nftsCount": {
            "type": "integer",
            "format": "int32"
          },
          "othersCount": {
            "type": "integer",
            "format": "int32"
          },
          "collectionsCount": {
            "type": "integer",
            "format": "int32"
          },
          "kiosksCount": {
            "type": "integer",
            "format": "int32"
          },
          "balance": {
            "type": "number"
          }
        }
      }
    },
    "securitySchemes": {
      "x-api-key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```